Re: Whole disk LVM via kickstart

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Chad,

> /dev/sdb = LVM2 pv, no partitions (LVs /, /home, /usr/local, /opt, swap, /tmp, & /var)

I recently learned that it is not a good idea not to have a partition,
because you then can't define a partition type 8e and therefore e.g.
booting a rescue system could get trouble to automatically identify sdb as LVM PV.

This is what I use

bootloader --location=mbr --driveorder=sdb --append="console=ttyS1,115200n8 console=tty1 vga=791"
clearpart --all --drives=sdb
part /boot --fstype ext3 --size=100 --ondisk=sdb
part pv.2 --size=0 --grow --ondisk=sdb
volgroup rootvg --pesize=32768 pv.2
logvol swap --fstype swap --name=swaplv --vgname=rootvg --size=8192
logvol / --fstype ext3 --name=rootlv --vgname=rootvg    --size=20480

cheers

_______________________________________________
Kickstart-list mailing list
Kickstart-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/kickstart-list


[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux