10.1 ZFS - why canmount=off for /usr and /var by default?

Ben Woods woodsb02 at gmail.com
Thu Feb 19 15:40:34 UTC 2015


/zroot/var exists but is not mounted to allow sub-datasets such
as /zroot/var/log to be created. It also allows for using inheretence for
all sub-datasets under zroot/var for common ZFS proprieties (eg.
Compression settings).

On Thursday, February 19, 2015, krad <kraduk at gmail.com> wrote:

> It is a bit confusing, I have to ask why call it zroot/usr at all? I use
> <pool>/os/ for stuff like ports etc and then set the mountpoint. If we must
> use usr in the name why not set the mountpoint to legacy as well, as its
> more clearly not used?
>
> On 15 February 2015 at 13:52, John Goerzen <jgoerzen at complete.org
> <javascript:;>> wrote:
>
> > Ben Woods <woodsb02 <at> gmail.com> writes:
> >
> > >
> > > To quote Allan Jude when I posed this question to him:
> > >
> > > "The /usr dataset has 'canmount' set to off. It only exists so that
> other
> > > datasets can be created under it.
> >
> > That makes sense.  But it is misleading to have the mountpoint set to
> /usr
> > and /var, isn't it?  In a zfs list, it looks as if it's being used for
> /usr
> > and /var, when really as you say it's a container.
> >
> > I wonder - would there be a place I could submit a bug report to suggest
> > that the mountpoint property be inherited at the default rather than set
> > for
> > these two filesystems?
> >
> > > To use boot environments, you need to install the tool from the ports
> > tree:
> > > sysutils/beadm-devel
> >
> > Interesting.  That looks quite nice.  I need to read up a bit more on it,
> > clearly, since it seems to be more than just a zfs clone and zpool set
> > bootfs that I was expecting.
> >
> > Thanks,
> >
> > John
> >
> >
> > _______________________________________________
> > freebsd-questions at freebsd.org <javascript:;> mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to "
> > freebsd-questions-unsubscribe at freebsd.org <javascript:;>"
> >
> _______________________________________________
> freebsd-questions at freebsd.org <javascript:;> mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscribe at freebsd.org <javascript:;>"
>


-- 

--
From: Benjamin Woods
woodsb02 at gmail.com


More information about the freebsd-questions mailing list