From: David Coulson <david@davidcoulson.net>
To: Mike Snitzer <snitzer@redhat.com>
Cc: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] Auto PV scan w/ LVM
Date: Fri, 26 Mar 2010 12:29:47 -0400 [thread overview]
Message-ID: <4BACE0FB.5010703@davidcoulson.net> (raw)
In-Reply-To: <20100326161851.GB15016@redhat.com>
On 3/26/2010 12:18 PM, Mike Snitzer wrote:
> I'm not crystal clear on your use-case (e.g. the mechanics and
> constraints of when the clone is presented to the backup, etc).
>
The process is basically this:
* Clone in 'sync' state so it is replicating block changes from the
source. The clone LUN is still visible to the backup server, however
both paths are 'failed' to multipathd
* We fracture/break the clone which makes the clone LUN available to the
backup server for IO
* We mount LVs from the clone LUN on the backup server, run our backup
job, unmount it
* vgexport the clone LUN VG and remove it from our multipath list with
'multipath -f'
* Tell the SAN to start syncing the clone to source again until we need
to break it for another backup.
I basically need to find a nice way to make LVM ignore the clone disk on
the backup system until I am ready to make use of it for a backup.
multipathd sees it as failed during this time, but vgscan/pvscan, etc
all hang. Maybe that is normal.
> But the 'vgimportclone' command will enable you to make the cloned LUNs
> distinct from the originals. Does this help you?
>
The clone gets mounted on a different box to the source, so it's not
important to me. I don't have a vgimportclone command on RHEL4, unless I
need to install some additional packages.
David
next prev parent reply other threads:[~2010-03-26 16:29 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-26 14:16 [linux-lvm] Auto PV scan w/ LVM David Coulson
2010-03-26 16:18 ` Mike Snitzer
2010-03-26 16:29 ` David Coulson [this message]
2010-03-26 18:16 ` Mike Snitzer
2010-03-26 18:32 ` David Coulson
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=4BACE0FB.5010703@davidcoulson.net \
--to=david@davidcoulson.net \
--cc=linux-lvm@redhat.com \
--cc=snitzer@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.