linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Bernd Eckenfels <ecki@zusammenkunft.net>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] dmsetup says "Device does not exist", though it exists
Date: Tue, 13 Aug 2019 21:25:43 +0000	[thread overview]
Message-ID: <DB7PR08MB3307023F548797EE6D6D60ACFFD20@DB7PR08MB3307.eurprd08.prod.outlook.com> (raw)
In-Reply-To: <7f6f03e1-dbb1-971c-7f1f-f6c380a16b77@redhat.com>

[-- Attachment #1: Type: text/plain, Size: 1653 bytes --]

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-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", 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/

[-- Attachment #2: Type: text/html, Size: 9185 bytes --]

  reply	other threads:[~2019-08-13 21:25 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-13  7:11 [linux-lvm] dmsetup says "Device does not exist", though it exists Christoph Pleger
2019-08-13 13:54 ` Zdenek Kabelac
2019-08-13 21:25   ` Bernd Eckenfels [this message]
2019-08-14 11:09     ` Zdenek Kabelac
2019-08-14  7:22   ` Christoph Pleger
2019-08-14 11:07     ` Zdenek Kabelac
2019-08-14 12:49       ` Christoph Pleger
2019-08-14 13:06       ` Christoph Pleger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=DB7PR08MB3307023F548797EE6D6D60ACFFD20@DB7PR08MB3307.eurprd08.prod.outlook.com \
    --to=ecki@zusammenkunft.net \
    --cc=linux-lvm@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).