Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Mar 2013 06:24:30 +0000
From:      Ben Morrow <ben@morrow.me.uk>
To:        freebsd-stable@freebsd.org
Subject:   Re: Musings on ZFS Backup strategies
Message-ID:  <20130303062426.GA55406@anubis.morrow.me.uk>
In-Reply-To: <20130303051754.GE21613@macbook.bluepipe.net>
References:  <5130BA35.5060809@denninger.net> <5130EB8A.7060706@gmail.com> <20130303042301.GA54356@anubis.morrow.me.uk> <5132D843.4000800@denninger.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Quoth Phil Regnauld <regnauld@x0.dk>:
> 
> > The only risk that makes me uncomfortable doing this is that the pool is
> > always active when the system is running.  With UFS backup disks it's
> > not -- except when being actually written to they're unmounted, and this
> > materially decreases the risk of an insane adapter scribbling the
> > drives, since there is no I/O at all going to them unless mounted. 
> > While the backup pool would be nominally idle it is probably
> > more-exposed to a potential scribble than the UFS-mounted packs would be.
> 
> 	Could "zpool export" in between syncs on the target, assuming that's not
> 	your root pool :)

If I were feeling paranoid I might be tempted to not only keep the pool
exported when not in use, but to 'zpool offline' one half of the mirror
while performing the receive, then put it back online and allow it to
resilver before exporting the whole pool again. I'm not sure if there's
any way to wait for the resilver to finish except to poll 'zpool
status', though.

Ben




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