Page 1 of 1

Can't recover Partition "Disk seems too small"

Posted: 05 Apr 2022, 20:25
by Heartblood
Hello,

I had a RAID 6 containing 10 disks each 2TB in size. Due to some hardware failure in a backpanel I lost the RAID 6 configuration. I managed to re-create the RAID 6 with the 10 disks, but my partition was lost. So I tried your tool and it found my partition, but said the disk seems to small and therefore the partition can't be recovered.

Code: Select all

No partition found or selected for recovery
simulate write!
New geometry
Disk /dev/md126 - 16 TB / 14 TiB - CHS 3906766848 2 4 sector_size=512

Analyse Disk /dev/md126 - 16 TB / 14 TiB - CHS 3906766848 2 4
Bad GPT partition, invalid signature.
Trying alternate GPT
Bad GPT partition, invalid signature.
Current partition structure:
Bad GPT partition, invalid signature.
Trying alternate GPT
Bad GPT partition, invalid signature.

search_part()
Disk /dev/md126 - 16 TB / 14 TiB - CHS 3906766848 2 4

recover_EXT2: s_block_group_nr=0/119232, s_mnt_count=3/22, s_blocks_per_group=32768, s_inodes_per_group=8192
recover_EXT2: s_blocksize=4096
recover_EXT2: s_blocks_count 3907025920
recover_EXT2: part_size 1191436288
Filesystem created: Thu Aug 28 09:14:20 2014
Last mount time:    Tue Jan 24 18:55:43 2017
     Linux filesys. data       285694 31256493053 31256207360 [NAS]
     ext4 blocksize=4096 Large_file Sparse_SB Recover, 16 TB / 14 TiB
This partition ends after the disk limits. (start=285694, size=31256207360, end=31256493053, disk end=31254134784)
Search for partition aborted
Disk /dev/md126 - 16 TB / 14 TiB - CHS 3906766848 2 4
Check the harddisk size: HD jumper settings, BIOS detection...
The harddisk (16 TB / 14 TiB) seems too small! (< 16 TB / 14 TiB)
The following partition can't be recovered:
     Linux filesys. data       285694 31256493053 31256207360 [NAS]
     ext4 blocksize=4096 Large_file Sparse_SB Recover, 16 TB / 14 TiB
Right now I'm running a deep scan to see if other partitions are being found.

Is there anything I did wrong or can I do anything to change the size of my RAID 6 so that the partition fits? Do you need any more information? Help is much appreciated.

Re: Can't recover Partition "Disk seems to small"

Posted: 06 Apr 2022, 10:11
by Heartblood
Here are some additional information.
  • the RAID is software RAID created by openmediavault
  • deep search has found the same partition various times with the same result: disk seems too small
Update:
  • I've added an extra disk to the array. It now consists of 11 disks
  • testdisk finds the partition and says it can be recovered
  • testdisk does not show any files, it says file system might be corrupt
Question: Is it safe to restore the partition? After restoring I might use chkdsk to correct the filesystem, right?

Re: Can't recover Partition "Disk seems too small"

Posted: 07 Apr 2022, 19:49
by Heartblood
Unfortunately it did not work. I gave up and cleaned the RAID.