Re: Installation fails if VG is exported

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Stuart D. Gathman" <stuart@bmsi.com> wrote:
On Tue, 7 Jun 2011, Stuart D. Gathman wrote:

>>> Exporting the VG is *supposed* to prevent activation.  You can reverse 
>>> this with vgimport.  Why did you wish to prevent activation?  Normally,
>>> vgexport is used prior to physically removing a VG from the system.  (And
>>> then vgimport after attaching the drives to the new system.)
>> 
>> Well, I just want to keep my data intact while i'm playing with the
>> installation. I understand that @ this point it's just easier to pull
>> the power on the HDs with the VG in question. But i'm curious why this
>> is a problem...
>
> It isn't a problem, unless you expect the VG to be available at boot time,
> which apparently you do.  Do you have a root FS on the VG?

I get it - you wanted to prevent your OS experimentation from activating and possibly writing over your VG.  I can understand why vgexport seemed like a solution, but it only prevents activation and removes references from local LVM configuration (and prevents booting when that depends on the VG as you discovered).

It doesn't prevent a rogue/buggy OS from scribbling on the disks.  So, physically disconnecting (or powering off) the disks is the best way to prevent that.

--
 	      Stuart D. Gathman <stuart@bmsi.com>
     Business Management Systems Inc.  Phone: 703 591-0911 Fax: 703 591-6154
"Confutatis maledictis, flammis acribus addictis" - background song for a Microsoft sponsored "Where do you want to go from here?" commercial.
linux-lvm mailing list linux-lvm@redhat.com https://www.redhat.com/mailman/listinfo/linux-lvm read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

After stressing out about he insraller messing out with my "precious" :) data, the installation went remarkably well. I still think that it should not terminate because of exported volumes thou.
Andrew
--
Sent from my Android phone with K-9 Mail. Please excuse my brevity.
_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux