udev rules should not automatically active logical volumes
Bug #133905 reported by
Jerome Haltom
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lvm2 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: lvm2
Currently lvm2 installs a udev rules fine which runs vgchange -a y on any detected block devices. This isn't exactly desired. Activing the volumn groups automatically is not always waht the user expects to happen when hot plugging a SATA drive, for instance. The volume group should be created, but not activated. vgscan accomplishes this.
The one exception to this rule is from the initramfs when trying to locate root. I think it would be safe to have the initramfs auto activate volumes, but not the main system. This means the rules between the two might not be the same.
To post a comment you must log in.
lvm2 should automatically execute vgchange -a y IMO. My xen hosts all have a lv as root, and now /etc/xen/auto/* hosts aren't started anymore since /dev/<myvg> isn't active when booting..