stuck in LVM physical volume add process

John Bray jmblin at comcast.net
Thu Oct 27 18:12:42 UTC 2005


we sure do seem to have a lot of questions about lvm stuff here.  i have
a feeling that this means that there's a desparate need for some good
and uptodate documentation.

i looked through the archives, and didn't find the answer.  apologies if
i missed it.

i'm stuck part way through adding a new physical volume to LogVol00.

i believe that lvm knows about the new drive and is happy with it.

BUT, i'm stuck at how to extend the filesystem to include the new space.

i hope this isn't a stupid question.  however...  i believe that the
last step in this process is to extend the ext2/3 fs into the new area.
i believe that i have to do that to the logical volume which contains
it.  it seemed simple:  boot off the rescue disk and do:
resize2fs -p /dev/VolGroup00/LogVol00

BUT...
if i do the chroot in rescue mode, resize complains that its a mounted
filesystem.  and if i don't do the chroot, there is no such path in /dev
to be resized.

is the -f switch to resize2fs safe to use when chrooted because it's in
rescue mode?  or have i missed something quite ovbious here?

thank folks!

john




More information about the fedora-list mailing list