From: Christoph Pleger <christoph.pleger@cs.uni-dortmund.de>
To: Zdenek Kabelac <zkabelac@redhat.com>
Cc: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] dmsetup says "Device does not exist", though it exists
Date: Wed, 14 Aug 2019 14:49:11 +0200 [thread overview]
Message-ID: <bb6246877842a3b0049f6b61b4a050e6@cs.uni-dortmund.de> (raw)
In-Reply-To: <110d7a9c-c075-65bc-cedd-eca0c9904d23@redhat.com>
Hello,
> So are you actually trying to access not a 'normal' LV - but an LV
> under snapshot ?
No, /dev/vg/lv20 is a normal logical volume. But /dev/vg/lv15 has been
under snapshot before.
Now, I created a snapshot manually (before. it was created by an
automatic backup mechanism) and saw what happened:
1. I created the snapshot with 'lvcreate -s -L 2G /dev/vg/lv15'
2. Afterwards, a symbolic link /dev/vg/lvol0 existed and pointed to
/dev/dm-21. Additionally, a link /dev/mapper/vg-lv15-real existed,
pointing to /dev/dm-19
3. I deleted the snapshot with lvremove
4. Afterwards, /dev/vg/lvol0 had disappeared. /dev/mapper/vg-lv15-real
was still present, and it did not point to /dev/dm-19 any more, but to
/dev/dm-18, the same as /dev/vg/lv20
Regards
Christoph
next prev parent reply other threads:[~2019-08-14 12:49 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
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 [this message]
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=bb6246877842a3b0049f6b61b4a050e6@cs.uni-dortmund.de \
--to=christoph.pleger@cs.uni-dortmund.de \
--cc=linux-lvm@redhat.com \
--cc=zkabelac@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).