After problems with mount I run e2fsck -y -b BLOCK /dev/sda
and it was running for 3 days on 6TB raid 0, when it completed this was the output:
/dev/sda: ***** FILE SYSTEM WAS MODIFIED *****
/dev/sda: ********** WARNING: Filesystem still has errors **********
/dev/sda: 1529942/122060800 files (7.5% non-contiguous), 9080905/488243200 blocks
So I mounted this virtual drive and it shows now: Total 1.8TiB, Free 1.8TiB, looks like it shows the space that left on my virtual disk before filesystem ext4 crashed. None of harddisks crashed, only filesystem was corrupted. I did not have disk partitioned, only one single virtual disk.
Any way that I could restore files somehow?
e2fsck
, HDAT, or a commercial too such as Spinrite. – slm Feb 06 '14 at 14:44e2fsck
on one of the three volumes of your RAID array, instead of the array. What is your RAID setup? (Hardware, fakeraid or mdraid? What doesmdadm -D /dev/md0
say (or whatever is the right number)?) – Gilles 'SO- stop being evil' Feb 06 '14 at 23:04blockdev --getsize64 /dev/sda
)? If it's only 2T instead of 6T then you have the wrong disk in the first place and no way to get at the missing 4T...e2fsck -y
is almost never a good idea, not without snapshot/backup. :( But if it's RAID0 you expected complete failure anyway, right? – frostschutz Feb 08 '14 at 07:57blockdev --getsize64 /dev/sda
showed me5999532441600
. No, I was not expecting complete failure, HDDs are working, It was like 2 weeks to move to RAID 6 and wrong system restart happened, then ran e2fsck and it showed me only 1/3... – Wiggler Jtag Feb 08 '14 at 10:42