Can't reuse LVM partitions during non-interactive install

Ryan C. Spaulding rspaulding at arc.nasa.gov
Mon Jan 29 18:33:47 UTC 2007


Hi Steve,

Glad you got it working. I did leave a little detail out which might  
help others.  Our LVM partitions where on software raids, so I think  
it just made things overly complex. We have since moved to hardware  
raids to avoid this dependency in the future.

Thank you,

Ryan



On Jan 29, 2007, at January 29, 2007 [10:11 AM], Steve Robson wrote:

>> From: "Ryan C. Spaulding" <rspaulding at arc.nasa.gov>
>> Hi Steve,
>> There is a ticket on this:
>> https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=189123
>> I was in the same position and we ended up just doing a full dump  
>> of the systems and starting over because of deadlines.
>
> Hi Ryan,
>
>   Thanks for this; I confess to not having looked in bugzilla and  
> have just done so (more below).
>
>   I was able to do a pseudo-hands-off install by specifying  
> everything in a ks.cfg file *except* partitioning information,  
> which of course dropped anaconda out to prompt for partitioning  
> information.  All the existing partitions were detected, both  
> native and LVM and I dutifully edited each in turn, adding the  
> mountpoints and specifying whether or not to reformat.  Kickstart  
> then proceeded and installed as I wanted. This approach may help  
> other correspondents wishing to upgrade no more than a few machines.
>
>   Having installed as described above I looked with anticipation at  
> "/root/anaconda-ks.cfg" to see what I *should* have done.  The  
> partitioning detail is here.  It remains to be seen whether this  
> works.  I will test it and report back.  I note the absence of "-- 
> useexisting" as per bug 189123.
>
> # The following is the partition information you requested
> # Note that any partitions you deleted are not expressed
> # here so unless you clear all partitions first, this is
> # not guaranteed to work
> #part /boot --fstype ext3 --onpart sda1
> #part pv.4 --noformat --onpart sdc1
> #part pv.3 --noformat --onpart sdb1
> #part pv.2 --noformat --onpart sda2
> #volgroup vg00 --pesize=32768 pv.2 pv.3 pv.4
> #logvol /vol0 --noformat --fstype ext3 --name=lvol0 --vgname=vg00 -- 
> size=161440
> #logvol /vol1 --noformat --fstype ext3 --name=lvol1 --vgname=vg00 -- 
> size=161440
> #logvol /tmp --fstype ext3 --name=ltmp --vgname=vg00 --size=50016
> #logvol swap --fstype swap --name=lswap --vgname=vg00 --size=32768
> #logvol / --fstype ext3 --name=lroot --vgname=vg00 --size=9024
>
>   Bug 150206 (opened on 3rd March 2005 and apparently untouched  
> since!) more closely matches my issue
> https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=150206
>
> -- 
>   Regards,
>   Steve
>
> IT Support - UNIX/Linux                        Cadence Design Systems
> Tel:    +44 (0)1344 866523                     Bagshot Road
> Mobile: +44 (0)7901 855046                     Bracknell BERKSHIRE
> Fax:    +44 (0)1344 869647                     RG12 0PH   UK
>
> _______________________________________________
> Kickstart-list mailing list
> Kickstart-list at redhat.com
> https://www.redhat.com/mailman/listinfo/kickstart-list

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/kickstart-list/attachments/20070129/bf539384/attachment.htm>


More information about the Kickstart-list mailing list