From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx1.redhat.com (ext-mx08.extmail.prod.ext.phx2.redhat.com [10.5.110.32]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 288C1805E3 for ; Tue, 13 Aug 2019 21:25:49 +0000 (UTC) Received: from mail-ed1-f54.google.com (mail-ed1-f54.google.com [209.85.208.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 1548BC00861F for ; Tue, 13 Aug 2019 21:25:48 +0000 (UTC) Received: by mail-ed1-f54.google.com with SMTP id h8so20002382edv.7 for ; Tue, 13 Aug 2019 14:25:48 -0700 (PDT) Received: from DB7PR08MB3307.eurprd08.prod.outlook.com ([2603:1026:5:19::5]) by smtp.gmail.com with ESMTPSA id cd24sm1284373ejb.89.2019.08.13.14.25.44 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 13 Aug 2019 14:25:45 -0700 (PDT) From: Bernd Eckenfels Date: Tue, 13 Aug 2019 21:25:43 +0000 Message-ID: References: <843935217a8de82c4cf47f02953489c6@cs.uni-dortmund.de>, <7f6f03e1-dbb1-971c-7f1f-f6c380a16b77@redhat.com> In-Reply-To: <7f6f03e1-dbb1-971c-7f1f-f6c380a16b77@redhat.com> Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_DB7PR08MB3307023F548797EE6D6D60ACFFD20DB7PR08MB3307eurp_" MIME-Version: 1.0 Subject: Re: [linux-lvm] dmsetup says "Device does not exist", though it exists Reply-To: LVM general discussion and development List-Id: LVM general discussion and development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , List-Id: To: LVM general discussion and development --_000_DB7PR08MB3307023F548797EE6D6D60ACFFD20DB7PR08MB3307eurp_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hello, I did not know dmsetup works with lvm file names, did you try to run `dmset= up ls` to see the known devices and the dm compatible name? Gruss Bernd -- http://bernd.eckenfels.net ________________________________ Von: linux-lvm-bounces@redhat.com im Auftrag von Zdenek Kabelac 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 ex= ists 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 o= utput > 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, tho= ugh > 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/ --_000_DB7PR08MB3307023F548797EE6D6D60ACFFD20DB7PR08MB3307eurp_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
Hello,

I did not know dmsetup works with lvm file n= ames, did you try to run `dmsetup ls` to see the known devices and the dm c= ompatible name?

Gruss
Bernd


--
http://bernd.eckenfels.net
 

Von: linu= x-lvm-bounces@redhat.com im Auftrag von Zdenek Kabelac <zkabelac@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&qu= ot;, 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 th= ese
> volumes has a strange problem with dmsetup, shown by these commands an= d 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 logica= l volume, though
> the volume exists and is operating normally. What is the possible prob= lem 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/
--_000_DB7PR08MB3307023F548797EE6D6D60ACFFD20DB7PR08MB3307eurp_--