I knew something looked fishy when I looked at this drive and only saw half the volume size I thought was there….
/dev/sdd 240365240 206665208 21490104 91% /media/usb3 dbs@yawl:~$ sudo umount /media/usb3 dbs@yawl:~$ sudo fsck /dev/sdd fsck 1.40.8 (13-Mar-2008) e2fsck 1.40.8 (13-Mar-2008) The filesystem size (according to the superblock) is 61049646 blocks The physical size of the device is 33554431 blocks Either the superblock or the partition table is likely to be corrupt! Abort?
This is the 500gig external USB drive I’ve been carting around. In reality, there’s nothing particularly critical on it, some, er, backed up music files which I’m loathe to part with, but at least it’s not irreplaceable data.
You’ll probably know these tools but just in case you don’t:
PhotoRec and TestDisk can be real life-savers in these kind of situations. Both open-source and work quite nice.
TestDisk for reconstruction your partitioning data and PhotoRec for reconstructing files which it recognizes – MP3’s and Ogg’s included.
The catch with PhotoRec is that the file must not be fragmented to be fully/correctly recovered.
Whichever will be your approach, good luck!