Package: fai-setup-storage Version: 3.4.7 X-Debbugs-CC: [email protected] A user on IRC had problems trying to use the following setup-storage configuration:
### Begin configuration ### disk_config vda bootable:1 primary /boot 256 ext2 rw primary - 512 swap - primary - 2048- - - disk_config vdb bootable:1 primary - 256 ext2 rw primary - 512 swap - primary - 2048- - - disk_config raid raid1 / vda3,vdb3 - - disk_config lvm vg vgroup0 md0 vgroup0-root / 1024- ext4 defaults ### End configuration ### I propose the following sanity checks for setup-storage: * Each mountpoint (except -) should appear at most once * Ensure that LVM PVs have mountpoint - In such cases setup-storage should exit with a useful error message. (Another problem was that this user had his nfsroot exported with root_squash, so pvcreate failed due to not being able to read /var/lock/lvm. It would be nice if this error could be detected as well and specifically suggested setting no_root_squash if /var/lock/lvm has a non-root owner.) -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

