From owner-freebsd-questions@FreeBSD.ORG Sun Feb 14 00:27:01 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DDC6710656D6; Sun, 14 Feb 2010 00:27:01 +0000 (UTC) (envelope-from dan.naumov@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.27]) by mx1.freebsd.org (Postfix) with ESMTP id 6D74B8FC1F; Sun, 14 Feb 2010 00:27:01 +0000 (UTC) Received: by qw-out-2122.google.com with SMTP id 8so226290qwh.7 for ; Sat, 13 Feb 2010 16:27:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=hkLs5ojGyaJqoyTrHRxLavMOgdRXEDy0lqa7OIT+4I4=; b=fh4krHRTBGE7HSXp5U6IbTWKqmPQ02PXf51emhO0lCrxn9/9Siet9nOd/RiM9DWsYX Rui69xnWjLQ0cY8ER5W/G84cpXgodyh5RNqQu1Rmx/bQQ8fEoheMKwHJvgzjzzcr2PVd uxM6aJaTwFsmv7iyI4YX9ETK9sSedPuvvMTdE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=qmOB+gAhtIhbi1KiJ4HLPO8q06YnJu4mUovG2lMD1dv3VoEHHFVy+4vQksFDBG612X 9qE7GzaxdyuVL+ePxfbxSP4J7v24vF9MeNJjHm/ESgB8wbqqL0xCnuqC/qN9alf9cvX2 q6tgwY+jxv/fpFg70QKJ8c5J+xZpzuqx1PEwU= MIME-Version: 1.0 Received: by 10.224.63.170 with SMTP id b42mr1595678qai.39.1266107220466; Sat, 13 Feb 2010 16:27:00 -0800 (PST) In-Reply-To: References: Date: Sun, 14 Feb 2010 02:27:00 +0200 Message-ID: From: Dan Naumov To: freebsd-fs@freebsd.org, freebsd-questions@freebsd.org, FreeBSD-STABLE Mailing List Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Subject: Re: managing ZFS automatic mounts - FreeBSD deviates from Solaris? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Feb 2010 00:27:02 -0000 On Sun, Feb 14, 2010 at 2:24 AM, Dan Naumov 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