[CentOS] Re: Freeing pv space for snapshots

Sat Jan 6 23:43:13 UTC 2007
Scott Silva <ssilva at sgvwater.com>

Johnny Hughes spake the following on 1/6/2007 3:29 PM:
> 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.
> 
Just having the accesibility is great! I always have the regular rescue mode
for when I need chrooted /mnt/sysimage access.


-- 

MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't!!!!