Re: Creating degraded more arrays with mdadm?

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

 



On Sat, 14 Dec 2002, Ross Vandegrift wrote:

> 	I'm trying to convert to using mdadm for everything, but I
> couldn't really figure out how to do this.  I thought I figured it out
> with
>
> # mdadm --create /dev/md0 --level=1 --raid-disks=1 /dev/hde2
> ... copy data
> # mdadm --add /dev/md0 /dev/hdg2
>

Use the missing keyword in place of the device name:

# mdadm --create /dev/md0 --level=1 --raid-disks=2 /dev/hde2 missing

That should leave you with a 2-disk mirror with only /dev/hde2 as a
member.

--
Derek Vadala, derek@cynicism.com, http://www.cynicism.com/~derek

-
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