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

Re: lvm on an external enclosure?



On Friday 20 March 2009 09:02:24 Ron Johnson wrote:
>1. What kind of problems or issues might I have when trying to boot
>and lvm doesn't see a vg?  I'm guessing Linux will squawk and
>continue booting.

Probably won't even squawk.  IIRC, scanning for VGs is done during the boot 
process as long as you have LVM installed, whether you are using it or not.

>2. More importantly, what about when I power up the external
>enclosure, after Linux is already running?  Will lvm automagically
>recognize the new drives as part of their own vg?  Or will I have to
>bounce lvm?

You *may* have to run 'vgscan && vgchange -ay', but that should be enough.  
Failing that, you might have to modify your lvm.conf, but that's only if lvm 
is, for some reason, not scanning those block devices for PV metadata.
-- 
Boyd Stephen Smith Jr.                   ,= ,-_-. =.
bss@iguanasuicide.net                   ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy         `-'(. .)`-'
http://iguanasuicide.net/                    \_/

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: