readdir("/media/data2/."): Input/output error (5)
so it looks like it can't read the directory on /media/data2. Is that
your backup storage (destination) or data to be backed up?
Do you see any errors in output of dmesg? what does smarctl -a
/dev/xxx (the device that's serving /media/data2) say?
Can you do find /media/data2 without errors?

On Wed, Aug 17, 2022 at 10:46 AM Rich Shepard <rshep...@appl-ecosys.com> wrote:
>
> Yesterday, /media/backup/ was unmounted; most likely inadvertent user error
> (i.e., mine). As a result, last night's backups all failed.
>
> This morning I had root mount /media/backup/ then ran the script normally
> run from root's crontab. All vaults physically on desktop drives were backed
> up, but the two physically on the Mediasonic Probox failed with errors. The
> two vaults are /media/data2/ and /media/data3/. Both vaults throw the same
> error messages; this is the /media/data2/ error message:
>
> From r...@appl-ecosys.com Wed Aug 17 05:36:54 2022
> Date: Wed, 17 Aug 2022 05:36:54 -0700
> From: r...@appl-ecosys.com
> To: rshep...@appl-ecosys.com
> Cc: r...@appl-ecosys.com
> Subject: ### ERR ### - Backup-salmo:/media/data2 (backupserver): Rsync: error 
> Pre: OK, Post: OK
>
> =========================================================================
> ERROR:   salmo:/media/backup/salmo-data2/20220817-0030/tree/..
> =========================================================================
>
> =========================================================================
> Status : Rsync: error Pre: OK, Post: OK
> =========================================================================
> directory: /media/backup/salmo-data2/20220817-0030/tree/..
> Summary (/media/backup/salmo-data2/20220817-0030/tree/../summary):
> =========================================================================
> SUM:  client: salmo
> SUM:  tree: /media/data2
> SUM:  rsh: ssh
> SUM:  Server: salmo
> SUM:  Bank: /media/backup
> SUM:  vault: salmo-data2
> SUM:  branch: default
> SUM:  Image: 20220817-0030
> SUM:  Reference: 20220816-0030
> SUM:  Image-now: 2022-08-17 00:30:00
> SUM:  Expire: +1 month == 2022-09-17 00:30:00
> SUM:  Expire-rule: *    *       *       *       1-6     +1 month
> SUM:  exclude:
> SUM:    - .kde/share/cache/*
> SUM:    - .mozilla/firefox/*.default/Cache/*
> SUM:    - *~
> SUM:    - *.bak
> SUM:    - *.lock
> SUM:    - lost+found
> SUM:  SET permissions devices numeric-ids stats xdev
> SUM:  UNSET checksum init sparse whole-file zxfer
> SUM:
> SUM:
> SUM:  ACTION: rsync -vrltH --delete -pgo -D --numeric-ids --stats -x 
> --exclude-from=/media/backup/salmo-data2/20220817-0030/exclude 
> --link-dest=/media/backup/salmo-data2/20220816-0030/tree /media/data2/ 
> /media/backup/salmo-data2/20220817-0030/tree
> SUM:  Backup-begin: 2022-08-17 05:36:53
>
> =========================================================================
> Rsync-Errors (/media/backup/salmo-data2/20220817-0030/tree/../rsync_error):
> =========================================================================
> RSYNC_ERR:
> RSYNC_ERR:
> RSYNC_ERR:        *** Execution cycle 0 ***
> RSYNC_ERR:
> RSYNC_ERR:        rsync: [sender] readdir("/media/data2/."): Input/output 
> error (5)
> RSYNC_ERR:        rsync error: some files/attrs were not transferred (see 
> previous errors) (code 23) at main.c(1327) [sender=3.2.5]
> RSYNC_ERR:
> RSYNC_ERR:
> RSYNC_ERR:        *** Execution cycle 1 ***
> RSYNC_ERR:
> RSYNC_ERR:        rsync: [sender] readdir("/media/data2/."): Input/output 
> error (5)
> RSYNC_ERR:        rsync error: some files/attrs were not transferred (see 
> previous errors) (code 23) at main.c(1327) [sender=3.2.5]
> RSYNC_ERR:
> RSYNC_ERR:
> RSYNC_ERR:        *** Execution cycle 2 ***
> RSYNC_ERR:
> RSYNC_ERR:        rsync: [sender] readdir("/media/data2/."): Input/output 
> error (5)
> RSYNC_ERR:        rsync error: some files/attrs were not transferred (see 
> previous errors) (code 23) at main.c(1327) [sender=3.2.5]
> RSYNC_ERR:
> RSYNC_ERR:
> RSYNC_ERR:        *** Execution cycle 3 ***
> RSYNC_ERR:
> RSYNC_ERR:        rsync: [sender] readdir("/media/data2/."): Input/output 
> error (5)
> RSYNC_ERR:        rsync error: some files/attrs were not transferred (see 
> previous errors) (code 23) at main.c(1327) [sender=3.2.5]
> RSYNC_ERR:
> RSYNC_ERR:
> RSYNC_ERR:        *** Execution cycle 4 ***
> RSYNC_ERR:
> RSYNC_ERR:        rsync: [sender] readdir("/media/data2/."): Input/output 
> error (5)
> RSYNC_ERR:        rsync error: some files/attrs were not transferred (see 
> previous errors) (code 23) at main.c(1327) [sender=3.2.5]
>
> =========================================================================
> Logfile (/media/backup/salmo-data2/20220817-0030/tree/../log) (head and tail):
> =========================================================================
> LOG:   Pre-Client: echo "PRE_CLIENT_RET_OK - No pre-client installed"
> LOG:   PRE_CLIENT_RET_OK - No pre-client installed
> LOG:
> LOG:
> LOG:
> LOG:   ACTION: rsync -vrltH --delete -pgo -D --numeric-ids --stats -x 
> --exclude-from=/media/backup/salmo-data2/20220817-0030/exclude 
> --link-dest=/media/backup/salmo-data2/20220816-0030/tree /media/data2/ 
> /media/backup/salmo-data2/20220817-0030/tree
> LOG:
> LOG:   sending incremental file list
> LOG:   IO error encountered -- skipping file deletion
> LOG:
> LOG:   Number of files: 1 (dir: 1)
> LOG:   Number of created files: 0
> LOG:   Number of deleted files: 0
> LOG:   Number of regular files transferred: 0
> LOG:   Total file size: 0 bytes
> LOG:   Total transferred file size: 0 bytes
> LOG:   Literal data: 0 bytes
> LOG:   Matched data: 0 bytes
> LOG:   File list size: 0
> LOG:   File list generation time: 0.001 seconds
> LOG:   File list transfer time: 0.000 seconds
> LOG:   Total bytes sent: 47
> LOG:   Total bytes received: 77
> LOG:
> LOG:   sent 47 bytes  received 77 bytes  248.00 bytes/sec
> LOG:   total size is 0  speedup is 0.00
> LOG:
> LOG:   ACTION: rsync -vrltH --delete -pgo -D --numeric-ids --stats -x 
> --exclude-from=/media/backup/salmo-data2/20220817-0030/exclude 
> --link-dest=/media/backup/salmo-data2/20220816-0030/tree /media/data2/ 
> /media/backup/salmo-data2/20220817-0030/tree
> LOG:
> LOG:   sending incremental file list
> LOG:   IO error encountered -- skipping file deletion
> LOG:
> LOG:   Number of files: 1 (dir: 1)
> LOG:   Number of created files: 0
> LOG:   Number of deleted files: 0
> LOG:   Number of regular files transferred: 0
> LOG:   Total file size: 0 bytes
> LOG:   Total transferred file size: 0 bytes
> LOG:   Literal data: 0 bytes
> LOG:   Matched data: 0 bytes
> LOG:   File list size: 0
> LOG:   File list generation time: 0.001 seconds
> LOG:   File list transfer time: 0.000 seconds
> LOG:   Total bytes sent: 40
> LOG:   Total bytes received: 70
> LOG:
> LOG:   sent 40 bytes  received 70 bytes  220.00 bytes/sec
> LOG:   total size is 0  speedup is 0.00
> LOG:
> LOG:   ACTION: rsync -vrltH --delete -pgo -D --numeric-ids --stats -x 
> --exclude-from=/media/backup/salmo-data2/20220817-0030/exclude 
> --link-dest=/media/backup/salmo-data2/20220816-0030/tree /media/data2/ 
> /media/backup/salmo-data2/20220817-0030/tree
> LOG:
> LOG:   sending incremental file list
> LOG:   IO error encountered -- skipping file deletion
> LOG:
> LOG:   Number of files: 1 (dir: 1)
> LOG:   Number of created files: 0
> LOG:   Number of deleted files: 0
> LOG:   Number of regular files transferred: 0
> LOG:   Total file size: 0 bytes
> LOG:   Total transferred file size: 0 bytes
> LOG:   Literal data: 0 bytes
> LOG:   Matched data: 0 bytes
> LOG:   File list size: 0
> LOG:   File list generation time: 0.001 seconds
> LOG:   File list transfer time: 0.000 seconds
> LOG:   Total bytes sent: 40
> LOG:   Total bytes received: 70
> LOG:
> LOG:   sent 40 bytes  received 70 bytes  220.00 bytes/sec
> LOG:   total size is 0  speedup is 0.00
> LOG:
> LOG:   ACTION: rsync -vrltH --delete -pgo -D --numeric-ids --stats -x 
> --exclude-from=/media/backup/salmo-data2/20220817-0030/exclude 
> --link-dest=/media/backup/salmo-data2/20220816-0030/tree /media/data2/ 
> /media/backup/salmo-data2/20220817-0030/tree
> LOG:
> LOG:   sending incremental file list
> LOG:   IO error encountered -- skipping file deletion
> LOG:
> LOG:   Number of files: 1 (dir: 1)
> LOG:   Number of created files: 0
> LOG:   Number of deleted files: 0
> LOG:   Number of regular files transferred: 0
> LOG:   Total file size: 0 bytes
> LOG:   Total transferred file size: 0 bytes
> LOG:   Literal data: 0 bytes
> LOG:   Matched data: 0 bytes
> LOG:   File list size: 0
> LOG:   File list generation time: 0.001 seconds
> LOG:   File list transfer time: 0.000 seconds
> LOG:   Total bytes sent: 40
> LOG:   Total bytes received: 70
> LOG:
> LOG:   sent 40 bytes  received 70 bytes  220.00 bytes/sec
> LOG:   total size is 0  speedup is 0.00
> LOG:
> LOG:   ACTION: rsync -vrltH --delete -pgo -D --numeric-ids --stats -x 
> --exclude-from=/media/backup/salmo-data2/20220817-0030/exclude 
> --link-dest=/media/backup/salmo-data2/20220816-0030/tree /media/data2/ 
> /media/backup/salmo-data2/20220817-0030/tree
> LOG:
> LOG:   sending incremental file list
> LOG:   IO error encountered -- skipping file deletion
> LOG:
> LOG:   Number of files: 1 (dir: 1)
> LOG:   Number of created files: 0
> LOG:   Number of deleted files: 0
> LOG:   Number of regular files transferred: 0
> LOG:   Total file size: 0 bytes
> LOG:   Total transferred file size: 0 bytes
> LOG:   Literal data: 0 bytes
> LOG:   Matched data: 0 bytes
> LOG:   File list size: 0
> LOG:   File list generation time: 0.001 seconds
> LOG:   File list transfer time: 0.000 seconds
> LOG:   Total bytes sent: 40
> LOG:   Total bytes received: 70
> LOG:
> LOG:   sent 40 bytes  received 70 bytes  220.00 bytes/sec
> LOG:   total size is 0  speedup is 0.00
> LOG:
> LOG:
> LOG:   Post-Client: echo "POST_CLIENT_RET_OK - No post-client installed"
> LOG:   POST_CLIENT_RET_OK - No post-client installed
> LOG:
> LOG:
> LOG:   Post-Server: /etc/dirvish/dirvish_mail
>
> Slackware upgraded rsync to version 3.2.5 this past Monday, but there were
> no rsync errors for the other vaults.
>
> Plesase explain this error to me and teach me how to fix it.
>
> Regards,
>
> Rich
>
> _______________________________________________
> dirvish mailing list
> dirvish@lists.dirvish.org
> https://lists.dirvish.org/listinfo/dirvish

_______________________________________________
dirvish mailing list
dirvish@lists.dirvish.org
https://lists.dirvish.org/listinfo/dirvish

Reply via email to