Input/output error (5) Topic is solved

Having issues with your DietPi installation or found a bug? Post it here.
Post Reply
jonyskids
Posts: 18
Joined: Thu Nov 16, 2017 3:21 pm

Input/output error (5)

Post by jonyskids »

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

readlink_stat("/mnt/Pi2/Media/Media/Movies/some-movie")
│ 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!
User avatar
Joulinar
Posts: 4536
Joined: Sat Nov 16, 2019 12:49 am

Re: Input/output error (5)

Post by Joulinar »

Hi,

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
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
jonyskids
Posts: 18
Joined: Thu Nov 16, 2017 3:21 pm

Re: Input/output error (5)

Post by jonyskids »

Hmm...just gives me

fsck from util-linux 2.33.1

Like really fast.
User avatar
Joulinar
Posts: 4536
Joined: Sat Nov 16, 2019 12:49 am

Re: Input/output error (5)

Post by Joulinar »

Can you share full output of fsck -a /dev/sda[x]
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
jonyskids
Posts: 18
Joined: Thu Nov 16, 2017 3:21 pm

Re: Input/output error (5)

Post by jonyskids »

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