Date: Tue, 13 Oct 2015 09:02:33 +0000 From: =?utf-8?B?S2FybGkgU2rDtmJlcmc=?= <karli.sjoberg@slu.se> To: "freebsd-fs@freebsd.org" <freebsd-fs@freebsd.org> Subject: 'zfs send/recv' during resilver/scrub Message-ID: <1444726953.3939.12.camel@data-b104.adm.slu.se>
next in thread | raw e-mail | index | archive | help
Hey all! I posted this question on the forums yesterday but sending it here as well to maybe reach a different audience: https://forums.freebsd.org/threads/zfs-send-recv-during-resilver-scrub.53559/ A long time ago now, when I started writing my backup script called 'replicate', I had this notion that you shouldn´t do anything while there was a resilver/scrub in progress, based on something I read that was even older information. So the script halts if there is an ongoing resilver or scrub in either source or destination system. Now when searching for facts regarding this matter, I come up empty... So thinking about it, is it really necessary? It might just be superstition, based on old FUD that I´ve just been taking for granted. Or have I been imagining this, and it has never been an issue in the first place? Thing is that with bigger, heavily loaded systems, scrubs and resilvers can take days, even weeks, especially if it´s up at, say 80-90% capacity. And to not have any recent backups for that long period of time just isn´t right. So even if it could cause problems replicating while there is a resilver or scrub running, it´s still preferable to not having any backups. How are others handling it, like FreeNAS e.g. Do they replicate while scrubbing? What are your thoughts about this? Best Regards Karli Sjöberg
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1444726953.3939.12.camel>
