found an MS Data partition, should be ext4
Posted: 20 Aug 2016, 20:14
I have a PROBOX external 4-disk RAID enclosure attached to an Ubuntu 14.04 x86 system in a lab.
It is set up as one large ext4 file system.
The USB cable was inadvertently yanked while in use and now the file system cannot be mounted.
The mount command says wrong fstype, bad superblock, etc. The parted command said that the
primary GPT table was corrupt but the backup was okay, and could not show any partition information.
The gdisk command said the same thing, adding that MBR was protective, BSD and APM not present, GPT damaged.
It recommended disk verification and recovery and showed a single partition of about 2.7 TB which is what we expect.
No partition type or file system type was shown though. I ran 'v' for verify; it reported only the primary GPT table problem.
So I accepted the restoration from backup GPT table, then 'v' again, and verify very quickly said there were no problems.
Wrote the restored GPT to disk and exited.
Now parted can show a partition, but the file system type is not set, and the volume still cannot be mounted.
Using testdisk (at last!), I ran an analysis, and after a day it said "structure ok". It found two partitions, both marked P.
One large one is tagged MS Data, one small one is tagged Mac HFS. Selecting the large one, I could not display any files:
"not supported for this filesystem type".
How can I safely set the filesystem/partition type to ext4? The Linux choices in the partition type submenu are
Linux Raid (sic), Linux Swap, Linux LVM, Linux Reserved.
I read the recent thread titled "Recovering ext4 drive" but the details of that situation seem a bit different from mine.
It is set up as one large ext4 file system.
The USB cable was inadvertently yanked while in use and now the file system cannot be mounted.
The mount command says wrong fstype, bad superblock, etc. The parted command said that the
primary GPT table was corrupt but the backup was okay, and could not show any partition information.
The gdisk command said the same thing, adding that MBR was protective, BSD and APM not present, GPT damaged.
It recommended disk verification and recovery and showed a single partition of about 2.7 TB which is what we expect.
No partition type or file system type was shown though. I ran 'v' for verify; it reported only the primary GPT table problem.
So I accepted the restoration from backup GPT table, then 'v' again, and verify very quickly said there were no problems.
Wrote the restored GPT to disk and exited.
Now parted can show a partition, but the file system type is not set, and the volume still cannot be mounted.
Using testdisk (at last!), I ran an analysis, and after a day it said "structure ok". It found two partitions, both marked P.
One large one is tagged MS Data, one small one is tagged Mac HFS. Selecting the large one, I could not display any files:
"not supported for this filesystem type".
How can I safely set the filesystem/partition type to ext4? The Linux choices in the partition type submenu are
Linux Raid (sic), Linux Swap, Linux LVM, Linux Reserved.
I read the recent thread titled "Recovering ext4 drive" but the details of that situation seem a bit different from mine.