Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 02 Jan 2011 22:27:59 +0100
From:      "Julian H. Stacey" <jhs@berklix.com>
To:        David Brodbeck <gull@gull.us>
Cc:        freebsd general questions <freebsd-questions@freebsd.org>
Subject:   Re: Half a Mirror Backup 
Message-ID:  <201101022128.p02LRxSj037409@fire.js.berklix.net>
In-Reply-To: Your message "Sun, 02 Jan 2011 12:30:47 PST." <AANLkTik8XdJoD4nV8cQTy0xkkGiP_TRRpfBQErZyZYjf@mail.gmail.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
David Brodbeck wrote:
> On Sun, Jan 2, 2011 at 11:56 AM, Jason C. Wells <jcw@speakeasy.net> wrote:
> > Is using one half of a mirror as a backup a good/bad idea?
> >
> > I was thinking of rotating drives on a periodic basis as a back up method.
> >  You'd get the backup instantly, but rebuilding the mirror with the incoming
> > drive would take a little time and leave you vulnerable to a small loss of
> > data if a disk failed while the mirror was rebuilding.
> 
> Besides the problem you mention, you'll have a pretty sizable
> performance hit while the mirror is being rebuilt.  Also, keep in mind
> that the most likely time for a second drive to fail is during a
> rebuild, since the rebuild forces a read from every sector.  I think I
> would use rsync or dump instead, although I have to admit the rotating
> mirror idea is clever.

Ref rsync:
Personally I use rdist6, (from familiarity=habit rather than conscious
choice, (it's more limited predecessor rdist, has been in BSD a Long time))

But beware: rdist6 fails on files bigger than 2G on i686 but (not
on amd64, on amd64 no problem), I wouldnt know if rsync might have
a similar 2G restriction.

Cheers,
Julian
-- 
Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com
	Mail plain text;  Not quoted-printable, or HTML or base 64.
	Avoid top posting, it cripples itemised cumulative responses.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201101022128.p02LRxSj037409>