Thank you all! Always helpful.
Regards, Sulove From: <spacewalk-list-boun...@redhat.com> on behalf of <li...@alderfamily.org> Reply-To: <st...@alderfamily.org>, <spacewalk-list@redhat.com> Date: Thursday, May 14, 2020 at 5:48 PM To: <spacewalk-list@redhat.com> Subject: Re: [Spacewalk-list] Kickstart File - Increase Root Partition Size In a kickstart you cannot use autopart and also define any partition to be a particular size. It is one or the other. https://pykickstart.readthedocs.io/en/latest/kickstart-docs.html#autopart I prefer to have more control over the disk layout, myself, and use the same method as Stefan. But it depends upon your needs. Sounds like you have a need to define your partitions. Kickstart is powerful. I have found only a very few limitations in it, and those have always been in the sysroot’d environment itself not in Kickstart. Steve From: spacewalk-list-boun...@redhat.com <spacewalk-list-boun...@redhat.com> On Behalf Of Stefan Bluhm Sent: Thursday, May 14, 2020 15:11 To: spacewalk-list <spacewalk-list@redhat.com> Subject: Re: [Spacewalk-list] Kickstart File - Increase Root Partition Size 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" <skha...@aplura.com> An: "spacewalk-list" <spacewalk-list@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@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list _______________________________________________ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list
_______________________________________________ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list