From: Stephane Chazelas <stephane_chazelas@yahoo.fr>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] dmsetup -split is buggy
Date: Mon, 15 Aug 2011 11:09:02 +0100 [thread overview]
Message-ID: <20110815100902.GA4438@yahoo.fr> (raw)
In-Reply-To: <4E48E81C.9040504@tlinx.org>
2011-08-15 02:34:20 -0700, Linda A. Walsh:
[...]
> I can hack around the bug, but its surprising that dmsetup doesn't support
> the only official LVM names (/dev/VG/LV).
>
> Is this bug a 'feature', or is it something that should be fixed?
[...]
dmsetup deals with device-mapper devices. Those in /dev/mapper,
that you can see with "dmsetup table". LVM uses the
device-mapper, and is one of the many subsystems that use it.
You can even create device mapper devices manually and use
whatever convention you like like.
sudo dmsetup table VG-LV | dmsetup create LV@VG
for instance, to make a clone of the VG-LV device (created by LVM from
the VG/LV subvolume) as a LV@VG device.
If there's a bug in dmsetup, it's with providing with a
"splitname" subcommand. I can't think of any good reason why
that is included. IMO, that feature should be provided by LVM,
not dmsetup.
--
Stephane
next prev parent reply other threads:[~2011-08-15 10:09 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-15 9:34 [linux-lvm] dmsetup -split is buggy Linda A. Walsh
2011-08-15 10:09 ` Stephane Chazelas [this message]
2011-08-15 11:30 ` Peter Rajnoha
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=20110815100902.GA4438@yahoo.fr \
--to=stephane_chazelas@yahoo.fr \
--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).