From: George Shuklin <george.shuklin@gmail.com>
To: device-mapper development <dm-devel@redhat.com>
Subject: Re: readonly snapshots of LVM on same machine
Date: Fri, 23 Mar 2012 19:46:15 +0400 [thread overview]
Message-ID: <4F6C9AC7.6050105@gmail.com> (raw)
In-Reply-To: <20120302021613.GB1328@agk-dp.fab.redhat.com>
On 02.03.2012 06:16, Alasdair G Kergon wrote:
> On Fri, Mar 02, 2012 at 06:11:52AM +0400, George Shuklin wrote:
>> If I attach a readonly snapshot of same disk as system disk, I'm getting
>> message of duplicate ID (obvious, huh). But snapshot is in readonly, so
>> there is no way to rename it or change ID. Changing ID of system LVM is
>> not really good idea.
> All you can do then is set up filters so each cmd only sees the disks you
> want it to see.
>
> Temporarily, --config lets you do this on each cmdline.
>
> For a permanent setup, another option is to use a separate lvm.conf by setting
> LVM_SYSTEM_DIR in the environment.
>
Good day.
I've check this, but found it ignores new VG with same name.
I've filter system disk out, attach snapshot, allow only snapshot device
to be scanned. Pvscan found pv, vgscan, vgchange -a y all them works
without complains, but no any new /dev/dm* devices appears (and no any
messages in udevadm monitor).
So problem is the same: how to LVM volumes on readonly snapshot on same
machine as original disk.
prev parent reply other threads:[~2012-03-23 15:46 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-02 2:11 readonly snapshots of LVM on same machine George Shuklin
2012-03-02 2:16 ` Alasdair G Kergon
2012-03-23 15:46 ` George Shuklin [this message]
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=4F6C9AC7.6050105@gmail.com \
--to=george.shuklin@gmail.com \
--cc=dm-devel@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.