Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Aug 2018 17:52:03 +0300 (MSK)
From:      Dmitry Morozovsky <marck@rinet.ru>
To:        Gary Palmer <gpalmer@freebsd.org>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: ZFS backup Q: send/recv and mountpoint property
Message-ID:  <alpine.BSF.2.00.1808101751040.24808@woozle.rinet.ru>
In-Reply-To: <20180810144804.GA83321@in-addr.com>
References:  <alpine.BSF.2.00.1807222110450.28320@woozle.rinet.ru> <20180804220727.GA83288@in-addr.com> <alpine.BSF.2.00.1808101740440.24808@woozle.rinet.ru> <20180810144804.GA83321@in-addr.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 10 Aug 2018, Gary Palmer wrote:

> > > On my backup server I have two pools, zfsroot and data.  I think I set 
> > > things up, and then exported data so that it's not auto-imported at boot.
> > > I then put this in /etc/rc.local
> > > 
> > > zpool import -N -R /backups data
> > > 
> > > It lets the pool import filesystems with paths like / or /home
> > > without over-writing the paths on the local system.
> > 
> > that would fit for "normal" case, but does not survive sudden reboot ;-)
> > 
> > I'm switching to zxfer for now; not ideal, but fair and usable enough
> 
> Hi,
> 
> I haven't tested reboot during sync, but I'm not sure why a sudden
> reboot would cause issues - the -R should move mounts outside 
> critical areas.  Could you elaborate please?

yes, that would be exactly the case I'm referring: reboot when your data pool 
is *not* exported 

-- 
Sincerely,
D.Marck                                     [DM5020, MCK-RIPE, DM3-RIPN]
[ FreeBSD committer:                                 marck@FreeBSD.org ]
------------------------------------------------------------------------
*** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru ***
------------------------------------------------------------------------



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