Re: mdadm -c magic?

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

 



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.

-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
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