musical chairs

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

 



hello, 

i have a disk with data on it /dev/hdc, 
    and a brand new empty disk /dev/hdb. 

want to set up raid 1 without moving data off hdc. 
    it very large and i have no where to put it

will this work?: (notice # of devices)

mdadm --create --verbose /dev/md0 --level=1 
        --raid-devices=1  /dev/hdb

will this create an unmirrored raid 1 setup? 
    can i start and mount md0?
    then copy the data from hdb to md0?

then?:

mdadm /dev/md0 --add /dev/hdc


seems too good to be true, 
    maybe you know another way?

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