Re: Fwd: Recover RAID5

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

 



Samuel Lopes (samuelblopes@xxxxxxxxx) wrote on Mon, Nov 28, 2022 at 08:33:31PM -03:
> Then I run:
> 
> mdadm -v --create /dev/md5 --level=5 --chunk=512K --metadata=1.2
> --layout=left-symmetric --data-offset=262144s --raid-devices=6
> /dev/sdn1 /dev/sdj1 /dev/sdl1 /dev/sdm1 /dev/sdo1 /dev/sdr1
> --assume-clean
> 
> I'm not sure about the data-offset but that value makes the array size
> match the old --detail output

Well... You'd have to know it exactly. It's strange it's needed, shouldn't be
unless de original command used it. The mdadm versions should also be the same.

You can try to compare the the output of mdadm -E of the disks you know are
good and the new/failed ones to see if there are differences.

Besides this the only suggestion I have is to try different values of
data-offset (starting without this option) to see if any of them makes the
array mountable. Even so the risk of corruption is high, you should fsck.

If you want high reliability the whole installation process is bad, starting
from raid5 use. Next time don't do this way...



[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