RE: Two RAID1 mirrors are faster than three

Anders Karlsson (anders@trudheim.com)
15 May 2003 11:51:14 +0100


This is a MIME-formatted message. If you see this text it means that your
E-mail software does not support MIME-formatted messages.

--=_courier-13639-1052995914-0001-2
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Hi Riley,

> > With normal mirroring (one original, one copy) you do have the
> > redundancy and the speed boost at reads, but at mirroring with one
> > original and two copies (I know AIX does this), you get in to a
> > scenario that is quite handy. Say you run a large database in a
> > 24/7 operation. You want to back the database up, but you can only
> > get 5-10 minutes downtime on it. You then quiesce the database,
> > split off the second copy from the mirror, mount that as a
> > separate file system and back that up while the original with its
> > first copy has already stepped back into full use.
> >
> > Once you finished your backup, you add your split-off copy back to
> > the original and primary copy and you are back where you started.
>=20
> Does this cause any problems, with the third disc now being out of
> date compared to the first two?

No, it should not cause problems as when you add the split-off copy back
into the mirror, it is treated as 'stale' and will get synchronised with
the original.=20

I would be very surprised if the Linux software md driver worked any
diffrently than this. Perhaps someone that knows it in-depth can add to
the conversation?

With the facilities of LVM 'snapshots' now being available, this
practice of splitting off one copy from a three-way mirror is perhaps
becoming redundant, but people will likely take the approach of "if it
ain't broken, don't fix it" and leave old backup methods as they are.
So if you work in the sysadm field, you might well come across this
practice.

Regards,

/Anders

--=_courier-13639-1052995914-0001-2
Content-Type: application/pgp-signature; name="signature.asc"
Content-Transfer-Encoding: 7bit
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)

iD8DBQA+w3EiLYywqksgYBoRAgjuAKCwRKEgtW9hal+VzlCfBRs2Gny2iACgqX2X
778VOO3vJKy/37+bee8E368=
=0vC0
-----END PGP SIGNATURE-----

--=_courier-13639-1052995914-0001-2--