Browse Source
For LVM, we need to do activation of the volume group within the initrd. Stick lvm tools into the initrd as well as a (basic and stupid) udev rule to run vgchange -ay. Ultimately we want to get a better rule for this into udev propermaster

2 changed files with 15 additions and 1 deletions
@ -0,0 +1,13 @@
@@ -0,0 +1,13 @@
|
||||
# hacky rules to try to activate lvm when we get new block devs... |
||||
# |
||||
# Copyright 2008, Red Hat, Inc. |
||||
# Jeremy Katz <katzj@redhat.com> |
||||
|
||||
|
||||
SUBSYSTEM!="block", GOTO="lvm_end" |
||||
ACTION!="add|change", GOTO="lvm_end" |
||||
|
||||
ENV{ID_FS_TYPE}=="LVM2_member", RUN+="/sbin/lvm vgchange -ay" |
||||
|
||||
|
||||
LABEL="lvm_end" |
Loading…
Reference in new issue