[linux-lvm] dmsetup says "Device does not exist", though it exists

Bernd Eckenfels ecki at zusammenkunft.net
Tue Aug 13 21:25:43 UTC 2019


I did not know dmsetup works with lvm file names, did you try to run `dmsetup ls` to see the known devices and the dm compatible name?



Von: linux-lvm-bounces at redhat.com im Auftrag von Zdenek Kabelac <zkabelac at redhat.com>
Gesendet: Dienstag, August 13, 2019 3:54 PM
An: LVM general discussion and development; Christoph Pleger
Betreff: Re: [linux-lvm] dmsetup says "Device does not exist", though it exists

Dne 13. 08. 19 v 9:11 Christoph Pleger napsal(a):
> Hello,
> I have a volume group with 20 logical volumes. Only the last one of these
> volumes has a strange problem with dmsetup, shown by these commands and output
> on the command line:
> root at host:/home/linux# /sbin/dmsetup info -c -o name --noheadings /dev/vg/lv20
> Device does not exist.
> Command failed
> root at host:/home/linux# lvdisplay -c /dev/vg/lv20
>   /dev/vg/lv20:vg:3:1:-1:0:4194304:512:-1:0:-1:253:19
> root at host:/home/linux# mount /dev/vg/lv20 /mnt
> root at host:/home/linux# ls /mnt
> lost+found data1 data2
> That is, dmsetup says "Device does not exist" about a logical volume, though
> the volume exists and is operating normally. What is the possible problem here?


Have you tried strace ?

Are you using this only in singly machine with properly running udev ?
Kernel version, lvm version, distribution... ?


linux-lvm mailing list
linux-lvm at redhat.com
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/linux-lvm/attachments/20190813/2f4f4435/attachment.htm>

More information about the linux-lvm mailing list