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

Re: lvm on an external enclosure?



On 2009-03-20 16:04, Boyd Stephen Smith Jr. wrote:
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.

But won't there be references to the non-existent vg in /etc/lvm that Debian uses during boot?

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.

Good enough...  Thanks.

--
Ron Johnson, Jr.
Jefferson LA  USA

"Freedom is not a license for anarchy."


Reply to: