All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stuart Gathman <stuart@gathman.org>
To: linux-lvm@redhat.com
Subject: Re: [linux-lvm] Continue an interrupted mirror sync?
Date: Fri, 27 Sep 2013 11:42:40 -0400	[thread overview]
Message-ID: <5245A770.5000402@gathman.org> (raw)
In-Reply-To: <CAHuLeSktKr++TH6cqsaHYS9CEDNCm9DVYAy=f8nWPkz8vEpjFw@mail.gmail.com>

On 09/27/2013 05:26 AM, Justin Lee wrote:
> Hello,
>
> I would like to know If a mirror sync process is interrupted by some
> uncontrollable reason, is it possible to continue the sync process
> near the point where it was interrupted?
>
> Volume mirroring may take a long time to be done, if the connection of
> the storage device is over an unreliable channel (such as SAN, iSCSI
> or Fibre Channel) it is possible that ongoing sync will be interrupted
> over and over again due to frequent connection loss so that the sync
> will never complete...
>
> Has LVM existing solutions for the issue? Or any suggestion? Thank you!
Pretty much the entire purpose of the mirror log is to accomplish this 
(track which blocks are in sync).  Is this a real problem you've 
encountered (mirror log is broken), or a theoretical one?  If you 
created a mirror without a log, then yes, it pretty much has to start 
over each time.  A compromise might be to keep the log in memory.  This 
would handle SAN storage going up and down, but would have to start over 
after a reboot.

  reply	other threads:[~2013-09-27 15:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-27  9:26 [linux-lvm] Continue an interrupted mirror sync? Justin Lee
2013-09-27 15:42 ` Stuart Gathman [this message]
2013-09-28  4:58   ` Justin Lee

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=5245A770.5000402@gathman.org \
    --to=stuart@gathman.org \
    --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 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.