Hello,

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?

Gruss
Bernd


--
http://bernd.eckenfels.net

________________________________
Von: linux-lvm-boun...@redhat.com im Auftrag von Zdenek Kabelac 
<zkabe...@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@host:/home/linux# /sbin/dmsetup info -c -o name --noheadings /dev/vg/lv20
> Device does not exist.
> Command failed
>
> root@host:/home/linux# lvdisplay -c /dev/vg/lv20
>   /dev/vg/lv20:vg:3:1:-1:0:4194304:512:-1:0:-1:253:19
>
> root@host:/home/linux# mount /dev/vg/lv20 /mnt
> root@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

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

Reply via email to