lkml.org 
[lkml]   [2003]   [May]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRE: Two RAID1 mirrors are faster than three
From
Date
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
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2005-03-22 13:35    [W:0.550 / U:0.284 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site