Re: Can't reuse LVM partitions during non-interactive install

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

 



From: "Ryan C. Spaulding" <rspaulding@xxxxxxxxxxxx>

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


[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