I accidentally sent this from the wrong email address the first time,
not sure if it went through to the list so I'm sending it again (I
apologize if it is a duplicate).

Hi,

I've got an external USB hard drive adapter that apparently have been
going bad, or maybe the drive is going bad, I don't know... It has
died a few times in the last week. During that time I've been burning
DVDs and trying to copy all of the  data off of it, but it choked with
about 130gb remaining and now, after hooking up a new adapter, XFS
won't mount it. :( It's full of pictures and home movies and stuff.
Sadly, this drive was part of my backup strategy. The files were all
consolidated on this disk, where I was sorting and organizing them
into nice DVD-sized chunks. I guess I wasn't fast enough.

When I try to mount, I get the "wrong fs type" message, and dmesg shows this:
XFS: bad version
XFS: SB validate failed

When I try to run xfs_check against it, it segfaults! (!!!)

# xfs_check /dev/sdf1
xfs_check: size check failed
xfs_check: read failed: Invalid argument
xfs_check: data size check failed
cache_node_purge: refcount was 1, not zero (node=0x1fd6c20)
xfs_check: cannot read root inode (22)
cache_node_purge: refcount was 1, not zero (node=0x1fd6d70)
xfs_check: cannot read realtime bitmap inode (22)
/usr/bin/xfs_check: line 28: 30698 Segmentation fault
xfs_db$DBOPTS -i -p xfs_check -c "check$OPTS" $1

xfs_repair exists, but the man page says it can only be used against
clealy unmounted drives... which seems kind of funny. I ran it anyway,
in read-only mode, and it was unable to find the primary superblock
and started scanning the disk for the secondary. I aborted it because
I don't know how much torture this drive can take.

When I run "less -f /dev/sdf1" i can see amongst the bits all of the
names of my directories and files etc... so I am pretty sure the data
is there and readable, but I can't figure out how to get XFS to go
ahead and mount it so I can copy all of that stuff off and swear off
USB hard drive adapters forever. :)

Remember a few days ago when someone on this list posted his XFS
horror story and I said I'd never had a problem with it? Yeah, I put a
curse on myself for sure when I said that. :P

If anyone has any ideas at all about how to go about fixing/mounting
this, I will be forever in your debt. Thanks.

Paul

Reply via email to