Support for partitionless disks in Kickstart
When creating disks with kickstart you will have to live with the fact that everything is "wrapped" in partitions. I'am refering to partitions that you see with fdisk.
It would be nice to have kickstart be able to not create partitions, but on the part command add an option --nopartition.
Example, when running on virutal hardware, you add 3 disks, sda of 200MB, for boot partition, sdb 2GB for swap and sdc for root. Then my swap and root partition in which i will use lvm for will be free of partitions, and i will be able to resize sdc anytime, and expand diskspace on root partition online.
Today this feature is avaliable in RHEL6, but only with use of pre, and onpart. example:
# sda=202MB, sdb=2048MB, sdc=8192MB
part /boot --ondisk=sda --fstype=ext4 --size=200
part pv.1 --onpart=/dev/sdc
part pv.2 --onpart=/dev/sdb
volgroup vg00 pv.1
volgroup swapvg pv.2
logvol / --fstype=ext4 --name=lvol0 --vgname=vg00 --size=6100
logvol /var --fstype=ext4 --name=lvol1 --vgname=vg00 --size=2047
logvol swap --fstype=swap --name=lvol0 --vgname=swapvg --size=2000
%pre
lvm pvcreate /dev/sdb
lvm pvcreate /dev/sdc
lvm vgcreate swapvg /dev/sdb
lvm vgcreate vg00 /dev/sdc
Responses