managing ZFS automatic mounts - FreeBSD deviates from Solaris?

Dan Naumov dan.naumov at gmail.com
Sun Feb 14 00:24:32 UTC 2010


Hello

>From the SUN ZFS Administration Guide:
http://docs.sun.com/app/docs/doc/819-5461/gaztn?a=view

"If ZFS is currently managing the file system but it is currently
unmounted, and the mountpoint property is changed, the file system
remains unmounted."

This does not seem to be the case in FreeBSD (8.0-RELEASE):

=================================
zfs get mounted tank/home
NAME		PROPERTY	VALUE		SOURCE
tank/home		mounted		no			-

zfs set mountpoint=/mnt/home tank/home

zfs get mounted tank/home
NAME		PROPERTY	VALUE		SOURCE
tank/home		mounted		no			-
=================================

This might not look like a serious issue at first, until you try doing
an installation of FreeBSD from FIXIT, trying to setup multiple
filesystems and their mountpoints at the very end of the installation
process. For example if you set the mountpoint of your
poolname/rootfs/usr to /usr as one of the finishing touches to the
system installation, it will immideately mount the filesystem,
instantly breaking your FIXIT environment and you cannot proceed any
further. Is this a known issue and/or should I submit a PR?

- Sincerely,
Dan Naumov


More information about the freebsd-questions mailing list