[Spacewalk-list] Kickstart File - Increase Root Partition Size
Stefan Bluhm
redhat.com at bluhm-de.com
Thu May 14 19:11:01 UTC 2020
Hello Sulove,
as far as I am aware, by default on RHEL it is using the full HDD as root after a /boot and a swap default.
This is how I do custom partition my servers:
Go to Systems --> Kickstart --> Profiles --> <Label> --> System Details --> Partitioning --> Partition Details
Enter
part /boot --fstype=ext4 --size=500
part pv.01 --grow --size=1
part swap --size=1000 --maxsize=2000
volgroup vg_main --pesize=4096 pv.01
logvol /var/log --fstype=ext4 --name=lv_log --vgname=vg_main --size=1000
logvol / --fstype=ext4 --name=lv_root --vgname=vg_main --size=1 --grow
logvol swap --name=lv_swap --vgname=vg_main --size=2016
This creates:
- /boot 500MB as ext4
- swap between 1GB to 2GB (I think this is autoscaled to memory 1:1)
- /log 1GB as ext4
- / [root] for the rest
I hope this helps.
Best wishes,
Stefan
Von: "Sulove Khanal" <skhanal at aplura.com>
An: "spacewalk-list" <spacewalk-list at redhat.com>
Gesendet: Donnerstag, 14. Mai 2020 15:22:29
Betreff: [Spacewalk-list] Kickstart File - Increase Root Partition Size
Hello,
I’m looking to increase the size of the root partition in my Spacewalk kickstart file to 20GB. It is currently defaulted to 8GB when I boot up a new VM based off the kickstart file. The kickstart is also set to autopart –type=lvm. I am using Centos 7. I haven’t found how to increase the size of the root partition while still using the autopart option in the kickstart from my research online.
Is this possible?
Thank you,
Sulove
_______________________________________________
Spacewalk-list mailing list
Spacewalk-list at redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20200514/add23727/attachment.htm>
More information about the Spacewalk-list
mailing list