should /dev/vg directory names have a blacklist

Bug #1064099 reported by Serge Hallyn on 2012-10-08
This bug affects 1 person
Affects Status Importance Assigned to Milestone
lvm2 (Ubuntu)

Bug Description


if I do

sudo pvcreate /dev/vdb
sudo vgcreate kvm /dev/vdb
sudo lvcreate -L 1G -n haha kvm

then '/dev/kvm/haha' is created. This is a problem if I later want to run qemu-kvm.

Presumably there are other well-known names under /dev which should not be used for vg-named directories.

Is it possible to get lvm/udev to keep a blacklist to keep this from happening? Or should these be kept under /dev/lvm/kvm/haha instead?

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers