fix: increase boot partition and harmonize lvm (#6)
All checks were successful
ci/woodpecker/push/docs Pipeline was successful
ci/woodpecker/push/test Pipeline was successful

Reviewed-on: #6
Co-authored-by: Robert Kaussow <mail@thegeeklab.de>
Co-committed-by: Robert Kaussow <mail@thegeeklab.de>
This commit is contained in:
Robert Kaussow 2024-04-11 16:08:55 +02:00 committed by Robert Kaussow
parent 5cdafb5336
commit 9b0463929e

View File

@ -57,9 +57,9 @@ clearpart --all --initlabel
### Modify partition sizes for the virtual machine hardware. ### Modify partition sizes for the virtual machine hardware.
### Create primary system partitions. ### Create primary system partitions.
part /boot --fstype xfs --size=512 --label=BOOTFS part /boot --fstype xfs --size=1024 --label=BOOTFS
part /boot/efi --fstype vfat --size=512 --label=EFIFS part /boot/efi --fstype vfat --size=512 --label=EFIFS
part pv.01 --size=19 --grow part pv.01 --size=18 --grow
### Create a logical volume management (LVM) group. ### Create a logical volume management (LVM) group.
volgroup vg00 --pesize=4096 pv.01 volgroup vg00 --pesize=4096 pv.01
@ -67,13 +67,12 @@ volgroup vg00 --pesize=4096 pv.01
### Modify logical volume sizes for the virtual machine hardware. ### Modify logical volume sizes for the virtual machine hardware.
### Create logical volumes. ### Create logical volumes.
logvol swap --fstype swap --name=lv_swap --vgname=vg00 --size=2048 --label=SWAPFS logvol swap --fstype swap --name=lv_swap --vgname=vg00 --size=2048 --label=SWAPFS
logvol / --fstype xfs --name=lv_root --vgname=vg00 --size=6000 --label=ROOTFS logvol / --fstype xfs --name=lv_root --vgname=vg00 --size=8192 --label=ROOTFS
logvol /home --fstype xfs --name=lv_home --vgname=vg00 --size=3000 --label=HOMEFS logvol /home --fstype xfs --name=lv_home --vgname=vg00 --size=2048 --label=HOMEFS
logvol /opt --fstype xfs --name=lv_opt --vgname=vg00 --size=1000 --label=OPTFS
logvol /tmp --fstype xfs --name=lv_tmp --vgname=vg00 --size=512 --label=TMPFS --fsoptions="nosuid,noexec,nodev" logvol /tmp --fstype xfs --name=lv_tmp --vgname=vg00 --size=512 --label=TMPFS --fsoptions="nosuid,noexec,nodev"
logvol /var --fstype xfs --name=lv_var --vgname=vg00 --size=3000 --label=VARFS --fsoptions="nosuid" logvol /var --fstype xfs --name=lv_var --vgname=vg00 --size=2048 --label=VARFS --fsoptions="nosuid"
logvol /var/tmp --fstype xfs --name=lv_vartmp --vgname=vg00 --size=512 --label=LOGFS --fsoptions="nosuid,noexec,nodev" logvol /var/tmp --fstype xfs --name=lv_vartmp --vgname=vg00 --size=512 --label=LOGFS --fsoptions="nosuid,noexec,nodev"
logvol /var/log --fstype xfs --name=lv_log --vgname=vg00 --size=1000 --label=LOGFS --fsoptions="nosuid,noexec,nodev" logvol /var/log --fstype xfs --name=lv_log --vgname=vg00 --size=1024 --label=LOGFS --fsoptions="nosuid,noexec,nodev"
logvol /var/log/audit --fstype xfs --name=lv_audit --vgname=vg00 --size=512 --label=AUDITFS --fsoptions="nosuid,noexec,nodev" logvol /var/log/audit --fstype xfs --name=lv_audit --vgname=vg00 --size=512 --label=AUDITFS --fsoptions="nosuid,noexec,nodev"
### Modifies the default set of services that will run under the default runlevel. ### Modifies the default set of services that will run under the default runlevel.