[CentOS] Freeing pv space for snapshots

Fri Jan 5 19:13:50 UTC 2007
Johnny Hughes <mailing-lists at hughesjr.com>

On Fri, 2007-01-05 at 10:03 -0600, Aleksandar Milivojevic wrote:
> Paul wrote:
> 
> > But how do I mount it when booted up on CD when it's burried somewhere in
> > the LVM on hda2?
> 
> Boot normally, stop everything that uses it, unmount it.
> 
> If it's something you can't unmount (/, /usr, /var and alike), boot into
> rescue mode from CD.  When prompted, let Anaconda find your existing
> CentOS installation.  It will than create all devices and mount all file
> systems under /mnt/sysimage.  Simply unmount what you need to unmount.
> Note, if you want to unmount root (and only if you want to unmount root)
> which is /mnt/sysimage, you'll need to unmount all filesystems under it
> first.  As well as some stuff not shown as mounted by df command (not
> sure about exact list, try unmounting /mnt/sysimage/proc,
> /mnt/sysimage/sys, /mnt/sysimage/dev).

Right, if you can't unmount there are several options ... we have a
rescue mode on CD-1, the DVD, or the Single Server CD ... also we have
the live CD.

The OS you boot to needs LVM2 and all the EXT3 tools ... personally I
recommend the LiveCD ... that was one of it's main purposes.  It is much
more full featured than the rescue mode on the other CDs.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.centos.org/pipermail/centos/attachments/20070105/b1735296/attachment-0004.sig>