You are not logged in.

#1 2010-02-05 08:46:16

lukaszd
Member
Registered: 2010-02-05
Posts: 1

/dev/mapper/* block devices changed to links; can't udev-set ownership

Hi,

I run an lvm-over-luks-over-raid setup with virtualbox on lvm devices. Since the recent lvm2 upgrade virtualbox (run as a non-root user) is unable to open the assigned lvm partitions. I've noticed that's because the /dev/mapper/* bunch are no longer proper block devices but links to /dev/dm-* instead and so the udev rules that used to made the vbox partitions belong to the vbox user stopped working.

Is there any way to restore the old behaviour and make the block devices reside under /dev/mapper again? If not, can I deterministically assign dm numbers to particular devices so that I could rewrite the udev rules to operate on the /dev/dm-* lot?

Thanks a lot,
Łukasz

Offline

Board footer

Powered by FluxBB