Re: Recover array after I panicked

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Apr 24, 2017 at 02:13:24PM +0200, Patrik Dahlström wrote:
> I'm afraid it doesn't say that.

You said you found an ext header in the raw data.

If that exists then only thing I can think of is that you ended 
up picking the wrong offset (or disk order) after all.

> I do know that both raids contains only zeros for
> many MB before any data appears.

This could be normal for the 5disk array since that part already 
reshaped and the offset changed and there just could happen to 
be zeroes somewhere in the beginning of a filesystem after the 
first block of metadata.

Basically the 5disk array is supposed to have bogus data at 
the start in your case. But it should turn into valid data 
at whatever point the reshape did not yet reach.

This bogus data makes it hard to determine the correct offset 
but according to the output you showed before the offset should 
be 128M here.

For the 6disk array you should see valid data (starting with 
the filesystem header) for however far the reshape was already done.
Depending on how the filesystem works you might even be able to 
mount it but everything that is located behind the progress point 
would appear corrupted.

Again if one of the disks actually was kicked from the array 
while the grow was going on, you should leave that disk out as missing 
as otherwise it will just appear as wrong data in both arrays.

Regards
Andreas Klauer
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux