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

Re: RAID1 with only ONE member?



Andy a écrit :
Hello List,

I am building a new backup box and would like to use linux software
RAID-1. But I can only afford to buy one disk right now.

Can I configure a RAID-1 array with only a single member for the time
being, and then add additional member disks at a future date?

Is is simple and safe to add additional members? I have only used the Debian installer to configure the software RAID thus far...

Thanks, Andy




Yes,

You can build your array with the following command

mdadm -Cv /dev/md0 -l1 -n2 /dev/sda1 missing

for example

when you get another drive just partition it, and add the partition to the array with

mdadm /dev/md0 -a /dev/sdb1 for example

Laurent



Reply to: