Input/output error (5)

I am running dietpi-sync between to hard drives, each hosted on their own Pi. I get this error:

│ failed: Input/output error (5)

On the Pi associated with the corrupt hard drive I run dietpi-drive-manager Check & Repair. With no success or change.

What either option do I have? (I do no see where I can put in an exclude command?)

Thanks in advance!


on the effected device, try to unmound the HDD and run fsck -a /dev/sda[x] while x would need to be replaced with the partition number. You should be able to check for the correct number using lsblk -o name,fstype,label,size,ro,type

Hmm…just gives me

fsck from util-linux 2.33.1

Like really fast.

Can you share full output of fsck -a /dev/sda[x]

Thanks for your help! I decided to just do a rebuild as all data was synced to another Hard Drive.