Re: assemble broken raid5

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

 



On 12/12/18 2:48 PM, Alex Sommer wrote:
> 
> Hello,

[trim /]

> my idea is now to do:
> mdadm --create --assume-clean --level=5 --raid-devices=5 /dev/md2 /dev/sdk1 /dev/sdj1 /dev/sdm1 /dev/sdl1 /dev/sdi1

NO!

> but all says it is better to ask here before do this. 

Because in many cases it destroys your data.

I recommend:

1) Show/look at the output of "cat /proc/mdstat"

2) If your arrays shows up there as partially assembled, use mdadm
--stop to release the drives.

3) retry "mdadm --assemble --force --verbose /dev/md2 /dev/sd[ijklm]1"

4) If that fails, show the output, then

5) mdadm --stop again, then retry the assemble leaving out the "m", like so:

mdadm --assemble --force --verbose /dev/md2 /dev/sd[ijkl]1

And report its output.

Phil



[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