[linux-lvm] howto avoid initializing a particular volume-group at boot time?

Heinz Mauelshagen heinzm at redhat.com
Mon Jan 7 18:11:02 UTC 2013


On 01/01/2013 11:07 PM, Tom Assmuth wrote:
> hi and best wishes for the new year!
>   
> Let me describe my scenario: I have a big volume group (let's say:
> /dev/vgbig/lv[1-9]) with a lot of snapshots in it and not used very
> often. Another volume group (/dev/vgsmall/lv[1-9]) contains data for
> normal use.
>
> Because of initializing /dev/vgbig/ at boot time the machine becomes
> usable after about 12h (twelve!)
>
> It would be ok if the machine would boot with /dev/vgsmall
> initialized, would do it's normal duty and in an late initscript would
> initialize /dev/vgbig/ (vgchange -ay /dev/vgbig/ ) It would be ok to
> wait now, because i could do my normal work.
>
> I thougt about a rule in /etc/lvm/lvm.conf, but i am not sure how to
> write it.

Got dracut?

Then kernel command line arg

*rd.lvm.vg=*_<volume_  _group_  _name>

_would do._

Heinz
_

>
> Does anyone? Thanks in advance, tom
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/linux-lvm/attachments/20130107/2fbe4e2d/attachment.htm>


More information about the linux-lvm mailing list