RE: Use entire disk as PV.

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

 



> Did you use a double dash for â--preexistingâ? I didnât notice as I was typing it that Outlook had 
> âhelpfullyâ changed the two dashes to a single emdash. Did the pvcreate command actually work: does that 
> disk now have a full-disk PV on it? In the pvcreate documentation, I just came across

Aye, I had used the --useexisting option with the double-hyphen.

> Hereâs something else to try:
>
> echo "part pv.01 --onpart sdb --grow" >> /tmp/custom-part
> echo "volgroup rootvg /dev/sdb pv.01" >> /tmp/custom-part
>
> If kickstart refuses to create a partition on sdb, you will have to do something like
>
> lvm pvcreate /dev/sdb
> lvm vgcreate rootvg /dev/sdb
> echo "logvol / --fstype ext3 --name=root --vgname=rootvg --size=4096 --useexisting" >> /tmp/custom-part

This seems to have worked for the RHEL 6 installer.  RHEL 5.5 still barfs on this saying that no VG exists with the name "rootvg" ... 

I have filed a BZ with this as a feature request.  I hope this gets added at some point.  It should be fairly trivial to do.

Thanks for the info.

-Andy

_______________________________________________
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