should /dev/vg directory names have a blacklist

Bug #1064099 reported by Serge Hallyn
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
lvm2 (Ubuntu)
New
Undecided
Unassigned

Bug Description

Hi,

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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.