On 12 Feb 2005, at 21:22, Jim Cornette wrote:
Gordon Ewasiuk wrote:
Hi Fedora List,
Ran into a problem with LVM and FC3. I can work around the problem but was curious if anyone here has experienced the roadblock I hit.
I installed FC3 in a testbed. I accepted the default partition scheme which defaulted to LVM use on a single drive.
A few weeks later, I went to resize the LVM partition. First I had resize the ext3 filesystem with resize2fs. I couldn't do a resize operation on a mounted / partition. Not a problem. I boot from Rescue CD...
which can't see LVM partitions?
I understand the technical problems about a generic rescue CD detecting the infinite number of possible LVM combinations and configurations. That led me to wonder about the wisdom of having LVM as the default during installation of FC3.
Comments please?
Another problem with having LVM installed by default is the trying to install the next release in text mode does not recognize the LVM based installation.
the LVM is recognized using the GUI installer. This might be similar to what you are running into when using the rescue CD to attempt to resize the drives. A consideration might be to add a parameter to the boot command to load lvm related processes to be able to adjust your lvm sizes to your desired specifications.
Once booted into text-mode rescue, invoke the following commands:
lvm lvscan lvm vgchange -ay
This will scan for all LVM volumes and then will make them active and accessible.
lvm vgchange -an
will deactivate them all.