Re: mdadm -c magic?

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

 




Bingo.  Thank you very much.


Thus spake Derek Vadala (derek@vadala.com):

> On Thu, 20 Feb 2003, Robert L. Harris wrote:
> 
> > Is it possible to have mdadm make the array and just leave the one spot
> > open anyway?  I tried a few options:
> >
> > root@legato-disk5.acs:~# mdadm -C -c 128  -l 5 -p left-asymmetric -n 4 -x 0=
> >  /dev/md3 /dev/sdm1 /dev/sdn1 /dev/sdo1 /dev/sdp1
> > [snip]
> > mdadm: create aborted
> > root@legato-disk5.acs:~# mdadm -C -c 128  -l 5 -p left-asymmetric -n 4 -x 0=
> >  /dev/md3 /dev/sdm1 /dev/sdn1 /dev/sdo1
> > mdadm: You haven't given enough devices (real or missing) to create this ar=
> > ray
> 
> Try using the keyword 'missing' in place of a real disk or partition:
> 
> # mdadm -C /dev/md3 -c 128 -l 5 -n 4 /dev/sdm1 /dev/sdn1 /dev/sdo1 missing
> 
> That should give you a 3-disk RAID-5 in degraded mode. I think that's what
> you want. Add the fourth disk when it shows up and the array will
> resync.

:wq!
---------------------------------------------------------------------------
Robert L. Harris                     | PGP Key ID: E344DA3B
                                         @ x-hkp://pgp.mit.edu 
DISCLAIMER:
      These are MY OPINIONS ALONE.  I speak for no-one else.
FYI:
 perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);'

Attachment: pgp00023.pgp
Description: PGP signature


[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