Mathieu GOMBAULT wrote:
here are all the logs I made:
qwerty@Pegasus:~$;-) sudo xfs_repair -v /dev/hdd1
Looks like xfs_repair found nothing wrong...
qwerty@Pegasus:~$;-) cat /proc/partitions
major minor #blocks name
22 64 160086528 hdd
22 65 159993460 hdd1
A little odd that hdd1 is smaller than hdd?
qwerty@Pegasus:~$;-)sudo strace -omount.trace mount -t xfs /dev/hdd1 /mnt
mount: /dev/hdd1: can't read superblock
qwerty@Pegasus:~$;-) sudo mount -t xfs /dev/hdd1 /mnt/
mount: /dev/hdd1: can't read superblock
qwerty@Pegasus:~$;-) dmesg | tail
I/O error in filesystem ("hdd1") meta-data dev hdd1 block
0x1314ff7f ("xfs_read_buf") error 5 buf count 512
XFS: size check 2 failed
attempt to access beyond end of device
size check 2 tries to read the last block on the disk. It's saying it
cant' read block 0x1314ff74 which is block 320143231 (in 512b blocks, or
160071615 in 1k blocks - which is past the end of hdd1 but still on hdd)
I'd either remove the size check 2 and rebuild xfs, then mount read-only
and copy the data somewhere safe.... or if you're feeling brave, extend
hdd1 to the end of your disk using your favorite partition editor.
not sure how this happened...
-Eric
|