Date: Tue, 31 Jul 2018 14:32:01 -0700 From: Freddie Cash <fjwcash@gmail.com> To: John <jwd@freebsd.org> Cc: FreeBSD Filesystems <freebsd-fs@freebsd.org> Subject: Re: Nfsroot .zfs/snapshot mounted on different mount? Message-ID: <CAOjFWZ6VKWSKja96NwA=7-VY5OPXSbDhvVUNSqHA0gsjRnJaBA@mail.gmail.com> In-Reply-To: <20180731212355.GA19206@FreeBSD.org> References: <20180731212355.GA19206@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jul 31, 2018 at 2:25 PM John <jwd@freebsd.org> wrote: > Hi Folks, > > I ran into something today I didn't expect and was wondering > how it is accomplished - or something is going on in the NFS > code I've never seen. > > I have some remote nfs booted systems where the OS lives > on ZFS volumes (the client is linux):. > > 10.121.56.21:/vol/nfsbt_sysgpu01 100G 4.7G 96G 5% / > > After installing the latest gpu drivers I was asked to > compare a few things and went into the /.zfs/snapshot directory > as typical. However, I then noticed a 2nd nfs mount had > appeared: > > 10.121.56.21:/vol/nfsbt_sysgpu01/.zfs/snapshot/rb_20180727-185554_drivers > 100G 4.7G 96G 5% /.zfs/snapshot/rb_20180727-185554_drivers > > To my knowledge, I have no auto-mounter that could have done > the mount. I'm curious where this is hooked in. > > The server is: > > FreeBSD 11.1-STABLE #11 r327104: Sat Dec 23 08:19:22 EST 2017 > > with standard nfsv3 exports. Other than this curiousness > the system is flawless. > Not sure about the NFS side of things, but the FreeBSD kernel has auto-mounted the .zfs/snapshot/<snapname> filesystem upon access from the first ZFS import into FreeBSD 7. Depending on how the NFS mount is setup, this may be carrying-over from the kernel auto-mount. -- Freddie Cash fjwcash@gmail.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOjFWZ6VKWSKja96NwA=7-VY5OPXSbDhvVUNSqHA0gsjRnJaBA>