I do have a 3TB HDD on my Arch linux for some years now (maybe 2 or 3 years) which is divided in three partitions:
- PTR 1 (EXT4)
- PTR 2 (EXT4)
- PTR 3 (NTFS)
The system itself run outside of this HDD, the partition 1 (PTR 1) was corrupted somehow and I tried to recover the partition, it seems to be badblock at first but I couldn't repair it, so I've tested the TestDisk to re-find the partition.
However in the process I've made a big mistake of not take all attention on the process, by using too many tabs on terminal and accidentally found and saved the partitions however it was not exactly was it suppose to be, then it make the "PTR 2" and "PTR 3" unavailable.
It recognise it as EFI GPT however, it in real is Intel:
Code: Select all
Hint: EFI GPT partition table type has been detected.
But due to the fact that I had the partitions already mounted I still have access to it normally, but if do reboot or umount it, i'll gonna lose the access to the filesystem.
Here the output of df (of these partitions):
Code: Select all
/dev/sdc2 1.2T 937G 165G 86% /run/media/hlechner/PTR2
/dev/sdc3 684G 76G 609G 12% /run/media/hlechner/PTR3
Hitting Ignore:
Hitting ignore again:
As you can see the partitions are different sizes now, and do have two "unallocated" which doesn't have before.
What TestDisk found:
Code: Select all
TestDisk 7.0, Data Recovery Utility, April 2015
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org
Disk /dev/sdc - 3000 GB / 2794 GiB - CHS 364801 255 63
Partition Start End Size in sectors
>* Linux 0 1 1 121575 254 63 1953118377 [PTR1]
P Linux 121602 225 32 275563 200 29 2473381888 [PTR2]
P HPFS - NTFS 275563 200 30 364801 66 1 1433600000
The situation get even odder when I use the deeper search instead of quick one, it "found" even more partitions, but in reality it should found only 3 partitions in total.
So, the important to me now is to repair the two partitions that I had working before (PTR 2 and PTR 3) -- I have access to it due the fact it still mounted on system -- that I probably gonna lose if I reboot the system.
What do you guys recommend me to do to repair it?
Thanks very much!