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

Re: lvm on an external enclosure?

In <4A6380D4.5030408@cox.net>, Ron Johnson wrote:
>On 2009-03-20 16:04, Boyd Stephen Smith Jr. wrote:
>> On Friday 20 March 2009 09:02:24 Ron Johnson wrote:
>>> 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.
>Well, that didn't work...
>If I umount the fs, then power-down the enclosure,

That's your problem.  Since you've got a VG on the disk, it  is not the FS 
that is using it (directly), but LVM.

You need to deactivate the VG before you power-down the enclosure.  vgchange 
$VG -an.
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: