xfs i/O error

Eric Sandeen sandeen at sandeen.net
Thu Jul 30 14:13:21 CDT 2009


rnb wrote:
> Running Ubuntu 9.04 kernel 2.26.28.14 generic
> Drive mounts fine.
> xfs_repair shows no errors
...

> 
> xfs_check did move a few things around but finished fine

Actually xfs_check never changes anything ;)

> sudo xfs_fsr -v /dev/sdg1 <== This is just so far it is still running.
> /media/Films start inode=0
> ino=140
> bad read of 0 bytes from ino=140: Input/output error

Anything in dmesg when this happens?

...

> Now my issue is how do I fix it if xfs_repair doesn't see a problem.

It must not be a problem on-disk.  At least, hopefully not.  :)

> Anything getting copied to the drive works fine in place wasn't until i
> tried to move it off I noticed the issue. Some things copy fine from it
> several others fail. Then i get Input/output error. It is a full 1tb drive .
> WD mybook it lost power which I think is what caused this issue. How can I
> correct the issue. Everything I try takes a hell of a long time and doesn't
> yield a positive result

Oh, so it's not just fsr that does it?  cp too?

Anyway, look at dmesg when you get the error and see if there are
messages logged from the kernel when this happens.

-Eric




More information about the xfs mailing list