Setup-storage and logical drive failure

David Dreezer dave at socialstrata.com
Fri Nov 12 22:17:22 CET 2010


Hi,

I'm trying to setup raid1 on a 2 drive system, using both 3.3.5 and 4.0~beta2+experimental40. I've got USE_SETUP_STORAGE=1 defined in my class.  The file in disc_config is as below. I'm receiving an error that mkfs.logical cannot be found in PATH. I'm not sure where I'm going wrong. Thank you for any insight that you can give me.


# example of new config file for setup-storage
#
# <type> <mountpoint> <size>   <fs type> <mount options> <misc options>

disk_config hda bootable:1
primary	-	95
logical	-	1.7G
primary	swap	2048
logical	-	2.5G
logical	-	1.9G
logical	-	4.1G
logical	-	936M
logical	-	20G-

disk_config hdb bootable:1
primary	-	95
logical	-	1.7G
primary	swap	2048
logical	-	2.5G
logical	-	1.9G
logical	-	4.1G
logical	-	936M
logical	-	20G-

disk_config raid
raid1	/boot	hda1,hdb1	ext3	rw,noatime,nosuid,nodev  createopts="-m15" tuneopts="-c 0 -i 0"
raid1	/	hda2,hdb2	ext3	rw,errors=remount-ro
raid1	swap	hda3,hdb3	swap	rw
raid1	/var	hda4,hdb4	ext3	rw,noatime,nosuid,nodev  createopts="-m15" tuneopts="-c 0 -i 0"
raid1	/tmp	hda5,hdb5	ext3	rw,noatime,nosuid,nodev  createopts="-m15" tuneopts="-c 0 -i 0"
raid1	/usr	hda6,hdb6	ext3	rw,noatime,nosuid,nodev  createopts="-m15" tuneopts="-c 0 -i 0"
raid1	/home	hda7,hdb7	ext3	rw,noatime,nosuid,nodev  createopts="-m15" tuneopts="-c 0 -i 0"
raid1	/app	hda8,hdb8	ext3	rw,noatime,nosuid,nodev  createopts="-m15" tuneopts="-c 0 -i 0"









More information about the linux-fai mailing list