setup_storage: one disk_config for raid1 and degraded raid1

Andreas Schockenhoff asc at
Mon Dec 19 13:28:24 CET 2011


Am Montag, den 19.12.2011, 11:40 +0100 schrieb Holger Levsen:
> Hi,
> I would like to use one disk_config file for either a normal raid1 
> configuration (should the system has two disks) or for degraded raid1 if it 
> only has one disk. Is that possible?
Yes is possible no problem. Also faster for testing because no RAID sync.

Simple config attached.

regards Andreas 

-------------- n�chster Teil --------------
disk_config disk1 bootable:1
primary  -              4000-    -        -
primary  -              4000     -        -
primary  -              4000     -        -

disk_config raid
raid1        /       disk1.1			ext3        rw,errors=remount-ro 
raid1        swap    disk1.2			swap        sw
raid1	     /var    disk1.3			ext3        defaults

More information about the linux-fai mailing list