ZFS backup Q: send/recv and mountpoint property

Dmitry Morozovsky marck at rinet.ru
Fri Aug 10 14:52:07 UTC 2018


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 at FreeBSD.org ]
------------------------------------------------------------------------
*** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck at rinet.ru ***
------------------------------------------------------------------------


More information about the freebsd-fs mailing list