On Fri, May 31, 2013 at 10:58:30AM +0800, Qiu Yu wrote:
Unfortunately, the standard 'disk' group permission only
applies to
/dev/sdX device nodes, not to device mapper nodes created by LVM commands.
Actually, it depends on udev rules. On my machine device mapper
nodes very much are owned by the disk group:
$ ll /dev/dm-*
brw-rw----. 1 root disk 253, 0 May 15 13:26 /dev/dm-0
brw-rw----. 1 root disk 253, 1 May 15 13:26 /dev/dm-1
brw-rw----. 1 root disk 253, 10 May 24 13:54 /dev/dm-10
brw-rw----. 1 root disk 253, 11 May 15 13:26 /dev/dm-11
brw-rw----. 1 root root 253, 12 May 29 21:29 /dev/dm-12
[etc]
You can add udev rules to change the ownership. See:
https://wiki.archlinux.org/index.php/Udev
Rich.
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
virt-top is 'top' for virtual machines. Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://people.redhat.com/~rjones/virt-top