RE: Two RAID1 mirrors are faster than three

Anders Karlsson
2003-05-15T10:38:32Z

[-- Attachment #1: Type: text/plain, Size: 1607 bytes --]

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.
>
> 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.

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

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]