ab8d2910c4
Element block-device-efi-lvm has been added which is like block-device-efi but defines an LVM logical group in the root partition. Three logical volumes are defined in that group, mounted to /, /var, and /home. This volume layout will not meet all requirements, but this is more of an example demonstrating the capability to encourage more usage of this existing feature. This is based on the overcloud-partition-uefi element in tripleo-image-elements, and I believe this capability is too useful to have the only working example buried in a related project repo. This change also fixes the element string matching in _arg_defaults_hack, the 'vm' test was also matching against 'lvm' and 'block-device-efi-lvm' elements. Also the 'block-device-' test now properly tests for this being the prefix of the block-device element. This change also makes block-device-efi fsck-passno compliant with the documentation[1] so that / has value 1 and all other mounts are set to 2. [1] https://www.man7.org/linux/man-pages/man5/fstab.5.html Change-Id: If86a0e49186ce5a65cc0084101d31ce59a97b854 Blueprint: whole-disk-default |
||
---|---|---|
.. | ||
environment.d | ||
block-device-default.yaml | ||
element-provides | ||
README.rst |
==================== Block Device EFI LVM ==================== This provides a block-device configuration for the ``vm`` element to get a disk suitable for EFI booting which uses LVM to define multiple volumes mounted to /, /tmp, /var, and /home. Please note that the sizes of the partitions may not be enough for production usage, they will need to be resized properly after deployment depending on the available disk size. Note on x86 this provides the extra `BIOS boot partition <https://en.wikipedia.org/wiki/BIOS_boot_partition>`__ and a EFI boot partition for maximum compatability.