Well this is not really related to DietPi and it’s version. It seems more your SD card has some issue as you loose SSH connectivity again as well right? Does a couple of reboot fix it again?
Yes, after reboot is fix it again (for few seconds power off every time is working again).
The partition is to small ? My card is 16 GB.
this has nothing to do with the size I would say. Probably your SD card is dying slowly.
Pls can you activate full log mode in dietpi-software. Maybe we will be able to see something next time once you need to reboot.
As well I would recommend to perform a backup. Best would be to use a USB stick as backup location.
pls can you share as well your file systems utilization
df -h
Full log mode has bin activated.
My file system utilisation:
root@DietPi:~# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/root 15G 1.6G 13G 12% /
devtmpfs 455M 0 455M 0% /dev
tmpfs 487M 1.1M 486M 1% /dev/shm
tmpfs 487M 8.7M 479M 2% /run
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 487M 0 487M 0% /sys/fs/cgroup
tmpfs 50M 324K 50M 1% /var/log
tmpfs 486M 0 486M 0% /tmp
/dev/mmcblk0p1 253M 50M 203M 20% /boot
tmpfs 98M 0 98M 0% /run/user/993
tmpfs 98M 0 98M 0% /run/user/0
DietPi has a few backups software. Is there any they can make a full system backup automatically (for example one time on a week) and store on USB stick?
you could use dietpi-backup. But there is no automation feature. You could create a simple script to have it executed once a week.
It*s possible to use some software to check SD Card if it has any bugs ?
you could try to run an initial check
> /forcefsck
reboot
# then after reboot
journalctl -t systemd-fsck
This is what i got:
DietPi v7.2.3 : 08:42 - Thu 09/16/21
─────────────────────────────────────────────────────
- Device model : RPi 2 Model B (armv7l)
- CPU temp : 43'C : 109'F (Optimal temperature)
- LAN IP : 192.168.8.200 (eth0)
curl: (28) Resolving timed out after 3000 milliseconds
─────────────────────────────────────────────────────
DietPi Team : MichaIng (lead), Daniel Knight (founder), Joulinar (support)
Image by : DietPi Core Team (pre-image: Raspberry Pi OS Lite)
Web : https://dietpi.com | https://twitter.com/DietPi_
Patreon Legends : Camry2731
Contribute : https://dietpi.com/contribute.html
DietPi Hosting : Powered by https://myvirtualserver.com
dietpi-launcher : All the DietPi programs in one place.
dietpi-config : Feature rich configuration tool for your device.
dietpi-software : Select optimized software for installation.
htop : Resource monitor.
cpu : Shows CPU information and stats.
root@DietPi:~# journalctl -t systemd-fsck
-- Logs begin at Thu 2021-09-16 08:41:31 CEST, end at Thu 2021-09-16 08:43:03 CEST. --
Sep 16 08:41:31 DietPi systemd-fsck[134]: e2fsck 1.44.5 (15-Dec-2018)
Sep 16 08:41:31 DietPi systemd-fsck[134]: rootfs: clean, 74857/947232 files, 590024/3822976 blocks
Sep 16 08:41:33 DietPi systemd-fsck[193]: fsck.fat 4.1 (2017-01-24)
Sep 16 08:41:33 DietPi systemd-fsck[193]: /dev/mmcblk0p1: 327 files, 102143/516190 clusters
Is this the sd card issue ?
DietPi-Backup
─────────────────────────────────────────────────────
Mode: Backup
[ OK ] DietPi-Backup | mkdir -p /mnt/dietpi-backup
[ OK ] DietPi-Backup | rmdir /mnt/dietpi-backup
[ OK ] DietPi-Backup | mkdir -p /mnt/dietpi-backup/data
[ SUB1 ] DietPi-Services > stop
[ OK ] DietPi-Services | stop : cron
[ OK ] DietPi-Services | stop : netdata
[ OK ] DietPi-Services | stop : roonbridge
[ OK ] DietPi-Services | stop : networkaudiod
[ OK ] DietPi-Services | stop : gmrender
[ OK ] DietPi-Services | stop : squeezelite
[ OK ] DietPi-Services | stop : shairport-sync
[ OK ] DietPi-Services | stop : mpd
[ OK ] DietPi-Services | stop : lighttpd
[ OK ] DietPi-Services | stop : php7.3-fpm
[ OK ] DietPi-Services | stop : mariadb
[ OK ] DietPi-Services | stop : redis-server
[ OK ] DietPi-Services | stop : smbd
[ OK ] DietPi-Services | stop : nmbd
[ OK ] DietPi-Services | stop : avahi-daemon
rsync: readdir("/var/www/nextcloud/apps/files_trashbin/js"): Input/output error (5)
rsync: readdir("/var/www/nextcloud/apps/files_trashbin/l10n"): Input/output error (5)
rsync: readdir("/var/www/nextcloud/apps/files_trashbin/lib"): Input/output error (5)
rsync: readdir("/var/www/nextcloud/apps/files_trashbin/templates"): Input/output error (5)
rsync: readdir("/var/www/nextcloud/apps/files_versions"): Input/output error (5)
rsync: readdir("/var/www/nextcloud/apps/files_videoplayer"): Input/output error (5)
rsync: readdir("/var/www/nextcloud/apps/firstrunwizard"): Input/output error (5)
rsync: readdir("/var/www/nextcloud/apps/logreader"): Input/output error (5)
rsync: readdir("/var/www/nextcloud/apps/lookup_server_connector"): Input/output error (5)
rsync: readdir("/var/www/nextcloud/apps/nextcloud_announcements"): Input/output error (5)
rsync: readdir("/var/www/nextcloud/apps/notifications"): Input/output error (5)
rsync: readdir("/var/www/nextcloud/apps/oauth2"): Input/output error (5)
rsync: readdir("/var/www/nextcloud/apps/password_policy"): Input/output error (5)
rsync: readdir("/var/www/nextcloud/apps/photos"): Input/output error (5)
rsync: readdir("/var/www/nextcloud/apps/privacy"): Input/output error (5)
rsync: readdir("/var/www/nextcloud/apps/provisioning_api"): Input/output error (5)
rsync: readdir("/var/www/nextcloud/apps/recommendations"): Input/output error (5)
rsync: readdir("/var/www/nextcloud/apps/serverinfo"): Input/output error (5)
rsync: readdir("/var/www/nextcloud/apps/settings"): Input/output error (5)
rsync: readdir("/var/www/nextcloud/apps/sharebymail"): Input/output error (5)
rsync: readdir("/var/www/nextcloud/apps/support"): Input/output error (5)
rsync: readdir("/var/www/nextcloud/apps/survey_client"): Input/output error (5)
rsync: readdir("/var/www/nextcloud/apps/systemtags"): Input/output error (5)
rsync: readdir("/var/www/nextcloud/apps/text"): Input/output error (5)
rsync: readdir("/var/www/nextcloud/apps/theming"): Input/output error (5)
rsync: readdir("/var/www/nextcloud/apps/twofactor_backupcodes"): Input/output error (5)
rsync: readdir("/var/www/nextcloud/apps/updatenotification"): Input/output error (5)
rsync: readdir("/var/www/nextcloud/apps/user_ldap"): Input/output error (5)
rsync: readdir("/var/www/nextcloud/apps/user_status"): Input/output error (5)
rsync: readdir("/var/www/nextcloud/apps/viewer"): Input/output error (5)
rsync: readdir("/var/www/nextcloud/apps/weather_status"): Input/output error (5)
rsync: readdir("/var/www/nextcloud/apps/workflowengine"): Input/output error (5)
rsync: readdir("/var/www/nextcloud/core"): Input/output error (5)
rsync: readdir("/var/www/nextcloud/lib"): Input/output error (5)
rsync: readdir("/var/www/nextcloud/ocm-provider"): Input/output error (5)
rsync: readdir("/var/www/nextcloud/ocs-provider"): Input/output error (5)
rsync: readdir("/var/www/nextcloud/ocs"): Input/output error (5)
rsync: readdir("/var/www/nextcloud/resources"): Input/output error (5)
rsync: readdir("/var/www/nextcloud/themes"): Input/output error (5)
rsync: readdir("/var/www/nextcloud/updater"): Input/output error (5)
rsync: readdir("/var/www/ompd"): Input/output error (5)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1207) [sender=3.1.3]
[ OK ] DietPi-Backup | Free space check: path=/mnt/dietpi-backup/data | available=11985 MiB | required=2358 MiB
[ INFO ] DietPi-Backup | Backup to /mnt/dietpi-backup in progress, please wait...
/boot/dietpi/dietpi-backup: line 154: /var/log/dietpi-backup.log: Read-only file system
rsync: failed to open log-file /var/log/dietpi-backup.log: Read-only file system (30)
Ignoring "log file" setting.
sending incremental file list
rsync: failed to set times on "/mnt/dietpi-backup/data/.": Read-only file system (30)
rsync: symlink "/mnt/dietpi-backup/data/bin" -> "usr/bin" failed: Read-only file system (30)
rsync: symlink "/mnt/dietpi-backup/data/lib" -> "usr/lib" failed: Read-only file system (30)
rsync: symlink "/mnt/dietpi-backup/data/sbin" -> "usr/sbin" failed: Read-only file system (30)
rsync: recv_generator: mkdir "/mnt/dietpi-backup/data/boot" failed: Read-only file system (30)
*** Skipping any contents from this failed directory ***
rsync: recv_generator: mkdir "/mnt/dietpi-backup/data/etc" failed: Read-only file system (30)
*** Skipping any contents from this failed directory ***
0 0% 0.00kB/s 0:00:00 (xfr#0, ir-chk=1000/1646)
rsync: readlink_stat("/etc/roonbridge/RoonMono/lib/mono/4.5/System.Runtime.Serialization.dll") failed: Input/output error (5)
rsync: readlink_stat("/etc/roonbridge/RoonMono/lib/mono/4.5/System.Configuration.dll") failed: Input/output error (5)
rsync: readlink_stat("/etc/roonbridge/RoonMono/lib/mono/4.5/System.Core.dll") failed: Input/output error (5)
rsync: readlink_stat("/etc/roonbridge/RoonMono/lib/mono/4.5/System.Security.dll") failed: Input/output error (5)
rsync: readlink_stat("/etc/roonbridge/RoonMono/lib/mono/4.5/System.Net.Http.dll") failed: Input/output error (5)
rsync: readlink_stat("/etc/roonbridge/RoonMono/lib/mono/4.5/System.Net.Http.WebRequest.dll") failed: Input/output error (5)
rsync: readlink_stat("/etc/roonbridge/RoonMono/lib/mono/4.5/CustomMarshalers.dll") failed: Input/output error (5)
rsync: readlink_stat("/etc/roonbridge/RoonMono/lib/mono/4.5/Mono.Security.dll") failed: Input/output error (5)
0 0% 0.00kB/s 0:00:00 (xfr#0, ir-chk=1000/1725)
rsync: readlink_stat("/etc/ssl/certs/D-TRUST_Root_Class_3_CA_2_2009.pem") failed: Input/output error (5)
rsync: readlink_stat("/etc/ssl/certs/OISTE_WISeKey_Global_Root_GC_CA.pem") failed: Input/output error (5)
rsync: readlink_stat("/etc/ssl/certs/Entrust_Root_Certification_Authority_-_EC1.pem") failed: Input/output error (5)
rsync: readlink_stat("/etc/ssl/certs/UCA_Extended_Validation_Root.pem") failed: Input/output error (5)
rsync: readlink_stat("/etc/ssl/certs/Starfield_Services_Root_Certificate_Authority_-_G2.pem") failed: Input/output error (5)
rsync: readlink_stat("/etc/ssl/certs/T-TeleSec_GlobalRoot_Class_2.pem") failed: Input/output error (5)
rsync: readlink_stat("/etc/ssl/certs/TrustCor_RootCert_CA-2.pem") failed: Input/output error (5)
rsync: readlink_stat("/etc/ssl/certs/TeliaSonera_Root_CA_v1.pem") failed: Input/output error (5)
rsync: readlink_stat("/etc/ssl/certs/TUBITAK_Kamu_SM_SSL_Kok_Sertifikasi_-_Surum_1.pem") failed: Input/output error (5)
rsync: readlink_stat("/etc/ssl/certs/IdenTrust_Public_Sector_Root_CA_1.pem") failed: Input/output error (5)
rsync: readlink_stat("/etc/ssl/certs/GeoTrust_Universal_CA_2.pem") failed: Input/output error (5)
rsync: readlink_stat("/etc/ssl/certs/Go_Daddy_Root_Certificate_Authority_-_G2.pem") failed: Input/output error (5)
rsync: readlink_stat("/etc/ssl/certs/Comodo_AAA_Services_root.pem") failed: Input/output error (5)
rsync: readlink_stat("/etc/ssl/certs/DigiCert_Global_Root_G3.pem") failed: Input/output error (5)
rsync: readlink_stat("/etc/ssl/certs/3bde41ac.0") failed: Input/output error (5)
rsync: readlink_stat("/etc/ssl/certs/USERTrust_ECC_Certification_Authority.pem") failed: Input/output error (5)
rsync: readlink_stat("/etc/ssl/certs/Staat_der_Nederlanden_Root_CA_-_G3.pem") failed: Input/output error (5)
rsync: readlink_stat("/etc/ssl/certs/COMODO_RSA_Certification_Authority.pem") failed: Input/output error (5)
rsync: readlink_stat("/etc/ssl/certs/Hellenic_Academic_and_Research_Institutions_RootCA_2011.pem") failed: Input/output error (5)
rsync: readlink_stat("/etc/ssl/certs/Autoridad_de_Certificacion_Firmaprofesional_CIF_A62634068.pem") failed: Input/output error (5)
rsync: readlink_stat("/etc/ssl/certs/DigiCert_High_Assurance_EV_Root_CA.pem") failed: Input/output error (5)
rsync: readlink_stat("/etc/ssl/certs/Buypass_Class_3_Root_CA.pem") failed: Input/output error (5)
rsync: readlink_stat("/etc/ssl/certs/GlobalSign_Root_CA_-_R6.pem") failed: Input/output error (5)
rsync: readlink_stat("/etc/ssl/certs/emSign_ECC_Root_CA_-_G3.pem") failed: Input/output error (5)
rsync: readlink_stat("/etc/ssl/certs/OISTE_WISeKey_Global_Root_GA_CA.pem") failed: Input/output error (5)
rsync: readlink_stat("/etc/ssl/certs/SSL.com_EV_Root_Certification_Authority_ECC.pem") failed: Input/output error (5)
rsync: readlink_stat("/etc/ssl/certs/emSign_ECC_Root_CA_-_C3.pem") failed: Input/output error (5)
rsync: readlink_stat("/etc/ssl/certs/Cybertrust_Global_Root.pem") failed: Input/output error (5)
rsync: readlink_stat("/etc/ssl/certs/Certum_Trusted_Network_CA_2.pem") failed: Input/output error (5)
rsync: readlink_stat("/etc/ssl/certs/Microsec_e-Szigno_Root_CA_2009.pem") failed: Input/output error (5)
rsync: readlink_stat("/etc/ssl/certs/Entrust_Root_Certification_Authority.pem") failed: Input/output error (5)
rsync: readlink_stat("/etc/ssl/certs/Atos_TrustedRoot_2011.pem") failed: Input/output error (5)
rsync: readlink_stat("/etc/ssl/certs/ePKI_Root_Certification_Authority.pem") failed: Input/output error (5)
rsync: readlink_stat("/etc/ssl/certs/SwissSign_Gold_CA_-_G2.pem") failed: Input/output error (5)
rsync: readlink_stat("/etc/ssl/certs/SSL.com_Root_Certification_Authority_ECC.pem") failed: Input/output error (5)
rsync: readlink_stat("/etc/ssl/certs/SwissSign_Silver_CA_-_G2.pem") failed: Input/output error (5)
rsync: readlink_stat("/etc/ssl/certs/Hongkong_Post_Root_CA_1.pem") failed: Input/output error (5)
rsync: readlink_stat("/etc/ssl/certs/GeoTrust_Primary_Certification_Authority_-_G2.pem") failed: Input/output error (5)
rsync: readlink_stat("/etc/ssl/certs/AffirmTrust_Networking.pem") failed: Input/output error (5)
rsync: readlink_stat("/etc/ssl/certs/GlobalSign_ECC_Root_CA_-_R4.pem") failed: Input/output error (5)
rsync: readlink_stat("/etc/ssl/certs/Entrust_Root_Certification_Authority_-_G2.pem") failed: Input/output error (5)
rsync: readlink_stat("/etc/ssl/certs/Entrust_Root_Certification_Authority_-_G4.pem") failed: Input/output error (5)
rsync: readlink_stat("/etc/ssl/certs/LuxTrust_Global_Root_2.pem") failed: Input/output error (5)
rsync: readlink_stat("/etc/ssl/certs/QuoVadis_Root_CA_3_G3.pem") failed: Input/output error (5)
rsync: readlink_stat("/etc/ssl/certs/DigiCert_Assured_ID_Root_CA.pem") failed: Input/output error (5)
rsync: readlink_stat("/etc/ssl/certs/c0ff1f52.0") failed: Input/output error (5)
rsync: readlink_stat("/etc/ssl/certs/DigiCert_Assured_ID_Root_G3.pem") failed: Input/output error (5)
rsync: readlink_stat("/etc/ssl/certs/GlobalSign_Root_CA_-_R2.pem") failed: Input/output error (5)
rsync: readlink_stat("/etc/ssl/certs/Hellenic_Academic_and_Research_Institutions_ECC_RootCA_2015.pem") failed: Input/output error (5)
rsync: readlink_stat("/etc/ssl/certs/7719f463.0") failed: Input/output error (5)
rsync: readlink_stat("/etc/ssl/certs/thawte_Primary_Root_CA_-_G3.pem") failed: Input/output error (5)
rsync: readlink_stat("/etc/ssl/certs/Staat_der_Nederlanden_EV_Root_CA.pem") failed: Input/output error (5)
rsync: readlink_stat("/etc/ssl/certs/GDCA_TrustAUTH_R5_ROOT.pem") failed: Input/output error (5)
rsync: readlink_stat("/etc/ssl/certs/COMODO_ECC_Certification_Authority.pem") failed: Input/output error (5)
rsync: readlink_stat("/etc/ssl/certs/QuoVadis_Root_CA_1_G3.pem") failed: Input/output error (5)
rsync: readlink_stat("/etc/ssl/certs/Certum_Trusted_Network_CA.pem") failed: Input/output error (5)
rsync: readlink_stat("/etc/ssl/certs/Starfield_Root_Certificate_Authority_-_G2.pem") failed: Input/output error (5)
rsync: readlink_stat("/etc/ssl/certs/thawte_Primary_Root_CA_-_G2.pem") failed: Input/output error (5)
rsync: readlink_stat("/etc/ssl/certs/IdenTrust_Commercial_Root_CA_1.pem") failed: Input/output error (5)
rsync: readlink_stat("/etc/ssl/certs/thawte_Primary_Root_CA.pem") failed: Input/output error (5)
rsync: readlink_stat("/etc/ssl/certs/GeoTrust_Primary_Certification_Authority_-_G3.pem") failed: Input/output error (5)
rsync: readlink_stat("/etc/ssl/certs/QuoVadis_Root_CA_2_G3.pem") failed: Input/output error (5)
rsync: readlink_stat("/etc/ssl/certs/DigiCert_Global_Root_G2.pem") failed: Input/output error (5)
rsync: readlink_stat("/etc/ssl/certs/VeriSign_Class_3_Public_Primary_Certification_Authority_-_G4.pem") failed: Input/output error (5)
rsync: readlink_stat("/etc/ssl/certs/Security_Communication_Root_CA.pem") failed: Input/output error (5)
rsync: readlink_stat("/etc/ssl/certs/COMODO_Certification_Authority.pem") failed: Input/output error (5)
rsync: readlink_stat("/etc/ssl/certs/GlobalSign_ECC_Root_CA_-_R5.pem") failed: Input/output error (5)
rsync: readlink_stat("/etc/ssl/certs/Sonera_Class_2_Root_CA.pem") failed: Input/output error (5)
rsync: readlink_stat("/etc/ssl/certs/VeriSign_Class_3_Public_Primary_Certification_Authority_-_G5.pem") failed: Input/output error (5)
rsync: readlink_stat("/etc/ssl/certs/AffirmTrust_Premium_ECC.pem") failed: Input/output error (5)
rsync: readlink_stat("/etc/ssl/certs/b204d74a.0") failed: Input/output error (5)
rsync: readlink_stat("/etc/ssl/certs/Security_Communication_RootCA2.pem") failed: Input/output error (5)
rsync: readlink_stat("/etc/ssl/certs/SSL.com_EV_Root_Certification_Authority_RSA_R2.pem") failed: Input/output error (5)
rsync: readlink_stat("/etc/ssl/certs/SSL.com_Root_Certification_Authority_RSA.pem") failed: Input/output error (5)
rsync: readlink_stat("/etc/ssl/certs/Buypass_Class_2_Root_CA.pem") failed: Input/output error (5)
rsync: readlink_stat("/etc/ssl/certs/USERTrust_RSA_Certification_Authority.pem") failed: Input/output error (5)
rsync: readlink_stat("/etc/ssl/certs/Hellenic_Academic_and_Research_Institutions_RootCA_2015.pem") failed: Input/output error (5)
rsync: readlink_stat("/etc/ssl/certs/7d0b38bd.0") failed: Input/output error (5)
rsync: readlink_stat("/etc/ssl/certs/DigiCert_Trusted_Root_G4.pem") failed: Input/output error (5)
rsync: readlink_stat("/etc/ssl/certs/NetLock_Arany_=Class_Gold=_Főtanúsítvány.pem") failed: Input/output error (5)
rsync: readlink_stat("/etc/ssl/certs/GeoTrust_Primary_Certification_Authority.pem") failed: Input/output error (5)
rsync: readlink_stat("/etc/ssl/certs/Entrust.net_Premium_2048_Secure_Server_CA.pem") failed: Input/output error (5)
rsync: readlink_stat("/etc/ssl/certs/OISTE_WISeKey_Global_Root_GB_CA.pem") failed: Input/output error (5)
rsync: readlink_stat("/etc/ssl/certs/Network_Solutions_Certificate_Authority.pem") failed: Input/output error (5)
rsync: readlink_stat("/etc/ssl/certs/Chambers_of_Commerce_Root_-_2008.pem") failed: Input/output error (5)
rsync: readlink_stat("/etc/ssl/certs/DigiCert_Global_Root_CA.pem") failed: Input/output error (5)
rsync: readlink_stat("/etc/ssl/certs/Staat_der_Nederlanden_Root_CA_-_G2.pem") failed: Input/output error (5)
rsync: readlink_stat("/etc/ssl/certs/D-TRUST_Root_Class_3_CA_2_EV_2009.pem") failed: Input/output error (5)
rsync: readlink_stat("/etc/ssl/certs/Global_Chambersign_Root_-_2008.pem") failed: Input/output error (5)
rsync: readlink_stat("/etc/ssl/certs/GlobalSign_Root_CA_-_R3.pem") failed: Input/output error (5)
rsync: readlink_stat("/etc/ssl/certs/EE_Certification_Centre_Root_CA.pem") failed: Input/output error (5)
rsync: readlink_stat("/etc/ssl/certs/GeoTrust_Universal_CA.pem") failed: Input/output error (5)
rsync: readlink_stat("/etc/ssl/certs/TrustCor_RootCert_CA-1.pem") failed: Input/output error (5)
rsync: readlink_stat("/etc/ssl/certs/AffirmTrust_Commercial.pem") failed: Input/output error (5)
rsync: readlink_stat("/etc/ssl/certs/DigiCert_Assured_ID_Root_G2.pem") failed: Input/output error (5)
rsync: readlink_stat("/etc/ssl/certs/TWCA_Root_Certification_Authority.pem") failed: Input/output error (5)
rsync: readlink_stat("/etc/ssl/certs/Baltimore_CyberTrust_Root.pem") failed: Input/output error (5)
rsync: readlink_stat("/etc/ssl/certs/Hongkong_Post_Root_CA_3.pem") failed: Input/output error (5)
rsync: readlink_stat("/etc/ssl/certs/T-TeleSec_GlobalRoot_Class_3.pem") failed: Input/output error (5)
rsync: readlink_stat("/etc/ssl/certs/Verisign_Class_3_Public_Primary_Certification_Authority_-_G3.pem") failed: Input/output error (5)
rsync: readlink_stat("/etc/ssl/certs/VeriSign_Universal_Root_Certification_Authority.pem") failed: Input/output error (5)
rsync: readlink_stat("/etc/ssl/certs/E-Tugra_Certification_Authority.pem") failed: Input/output error (5)
rsync: readlink_stat("/etc/ssl/certs/Actalis_Authentication_Root_CA.pem") failed: Input/output error (5)
0 0% 0.00kB/s 0:00:00 (xfr#0, ir-chk=1507/3083)
rsync: recv_generator: mkdir "/mnt/dietpi-backup/data/home" failed: Read-only file system (30)
*** Skipping any contents from this failed directory ***
rsync: recv_generator: mkdir "/mnt/dietpi-backup/data/mnt" failed: Read-only file system (30)
*** Skipping any contents from this failed directory ***
rsync: recv_generator: mkdir "/mnt/dietpi-backup/data/opt" failed: Read-only file system (30)
*** Skipping any contents from this failed directory ***
rsync: recv_generator: mkdir "/mnt/dietpi-backup/data/root" failed: Read-only file system (30)
*** Skipping any contents from this failed directory ***
rsync: recv_generator: mkdir "/mnt/dietpi-backup/data/srv" failed: Read-only file system (30)
*** Skipping any contents from this failed directory ***
rsync: recv_generator: mkdir "/mnt/dietpi-backup/data/usr" failed: Read-only file system (30)
*** Skipping any contents from this failed directory ***
0 0% 0.00kB/s 0:00:00 (xfr#0, ir-chk=1057/4271)
rsync: readlink_stat("/usr/lib/arm-linux-gnueabihf/gconv/IBM803.so") failed: Input/output error (5)
rsync: readlink_stat("/usr/lib/arm-linux-gnueabihf/gconv/ISO8859-15.so") failed: Input/output error (5)
rsync: readlink_stat("/usr/lib/arm-linux-gnueabihf/gconv/IBM855.so") failed: Input/output error (5)
rsync: readlink_stat("/usr/lib/arm-linux-gnueabihf/gconv/IBM1097.so") failed: Input/output error (5)
rsync: readlink_stat("/usr/lib/arm-linux-gnueabihf/gconv/IBM933.so") failed: Input/output error (5)
rsync: readlink_stat("/usr/lib/arm-linux-gnueabihf/gconv/IBM500.so") failed: Input/output error (5)
rsync: readlink_stat("/usr/lib/arm-linux-gnueabihf/gconv/IBM284.so") failed: Input/output error (5)
rsync: readlink_stat("/usr/lib/arm-linux-gnueabihf/gconv/ISO646.so") failed: Input/output error (5)
rsync: readlink_stat("/usr/lib/arm-linux-gnueabihf/gconv/IBM864.so") failed: Input/output error (5)
rsync: readlink_stat("/usr/lib/arm-linux-gnueabihf/gconv/IBM943.so") failed: Input/output error (5)
rsync: readlink_stat("/usr/lib/arm-linux-gnueabihf/gconv/IBM1026.so") failed: Input/output error (5)
rsync: readlink_stat("/usr/lib/arm-linux-gnueabihf/gconv/IBM1164.so") failed: Input/output error (5)
rsync: readlink_stat("/usr/lib/arm-linux-gnueabihf/gconv/IBM4899.so") failed: Input/output error (5)
rsync: readlink_stat("/usr/lib/arm-linux-gnueabihf/gconv/CP1257.so") failed: Input/output error (5)
rsync: readlink_stat("/usr/lib/arm-linux-gnueabihf/gconv/IBM939.so") failed: Input/output error (5)
rsync: readlink_stat("/usr/lib/arm-linux-gnueabihf/gconv/IBM937.so") failed: Input/output error (5)
rsync: readlink_stat("/usr/lib/arm-linux-gnueabihf/gconv/CP1253.so") failed: Input/output error (5)
rsync: readlink_stat("/usr/lib/arm-linux-gnueabihf/gconv/IBM1149.so") failed: Input/output error (5)
rsync: readlink_stat("/usr/lib/arm-linux-gnueabihf/gconv/IBM875.so") failed: Input/output error (5)
rsync: readlink_stat("/usr/lib/arm-linux-gnueabihf/gconv/UHC.so") failed: Input/output error (5)
rsync: readlink_stat("/usr/lib/arm-linux-gnueabihf/gconv/IBM1162.so") failed: Input/output error (5)
rsync: readlink_stat("/usr/lib/arm-linux-gnueabihf/gconv/GBGBK.so") failed: Input/output error (5)
rsync: readlink_stat("/usr/lib/arm-linux-gnueabihf/gconv/IBM1154.so") failed: Input/output error (5)
rsync: readlink_stat("/usr/lib/arm-linux-gnueabihf/gconv/LATIN-GREEK-1.so") failed: Input/output error (5)
rsync: readlink_stat("/usr/lib/arm-linux-gnueabihf/gconv/IBM1161.so") failed: Input/output error (5)
rsync: readlink_stat("/usr/lib/arm-linux-gnueabihf/gconv/MIK.so") failed: Input/output error (5)
rsync: readlink_stat("/usr/lib/arm-linux-gnueabihf/gconv/IBM1004.so") failed: Input/output error (5)
rsync: readlink_stat("/usr/lib/arm-linux-gnueabihf/gconv/IBM1141.so") failed: Input/output error (5)
rsync: readlink_stat("/usr/lib/arm-linux-gnueabihf/gconv/ISO-IR-209.so") failed: Input/output error (5)
rsync: readlink_stat("/usr/lib/arm-linux-gnueabihf/gconv/EBCDIC-DK-NO.so") failed: Input/output error (5)
rsync: readlink_stat("/usr/lib/arm-linux-gnueabihf/gconv/IBM857.so") failed: Input/output error (5)
rsync: readlink_stat("/usr/lib/arm-linux-gnueabihf/gconv/GB18030.so") failed: Input/output error (5)
rsync: readlink_stat("/usr/lib/arm-linux-gnueabihf/gconv/ANSI_X3.110.so") failed: Input/output error (5)
rsync: readlink_stat("/usr/lib/arm-linux-gnueabihf/gconv/CP771.so") failed: Input/output error (5)
rsync: readlink_stat("/usr/lib/arm-linux-gnueabihf/gconv/IBM1008.so") failed: Input/output error (5)
rsync: readlink_stat("/usr/lib/arm-linux-gnueabihf/gconv/IBM1163.so") failed: Input/output error (5)
rsync: readlink_stat("/usr/lib/arm-linux-gnueabihf/gconv/IBM866.so") failed: Input/output error (5)
rsync: readlink_stat("/usr/lib/arm-linux-gnueabihf/gconv/UTF-32.so") failed: Input/output error (5)
rsync: readlink_stat("/usr/lib/arm-linux-gnueabihf/gconv/IBM9066.so") failed: Input/output error (5)
rsync: readlink_stat("/usr/lib/arm-linux-gnueabihf/gconv/IBM420.so") failed: Input/output error (5)
rsync: readlink_stat("/usr/lib/arm-linux-gnueabihf/gconv/IBM866NAV.so") failed: Input/output error (5)
rsync: readlink_stat("/usr/lib/arm-linux-gnueabihf/gconv/IBM275.so") failed: Input/output error (5)
rsync: readlink_stat("/usr/lib/arm-linux-gnueabihf/gconv/IBM1025.so") failed: Input/output error (5)
rsync: readlink_stat("/usr/lib/arm-linux-gnueabihf/gconv/EBCDIC-FI-SE-A.so") failed: Input/output error (5)
rsync: readlink_stat("/usr/lib/arm-linux-gnueabihf/gconv/CSN_369103.so") failed: Input/output error (5)
rsync: readlink_stat("/usr/lib/arm-linux-gnueabihf/gconv/EBCDIC-PT.so") failed: Input/output error (5)
rsync: readlink_stat("/usr/lib/arm-linux-gnueabihf/gconv/ISO-2022-JP.so") failed: Input/output error (5)
rsync: readlink_stat("/usr/lib/arm-linux-gnueabihf/gconv/IBM856.so") failed: Input/output error (5)
rsync: readlink_stat("/usr/lib/arm-linux-gnueabihf/gconv/IBM1144.so") failed: Input/output error (5)
rsync: readlink_stat("/usr/lib/arm-linux-gnueabihf/gconv/IBM1143.so") failed: Input/output error (5)
rsync: readlink_stat("/usr/lib/arm-linux-gnueabihf/gconv/IBM918.so") failed: Input/output error (5)
rsync: readlink_stat("/usr/lib/arm-linux-gnueabihf/gio/modules") failed: Input/output error (5)
rsync: readdir("/usr/lib/arm-linux-gnueabihf/glib-2.0"): Input/output error (5)
rsync: readdir("/usr/lib/arm-linux-gnueabihf/gstreamer-1.0"): Input/output error (5)
rsync: readdir("/usr/lib/arm-linux-gnueabihf/gstreamer1.0"): Input/output error (5)
rsync: readdir("/usr/lib/arm-linux-gnueabihf/krb5"): Input/output error (5)
rsync: readlink_stat("/usr/lib/arm-linux-gnueabihf/ldb/modules") failed: Input/output error (5)
rsync: readlink_stat("/usr/lib/arm-linux-gnueabihf/ldb/libldb-key-value.so") failed: Input/output error (5)
rsync: readlink_stat("/usr/lib/arm-linux-gnueabihf/libnfsidmap/umich_ldap.so") failed: Input/output error (5)
rsync: readlink_stat("/usr/lib/arm-linux-gnueabihf/libnfsidmap/static.so") failed: Input/output error (5)
rsync: readlink_stat("/usr/lib/arm-linux-gnueabihf/libnfsidmap/nsswitch.so") failed: Input/output error (5)
rsync: readdir("/usr/lib/arm-linux-gnueabihf/libv4l"): Input/output error (5)
rsync: readdir("/usr/lib/arm-linux-gnueabihf/libv4lconvert0"): Input/output error (5)
rsync: readdir("/usr/lib/arm-linux-gnueabihf/lua"): Input/output error (5)
rsync: readdir("/usr/lib/arm-linux-gnueabihf/mariadb19"): Input/output error (5)
rsync: readdir("/usr/lib/arm-linux-gnueabihf/neon"): Input/output error (5)
rsync: readdir("/usr/lib/arm-linux-gnueabihf/openvpn"): Input/output error (5)
rsync: readdir("/usr/lib/arm-linux-gnueabihf/perl-base"): Input/output error (5)
rsync: readdir("/usr/lib/arm-linux-gnueabihf/perl"): Input/output error (5)
rsync: readdir("/usr/lib/arm-linux-gnueabihf/perl5"): Input/output error (5)
rsync: readdir("/usr/lib/arm-linux-gnueabihf/pulseaudio"): Input/output error (5)
rsync: readdir("/usr/lib/arm-linux-gnueabihf/rsyslog"): Input/output error (5)
rsync: readdir("/usr/lib/arm-linux-gnueabihf/samba"): Input/output error (5)
rsync: readdir("/usr/lib/arm-linux-gnueabihf/sasl2"): Input/output error (5)
rsync: readdir("/usr/lib/arm-linux-gnueabihf/security"): Input/output error (5)
rsync: readdir("/usr/lib/arm-linux-gnueabihf/vdpau"): Input/output error (5)
rsync: readdir("/usr/lib/arm-linux-gnueabihf/xtables"): Input/output error (5)
/boot/dietpi/func/dietpi-globals: line 471: /usr/bin/stty: Input/output error
/boot/dietpi/func/dietpi-globals: line 473: ((: <= 120 : syntax error: operand expected (error token is "<= 120 ")
/boot/dietpi/func/dietpi-globals: line 479: ((: >= 7 : syntax error: operand expected (error token is ">= 7 ")
/boot/dietpi/func/dietpi-globals: line 471: /usr/bin/stty: Input/output error
/boot/dietpi/func/dietpi-globals: line 473: ((: <= 120 : syntax error: operand expected (error token is "<= 120 ")
/boot/dietpi/func/dietpi-globals: line 479: ((: >= 7 : syntax error: operand expected (error token is ">= 7 ")
/boot/dietpi/func/dietpi-globals: line 693: /usr/bin/whiptail: Input/output error
/boot/dietpi/func/dietpi-globals: line 159: /usr/bin/stty: Input/output error
/boot/dietpi/func/dietpi-globals: line 160: ((: i<: syntax error: operand expected (error token is "<")
rsync: readdir("/usr/lib/dpkg"): Input/output error (5)
rsync: readdir("/usr/lib/environment.d"): Input/output error (5)
rsync: readdir("/usr/lib/file"): Input/output error (5)
rsync: readdir("/usr/lib/firmware"): Input/output error (5)
rsync: readdir("/usr/lib/galera"): Input/output error (5)
rsync: readdir("/usr/lib/gcc"): Input/output error (5)
rsync: readdir("/usr/lib/git-core"): Input/output error (5)
rsync: readdir("/usr/lib/glib-networking"): Input/output error (5)
rsync: readdir("/usr/lib/gnupg"): Input/output error (5)
rsync: readdir("/usr/lib/gnupg2"): Input/output error (5)
rsync: readdir("/usr/lib/hdparm"): Input/output error (5)
rsync: readdir("/usr/lib/ifupdown"): Input/output error (5)
rsync: readdir("/usr/lib/init"): Input/output error (5)
rsync: readdir("/usr/lib/kernel"): Input/output error (5)
rsync: readdir("/usr/lib/lighttpd"): Input/output error (5)
rsync: readdir("/usr/lib/locale"): Input/output error (5)
rsync: readdir("/usr/lib/lsb"): Input/output error (5)
rsync: readdir("/usr/lib/mime"): Input/output error (5)
rsync: readdir("/usr/lib/modprobe.d"): Input/output error (5)
rsync: readdir("/usr/lib/modules-load.d"): Input/output error (5)
rsync: readdir("/usr/lib/modules"): Input/output error (5)
rsync: readdir("/usr/lib/netdata"): Input/output error (5)
rsync: readdir("/usr/lib/openssh"): Input/output error (5)
rsync: readdir("/usr/lib/p7zip"): Input/output error (5)
rsync: readdir("/usr/lib/php"): Input/output error (5)
rsync: readdir("/usr/lib/pm-utils"): Input/output error (5)
rsync: readdir("/usr/lib/python2.7"): Input/output error (5)
rsync: readdir("/usr/lib/python3.7"): Input/output error (5)
rsync: readdir("/usr/lib/raspberrypi-sys-mods"): Input/output error (5)
rsync: readdir("/usr/lib/resolvconf"): Input/output error (5)
rsync: readdir("/usr/lib/rsyslog"): Input/output error (5)
rsync: readdir("/usr/lib/sasl2"): Input/output error (5)
rsync: readdir("/usr/lib/ssl"): Input/output error (5)
rsync: readdir("/usr/lib/sudo"): Input/output error (5)
rsync: readdir("/usr/lib/systemd"): Input/output error (5)
rsync: readdir("/usr/lib/sysusers.d"): Input/output error (5)
rsync: readdir("/usr/lib/tc"): Input/output error (5)
rsync: readdir("/usr/lib/terminfo"): Input/output error (5)
rsync: readdir("/usr/lib/tmpfiles.d"): Input/output error (5)
rsync: readdir("/usr/lib/udev"): Input/output error (5)
rsync: readdir("/usr/lib/unbound"): Input/output error (5)
rsync: readdir("/usr/lib/valgrind"): Input/output error (5)
rsync: readdir("/usr/local"): Input/output error (5)
rsync: readdir("/usr/sbin"): Input/output error (5)
rsync: readdir("/usr/share"): Input/output error (5)
rsync: readdir("/usr/src"): Input/output error (5)
rsync: readdir("/var"): Input/output error (5)
0 0% 0.00kB/s 0:00:00 (xfr#0, to-chk=221/4561)
rsync: recv_generator: mkdir "/mnt/dietpi-backup/data/var" failed: Read-only file system (30)
*** Skipping any contents from this failed directory ***
0 0% 0.00kB/s 0:00:00 (xfr#0, to-chk=0/4561)
sent 141,485 bytes received 2,353 bytes 57,535.20 bytes/sec
total size is 1,207,583,834 speedup is 8,395.44
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1207) [sender=3.1.3]
/boot/dietpi/func/dietpi-globals: line 141: /usr/bin/mkdir: Input/output error
[FAILED] DietPi-Services | Failed to create or enter scripts working directory: /tmp/DietPi-Services
[ INFO ] DietPi-Services | Entered users home directory: /root
[ SUB1 ] DietPi-Services > start
/boot/dietpi/func/dietpi-globals: line 258: /usr/bin/stty: Input/output error
/boot/dietpi/func/dietpi-globals: line 258: /usr/bin/tput: Input/output error
/boot/dietpi/func/dietpi-globals: line 259: ( 29 + 5 ) / : syntax error: operand expected (error token is "/ ")
[FAILED] DietPi-Backup: Backup | Exited with error
/boot/dietpi/func/dietpi-globals: line 471: /usr/bin/stty: Input/output error
/boot/dietpi/func/dietpi-globals: line 473: ((: <= 120 : syntax error: operand expected (error token is "<= 120 ")
/boot/dietpi/func/dietpi-globals: line 479: ((: >= 7 : syntax error: operand expected (error token is ">= 7 ")
/boot/dietpi/func/dietpi-globals: line 637: /usr/bin/whiptail: Input/output error
/boot/dietpi/func/dietpi-globals: line 471: /usr/bin/stty: Input/output error
/boot/dietpi/func/dietpi-globals: line 473: ((: <= 120 : syntax error: operand expected (error token is "<= 120 ")
/boot/dietpi/func/dietpi-globals: line 479: ((: >= 7 : syntax error: operand expected (error token is ">= 7 ")
/boot/dietpi/func/dietpi-globals: line 670: /usr/bin/whiptail: Input/output error
/boot/dietpi/func/dietpi-globals: line 159: /usr/bin/stty: Input/output error
/boot/dietpi/func/dietpi-globals: line 160: ((: i<: syntax error: operand expected (error token is "<")
could be an issue of the SD card. Are you able to run a 2nd linux instance? On a VM or another SD card? because to have a deeper check, you would need to have the current SD card not mounted and connected via a USB <> SD card connector separately
I’m not sure if I understand you well.
You ask me to put this SD Card to another Linux Maschine ?
I have AWL (Ubuntu) on my Windows 10 and additional i can install Ubuntu on some VMware.
yes correct it would be needed to to place the SD card into another Linux box
Ok, now problem, please let mi know what i should do when put this sd card to another Linux box ?
one card is placed, don’t mount it
Just check the device name
lsblk -o name,fstype,label,size,ro,type,mountpoint,partuuid,uuid
one we know the device name, I could give you the command to have it checked.
lukas@ubuntu:~$ lsblk -o name,fstype,label,size,ro,type,mountpoint,partuuid,uuid
NAME FSTYPE LABEL SIZE RO TYPE MOUNTPOINT PARTUUID UUID
fd0 1.4M 0 disk
loop0
squash 55.4M 1 loop /snap/core
loop1
squash 65.1M 1 loop /snap/gtk-
loop2
squash 51M 1 loop /snap/snap
loop3
squash 32.3M 1 loop /snap/snap
loop4
squash 219M 1 loop /snap/gnom
sda 15G 0 disk
├─sda1
│ vfat 512M 0 part /boot/efi 392ce3ee-01 0D93-38D7
├─sda2
│ 1K 0 part 392ce3ee-02
└─sda5
ext4 14.5G 0 part / 392ce3ee-05 666abd6b-cb49-4da5-a642-7856ceef633f
sr0 1024M 0 rom
sr1 1024M 0 rom
lukas@ubuntu:~$
root@DESKTOP:~# lsblk -o name,fstype,label,size,ro,type,mountpoint,partuuid,uuid
lsblk: failed to access sysfs directory: /sys/dev/block: No such file or directory
root@DESKTOP:~#
I don’t see the SD card connected to the ubuntu box. Not sure if anything is needed to share USB devices from W10 to ubuntu.
This looks better
lukas@ubuntu:~$ lsblk -o name,fstype,label,size,ro,type,mountpoint,partuuid,uuid
NAME FSTYPE LABEL SIZE RO TYPE MOUNTPOINT PARTUUID UUID
loop0 squashfs 55.4M 1 loop /snap/core18/2128
loop1 squashfs 32.3M 1 loop /snap/snapd/12704
loop2 squashfs 65.1M 1 loop /snap/gtk-common-themes/1515
loop3 squashfs 32.3M 1 loop /snap/snapd/12883
loop4 squashfs 219M 1 loop /snap/gnome-3-34-1804/72
loop5 squashfs 51M 1 loop /snap/snap-store/547
sda 14.9G 0 disk
├─sda1 vfat boot 256M 0 part e8af6eb2-01 DC3E-E470
└─sda2 ext4 rootfs 14.6G 0 part e8af6eb2-02 a7adb26a-8b87-4729-99c8-9f5ac069d51e
sdb 15G 0 disk
├─sdb1 vfat 512M 0 part /boot/efi 392ce3ee-01 0D93-38D7
├─sdb2 1K 0 part 392ce3ee-02
└─sdb5 ext4 14.5G 0 part / 392ce3ee-05 666abd6b-cb49-4da5-a642-7856ceef633f
sr0 1024M 0 rom
lukas@ubuntu:~$
I didn’t read the whole topic but I think the goal is to do an fsck on the RPi SD card, right?
Run:
# First the boot partition
fsck /dev/sda1
# Then the root partition
fsck -f /dev/sda2
MichaIng
would it need to be dosfsck on sda1 as it is vfat patition. Something like this?
dosfsck /dev/sda1
fsck -a /dev/sda2
fsck is a wrapper which automatically appends the detected filesystem type, so calls fsck.vfat, which is a symlink to fsck.fat, like dosfsck is. Means fsck can usually be called for every filesystem, at least on Debian. The dosfstools package of course needs to be installed.
What that’s mean ?
My SD card / RPi ist broken or dietpi missing some software?
PS. On another SD card I have installed new dietpi+PiHole. And YouTube on my Android TV was blocked. With filter should I disable ?