# With FAI 3.2.8 a new partitioning tool called setup-storage(8) was # added to FAI. It uses parted(8) for editing the partition table and # now has support for software RAID and LVM. This tool uses a slightly # different format for the configuration files in disk_config. Read # the manual page for a detailed description of the new format. The # variable USE_SETUP_STORAGE now determines which tool to use. # This is a template. #ROOTFS#, #VGNAME#, #LVFS# must be replaced with # appropriate values by a hook. (e.g. partition.DISKlvm) # defaults - used if nothing else has been specified. Overwrite these # by declaring an approriate variable in /tmp/fai/IDENTIY # ToDo: These are not parsed yet! Hardcoded into the hook. ROOTFS="ext2" ROOTFSOPTS="-b 2048" VGNAME="vg_system" LVFS="reiserfs" LVFSOPTS="-y" # configure physical partitions disk_config disk1 bootable:1 primary / 1024 #ROOTFS# rw,errors=remount-ro createopts="#ROOTFSOPTS#" primary swap 2048 swap rw primary - 4096- - - # when creating reiserfs volumes use quiet mode (-q) # else mkfs.reiserfs will wait forever for a confirmation # configure volume manager disk_config lvm vg #VGNAME# disk1.3 #VGNAME#-home /home 1536 #LVFS# rw,noatime,nodev,nosuid createopts="#LVFSOPTS#" #VGNAME#-opt /opt 1536 #LVFS# rw,noatime createopts="#LVFSOPTS#" #VGNAME#-tmp /tmp 512 #LVFS# rw,noatime,nodev,nosuid createopts="#LVFSOPTS#" #VGNAME#-usr /usr 4096 #LVFS# rw,noatime createopts="#LVFSOPTS#" #VGNAME#-var /var 4096 #LVFS# rw,noatime createopts="#LVFSOPTS#" #VGNAME#-var_tmp /var/tmp 1536 #LVFS# rw,noatime,nodev,nosuid createopts="#LVFSOPTS#"