[linux-lvm] /dev/dm-0 instead of /dev/mapper/mygroup-myvol in "mount" output

Benjamin Henrion bh at udev.org
Fri Jul 9 07:53:20 UTC 2010


I have managed to setup an LVM loopback file as a harddisk to mount.

Now, I need the vzdump utility to detect the fact that it is LVM
based, and it keeps saying that it cannot detect the LVM volume group:


"unable to detect lvm volume group"

Everything works fine when mount displays that the file is mounted
with /dev/mapper/mygroup-myvol, on the opposite, it does not work when
mount outputs /dev/dm-0 in its list.

Any idea how I could force mount to use /dev/mapper/mygroup-myvol
instead of /dev/dm-0?


Benjamin Henrion <bhenrion at ffii.org>
FFII Brussels - +32-484-566109 - +32-2-4148403
"In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators."

More information about the linux-lvm mailing list