software raid on removable drives for backups

Mike Reinehr cmr
Tue Feb 1 16:05:52 PST 2005


If you're just powering off & on and you have RAID (md) support compiled into 
your kernel, then the RAID devices should be recognized automatically upon 
boot. Format your partitions as RAID partitions & then use mdadm to "build" 
your RAID device. The default is to write a persistant superblock to the RAID 
devices so that they will be recognized and the RAID devices assembled 
automatically. Edit your fstab to include a read-only mount for the RAID 
device. I don't know that it's necessary, but to be safe, you might want 
always to install the drives in the same order, so that the device 
assignments stay the same, e.g., /dev/sda, /dev/sdb. or whatever.

cmr

On Tuesday 01 February 2005 04:12 pm, Jason Joines wrote:
> ???????I guess we'll give it a try. ?We don't need hotplugging (although it
> would be nice) we've just been powering off, inserting the new set, and
> powering back on. ?I just hoped to hear for sure that it works before
> trying it. ?My last weekly backup was just fried and I hadn't copied it
> anywhere (takes a long time to copy 400 GB and hard to find places to
> put it). ?I sure don't want to lose another.
>
> Jason
> ===========

-- 
Debian 'Sarge': Registered Linux User #241964
----
"More laws, less justice." -- Marcus Tullius Ciceroca, 42 BC
--------


More information about the Linux-users mailing list