The hard drive is a recent (bought about six months ago) 3TB Toshiba DT01ABA300.
The nas was installed with Ubuntu 14.04, using no special options at all, especially not for formatting and partitionning.
Therefore, there are but three partitions : one which I suppose is the boot partition, a main partition taking almost all the drive, and a small swap.
Testdisk's [ Analyse ] finds a "MS Data" partition, which is the first thing I don't understand; does it mean "Microsoft Data"? Why would Ubuntu format anything in a Microsoft format?
If I go on with this analysis, I can list all the partition's folders, and have tried copying over some files to see if anything was broken, and no tested file was.
Before that, I tried [ Advanced ] on my own, where I chose MBR, then ext4. I could list everything without problems there either. That is my second question - is the correct type "MBR", or "MS Data"? Why does it list everything correctly when I assumed two different things, and it must be one or the other, not both, musn't it?
Lastly, and most importantly, even though all the data is there, clearly listable and copiable by name, the drive doesn't mount, and trying
which I found on this forum, gives me this for each backup superblock :
Code: Select all
for i in $(grep e2fsck testdisk.log | uniq | cut -d " " -f4); do sudo e2fsck -b $i -B 4096 /dev/sdc1; done
Since the data is there, listable and identifiable by name, it is more than probable that the partition can be saved, and before I do something stupid that would force me to use photorec, I'd appreciate it very much if someone who has saved more drives than me in their time could point me in the right direction.e2fsck 1.42.9 (4-Feb-2014)
e2fsck: Invalid argument while trying to open /dev/sdc1
The superblock could not be read or does not describe a valid ext2/ext3/ext4
filesystem. If the device is valid and it really contains an ext2/ext3/ext4
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>
e2fsck -b 32768 <device>
Thanks for reading,
PS : another drive, got the click of death on the same electrical incident. Is it worth trying it with testdisk, or will that just be a waste of time?