Re: [owl-users] LVM Clarification

From: Solar Designer <solar_at_private>
Date: Thu, 9 Dec 2010 16:39:40 +0300
Hi Simon,

On Mon, Dec 06, 2010 at 11:22:06AM -0000, Simon Baker wrote:
> We don't support LVM out of the box, though for me it's something I'm
> finding more and more useful for containerization, as it allows me to
> finely allocate another physical limit to an OpenVZ guest. However, it's
> reasonably easy for me to just simply build the utilities myself, but

Please feel free to complete and contribute this support right after our
upcoming release.

> there's an issue with the startup script rc.sysinit as I see it:
> 
> # Activate LVM volumegroups.
> if [ -e /proc/lvm -a -x /sbin/vgchange -a -d /etc/lvm ]; then
>         echo "Setting up logical volume management"
>         /sbin/vgscan > /dev/null && /sbin/vgchange -a y
> fi
> 
> The /proc/lvm file isn't there on my system / kernel build (I only added
> in dev mapper support to my kernel .config, which seems to suffice). Does
> anyone know which kernel options are supposed to create this?  Is it a
> hangover from the olden days ?  Do I need it to make things work properly?

I don't know, but this does not appear to exist in our kernel sources.
I just ran "fgrep -rwl lvm" against my
linux-2.6.18-194.26.1.el5.028stab079.1-owl tree.  It returned 4 hits,
which I reviewed manually - none of them are the /proc entry.

>  Obviously as it stands I'm removing the [ -e /proc/lvm ] conditional to
> make things work, but if this could/should be fixed upstream that would be
> better :-)

I've just applied the same change to owl-startup (will be in 0.39-owl1).

Thanks,

Alexander
Received on Thu Dec 09 2010 - 05:39:40 PST

This archive was generated by hypermail 2.2.0 : Thu Dec 09 2010 - 05:40:09 PST