Date: Sun, 14 Feb 2010 02:27:00 +0200 From: Dan Naumov <dan.naumov@gmail.com> To: freebsd-fs@freebsd.org, freebsd-questions@freebsd.org, FreeBSD-STABLE Mailing List <freebsd-stable@freebsd.org> Subject: Re: managing ZFS automatic mounts - FreeBSD deviates from Solaris? Message-ID: <cf9b1ee01002131627j3e57cea5m374f98759f6916c0@mail.gmail.com> In-Reply-To: <cf9b1ee01002131624r55934b8fr110d1534dee20351@mail.gmail.com> References: <cf9b1ee01002131624r55934b8fr110d1534dee20351@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Feb 14, 2010 at 2:24 AM, Dan Naumov <dan.naumov@gmail.com> wrote: > Hello > > From the SUN ZFS Administration Guide: > http://docs.sun.com/app/docs/doc/819-5461/gaztn?a=3Dview > > "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): > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D > zfs get mounted tank/home > NAME =A0 =A0 =A0 =A0 =A0 =A0PROPERTY =A0 =A0 =A0 =A0VALUE =A0 =A0 =A0 =A0= =A0 SOURCE > tank/home =A0 =A0 =A0 =A0 =A0 =A0 =A0 mounted =A0 =A0 =A0 =A0 no =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0- > > zfs set mountpoint=3D/mnt/home tank/home > > zfs get mounted tank/home > NAME =A0 =A0 =A0 =A0 =A0 =A0PROPERTY =A0 =A0 =A0 =A0VALUE =A0 =A0 =A0 =A0= =A0 SOURCE > tank/home =A0 =A0 =A0 =A0 =A0 =A0 =A0 mounted =A0 =A0 =A0 =A0 no =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0- > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D > > 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? Oops, I managed to screw up my previous email. My point was to show that "mounted" changes to YES after changing the mountpoint property :) - Dan
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?cf9b1ee01002131627j3e57cea5m374f98759f6916c0>