After a series of powercuts, my Linkstation Live LSCH500 wasn't happy - I couldn't access it over the network at all.
I've taken the drive out, and placed it into a USB caddy. Now when trying to access it using Linux (actually a Raspberry Pi), I'm able to see a number of partitions. I can mount /dev/sda6, which appears to the the 'big' partition close to 492GB, in XFS.
But there appears to be nothing in this partition other than some empty directories
If I run fdisk -l /dev/sda6 I get this output with an error message about a missing partition table:
sudo fdisk -l /dev/sda6
Disk /dev/sda6: 492.0 GB, 492011541504 bytes
255 heads, 63 sectors/track, 59816 cylinders, total 960960042 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/sda6 doesn't contain a valid partition table
I've also tried xfs_check, but that doesn't report any issues. dumpe2fs suggests there is a bad magic number in the superblock:
dumpe2fs /dev/sda6 | grep superblock
dumpe2fs 1.42.5 (29-Jul-2012)
dumpe2fs: Bad magic number in super-block while trying to open /dev/sda6
Couldn't find valid filesystem superblock.
Anyone got any ideas on how I can retrieve the files? There should be hundreds of GB of files on there somewhere.
I've looked at fix_ext2_magic http://buffalo.nas-central.org/wiki/Fix_ext2_magic
but it says not to run this on LS-live... can anyone suggest whether that might help?