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

Zdenek Kabelac zkabelac at redhat.com
Tue Aug 13 13:54:12 UTC 2019


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?
>

Hi

Have you tried  strace ?

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


Zdenek




More information about the linux-lvm mailing list