Red Hat Bugzilla – Bug 822774
Anaconda's graphical interface doesn't allow deselecting storage devices for LVM
Last modified: 2013-03-20 13:44:36 EDT
Description of problem:
While upgrading from RHEL4 to RHEL5, I was attempting to preserve three volume groups and the logical volumes they contained. Anaconda would only permit me to set up one volume group using all three physical devices. There was a window with check boxes, implying that I could deselect some of the physical devices, but Anaconda wouldn't allow me to uncheck them.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Create an RHEL4 system with more than one volume group and several non-system logical volumes. For example, in my case
PV VG Fmt Attr PSize PFree
/dev/cciss/c0d0p2 rhel lvm2 a-- 136.56G 28.56G
/dev/cciss/c0d1p1 vg02 lvm2 a-- 279.36G 35.36G
/dev/cciss/c0d2p1 vg03 lvm2 a-- 136.70G 0
rhel (volume group)
juur (logical volume, "juur" = Estonian for "root")
install (logical volume)
2. Attempt to fresh-install RHEL5 on that system and preserve all of the non-system logical volumes
I was unable to preserve the three volume groups and I was also unable to ignore two of the physical volumes using the graphical interface.
The graphical interface should provide me some way of preserving the non-system logical volumes. In particular, I should be able to select only one of the physical volumes discovered - something similar to the kickstart option "ignoredisk --only-use=cciss/c0d0".
I was able to work around this by setting up a kickstart file with the following options:
part /boot --fstype=ext3 --onpart cciss/c0d0p1
part pv.01 --noformat --onpart cciss/c0d0p2
volgroup rhel pv.01 --noformat
logvol /u01 --noformat --name=u01 --vgname=rhel
logvol / --useexisting --fstype=ext3 --name=juur --vgname=rhel
logvol swap --useexisting --fstype=swap --name=swap0 --vgname=rhel
While Red Hat welcomes bug reports on Red Hat products here in our public
bugzilla database, please keep in mind that bugzilla is not a support tool or
means of accessing support. If you would like technical support please visit
our support portal at access.redhat.com or call us for information on
subscription offerings to suit your needs.