Hi,
I was just wondering if this would be possible use xxcreateopts="" on
disk_config lvm and raid to pass options to it. For exemple we could
have :
lvcreateopts="--stripes 4 --stripesize 256"
vgcreateopts="--physicalextentsize 2k"
pvcreateopts="--metadatacopies 1"
Same for raid to set the options like chunk size for raid 1 that i like:
mdcreateoption="--chunk=128"
for the ones who like to fine tune their file systems :)
Do you think this is a good idea for the future ?
regards,
Jean.
-
exemple
disk_config sda
primary -256 --
primary swap 1024swap sw
primary - 0- --
disk_config sdb
primary - 0- - -
disk_config sdc
primary - 0- - -
disk_config sdd
primary - 256 - -
primary - 1024- -
primary - 0- - -
disk_config sde
primary - 0- - -
disk_config sdf
primary - 0- - -
disk_config raid
raid1/sda1,sdd1 ext2rw,errors=remount-ro
mdcreateoption="--chunk=128"
raid1swap sda2,sdd2 swaprw
raid1-sda3,sdd3 ext2default
raid0-sdb1,sde1 ext2default
raid0-sdc1,sdf1 ext2default
# config the LVM
disk_config lvm pvcreateopts="--metadatacopies 1"
vg my_pv md2,md3 vgcreateopts="--physicalextentsize 2k"
my_pv-_usr /usr 2048ext3 rw -O dir_index,resize_inode
lvcreateopts="--stripes 4 --stripesize 256"
my_pv-_var /var 600 ext3 rw -O dir_index,resize_inode
my_pv-_e_h /export/home10240 reiser rw,notail
my_pv-_e_s /export/sites 2048reiser rw,notail
my_pv-_v /vservers 2048ext3rw