[CentOS] Freeing pv space for snapshots
Shawn K. O'Shea
shawn at ll.mit.edu
Fri Jan 5 15:58:01 UTC 2007
> OK, guess I answered my own questions:
>
> # resize2fs -p /dev/VolGroup00/LogVol00 30G
> resize2fs 1.35 (28-Feb-2004)
> /dev/VolGroup00/LogVol00 is mounted; can't resize a mounted filesystem!
>
> But how do I mount it when booted up on CD when it's burried somewhere in
> the LVM on hda2?
>
>
I've booted up a Knoppix CD to grow my root filesystem before. As long
as the boot CD you have contains LVM support, you should be good.
You will probably need to run the following commands to get your LVM
partitions recognized and get the /dev/ entries created:
vgscan
vgchange -ay
-Shawn
More information about the CentOS
mailing list