[CentOS] Re: Freeing pv space for snapshots

Sat Jan 6 23:29:58 UTC 2007
Johnny Hughes <mailing-lists at hughesjr.com>

On Sat, 2007-01-06 at 15:21 -0800, Scott Silva wrote:
> Johnny Hughes spake the following on 1/6/2007 1:05 AM:
> > On Fri, 2007-01-05 at 11:25 -0800, Scott Silva wrote:
> > <snip>
> > 
> >>> 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.
> > 
> >> What would be nice, if it already isn't in the live cd, would be a command or
> >> binary to look for and mount the existing installations like the rescue mode
> >> does. If this is already there, then pardon me, as I haven't seen it.
> >> A lot of us know how to walk through and do this, but many people do not.
> > 
> > While the LiveCD does not mount the devices in /mnt/sysimage ... it can
> > automount all partitions.
> > 
> > If you start it with the command:
> > 
> > linux automount
> > 
> > You end up with all your partitions mounted in /mnt/ by their name.
> > 
> But does that mount LV's in LVM? Or do you still need to use LVM commands to
> activate LV's?

It will automount LV's if you do automount ... for example ... /mnt/dm-0
was my root filesystem when I booted up and vgdisplay and lvdisplay show
all the items there.

you can unmount and remount other ways if you want.

I also had sda1 as my boot partition ... that showed up as /mnt/sda1 ...
it was not mounted as /mnt/dm-0/boot ... so if you want to mount items
like that, you will have to do it manually.


-------------- 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/20070106/952c9704/attachment-0005.sig>