Re: silly Kickstart/LVM syntax question (volgroup creation using 2 PVs ...)
"Robin, Robin" <[email protected]> Thu, 31 Jul 2008 09:53:39 -0400
| Newsgroups | gmane.science.biology.informatics.clusters |
|---|---|
| Message-ID | <C4B73C23.12A7C%[email protected]> |
Hmm.. It's just an idea. I did not try this myself. I think you may need a separate line for this. volgroup VolGroup00 --pesize=32768 pv.4 volgroup VolGroup00 --pesize=32768 pv.5 --useexisting OR volgroup VolGroup00 --pesize=32768 pv.5 --noformat Robin On 7/31/08 9:29 AM, "Chris Dagdigian" <[email protected]> wrote: > > > Hi folks, > > I'm reverse-engineering an anaconda-ks.cfg file to add a 2nd 500Gb > disk into the standard CentOS 5 VolGroup00 LVM volume that holds the > root "/" filesystem and I can't seem to find explicit documentation > for the "volgroup" command in RHEL Kickstart. The online kickstart > documentation does not fully document the usage syntax for the > volgroup command ... > > This is the partition scheme from the kickstart file: > >> clearpart --all --drives=sda,sdb >> part /boot --fstype ext3 --size=100 --ondisk=sda >> part swap --size=4096 --ondisk=sda >> part swap --size=4096 --ondisk=sdb >> part pv.4 --size=0 --grow --ondisk=sda >> part pv.5 --size=0 --grow --ondisk=sdb >> volgroup VolGroup00 --pesize=32768 pv.4 pv.5 >> logvol / --fstype ext3 --name=LogVol00 --vgname=VolGroup00 -- >> size=1024 --grow > > > The only thing I've added to the kickstart file is: > >> part pv.5 --size=0 --grow --ondisk=sdb > > > ... and changing the volgroup command so that the new "pv.5" physical > volume is added into the VolGroup00 volume group. > > I'm writing this email because the trial-and-error process for > Kickstart in this particular environment is very time-consuming. If I > can get the syntax correct the first time it will save lots and lots > of time. > > My question comes down to this: > > "How to pass two pv devices to the volgroup command" > > My guess is that this is probably correct: > >> volgroup VolGroup00 --pesize=32768 pv.4 pv.5 > > ... but I'm also thinking that perhaps multiple PVs need to be comma- > separated: > >> volgroup VolGroup00 --pesize=32768 pv.4,pv.5 > > > Anyone have an answer or a link to better Kickstart docs? > > > -Chris > > > > > > _______________________________________________ > Bioclusters maillist - [email protected] > http://www.bioinformatics.org/mailman/listinfo/bioclusters >