From: David Greaves <david@dgreaves.com>
To: Stefan Majer <stefan@x-cellent.com>
Cc: linux-raid@vger.kernel.org
Subject: Re: host based mirror distance in a fc-based SAN environment
Date: Wed, 26 Jul 2006 11:56:15 +0100 [thread overview]
Message-ID: <44C74A4F.4010504@dgreaves.com> (raw)
In-Reply-To: <45063.212.34.68.17.1153893489.squirrel@extern.x-cellent.com>
Stefan Majer wrote:
> Hi,
>
> im curious if there are some numbers out up to which distance its possible
> to mirror (raid1) 2 FC-LUNs. We have 2 datacenters with a effective
> distance of 11km. The fabrics in one datacenter are connected to the
> fabrics in the other datacenter with 5 dark fibre both about 11km in
> distance.
>
> I want to set up servers wich mirrors their LUNs across the SAN-boxen in
> both datacenters. On top of this mirrored LUN i put lvm2.
>
> So the question is does anybody have some numbers up to which distance
> this method works ?
No. But have a look at man mdadm in later mdadm:
-W, --write-mostly
subsequent devices lists in a --build, --create, or --add
command will be flagged as 'write-mostly'. This is valid
for RAID1 only and means that the 'md' driver will avoid
reading from these devices if at all possible. This can be
useful if mirroring over a slow link.
--write-behind=
Specify that write-behind mode should be enabled (valid for
RAID1 only). If an argument is specified, it will set the
maximum number of outstanding writes allowed. The default
value is 256. A write-intent bitmap is required in order
to use write-behind mode, and write-behind is only
attempted on drives marked as write-mostly.
Which suggests that the WAN/LAN latency shouldn't impact you except on
failure.
HTH
David
--
next prev parent reply other threads:[~2006-07-26 10:56 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-26 5:58 host based mirror distance in a fc-based SAN environment Stefan Majer
2006-07-26 10:56 ` David Greaves [this message]
2006-07-26 20:31 ` Luca Berra
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=44C74A4F.4010504@dgreaves.com \
--to=david@dgreaves.com \
--cc=linux-raid@vger.kernel.org \
--cc=stefan@x-cellent.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).