From owner-freebsd-current@FreeBSD.ORG Wed Oct 17 17:24:21 2012 Return-Path: Delivered-To: current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C9B96E95 for ; Wed, 17 Oct 2012 17:24:21 +0000 (UTC) (envelope-from mad@madpilot.net) Received: from micro.madpilot.net (micro.madpilot.net [88.149.173.206]) by mx1.freebsd.org (Postfix) with ESMTP id 62FCE8FC08 for ; Wed, 17 Oct 2012 17:24:21 +0000 (UTC) Received: from micro.madpilot.net (localhost [127.0.0.1]) by micro.madpilot.net (Postfix) with ESMTP id 3XhgH74Rsbz2xW for ; Wed, 17 Oct 2012 19:24:19 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=madpilot.net; h= content-transfer-encoding:content-type:content-type:subject :subject:mime-version:user-agent:from:from:date:date:message-id :received:received; s=mail; t=1350494657; x=1352309058; bh=2nMms ultHN3i6OlpZKizCE3fGX3UHRC5sYmmM3xsWzE=; b=XVGpfW9g0ekQwU+Q6xk/t TIjP21cPYrivEdNzvzbYiaSFABGH+lWWZui1ZvXeGEyV6fkyYIznHPI321+Zj7wh QutZ+zqWBLgRSloAhTyo0JqM9jrIwVvim8PGIR5Sky8yxMMh8amc+3B0M5iYvfLH LNvhdekoR54fmaGrybO0PQ= X-Virus-Scanned: amavisd-new at madpilot.net Received: from micro.madpilot.net ([127.0.0.1]) by micro.madpilot.net (micro.madpilot.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WGPOV-3Ecx29 for ; Wed, 17 Oct 2012 19:24:17 +0200 (CEST) Received: from marvin.madpilot.net (localhost [127.0.0.1]) by micro.madpilot.net (Postfix) with ESMTP for ; Wed, 17 Oct 2012 19:24:17 +0200 (CEST) Message-ID: <507EE9C1.7060800@madpilot.net> Date: Wed, 17 Oct 2012 19:24:17 +0200 From: Guido Falsi User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:16.0) Gecko/20121013 Thunderbird/16.0.1 MIME-Version: 1.0 To: "current@FreeBSD.org" Subject: Regression with ZFS on recent current Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Oct 2012 17:24:21 -0000 Hi! While testing portshaker I found a regression in latest current. portshaker depends on ZFS(when enabling ZFS support) remounting filesystems on the fly when changing the mountpoint property. This is working as expected on 9.x while on 10-current is not working. Problem has appeared sometime before October 3rd. Here is some sample output from a9.x machine and a 10-current one: root@micro:~ [0]# uname -a FreeBSD micro.madpilot.net 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #0 r239180: Sat Aug 11 00:14:47 CEST 2012 root@micro.madpilot.net:/usr/obj/usr/src/sys/MICRO amd64 root@micro:~ [0]# zfs create tank/test root@micro:~ [0]# touch /test/baz root@micro:~ [0]# zfs set mountpoint=/foo tank/test root@micro:~ [0]# ls -ld /foo drwxr-xr-x 2 root wheel 3 Oct 17 19:18 /foo root@micro:~ [0]# ls -l /foo/ total 1 -rw-r--r-- 1 root wheel 0 Oct 17 19:18 baz root@micro:~ [0]# zfs list tank/test NAME USED AVAIL REFER MOUNTPOINT tank/test 144K 826G 144K /foo root@marvin:~ [0]# uname -a FreeBSD marvin.madpilot.net 10.0-CURRENT FreeBSD 10.0-CURRENT #7 r241638: Wed Oct 17 14:33:18 CEST 2012 root@marvin.madpilot.net:/usr/obj/usr/src/sys/MARVIN amd64 root@marvin:~ [0]# zfs create tank/test root@marvin:~ [0]# touch /test/baz root@marvin:~ [0]# zfs set mountpoint=/foo tank/test root@marvin:~ [0]# ls -ld /foo ls: /foo: No such file or directory root@marvin:~ [1]# ls -l /foo/ ls: /foo/: No such file or directory root@marvin:~ [1]# ls -ld /test drwxr-xr-x 2 root wheel 3 Oct 17 19:19 /test root@marvin:~ [0]# zfs list tank/test NAME USED AVAIL REFER MOUNTPOINT tank/test 31K 240G 31K /foo Is this known? is the new behavior expected? Am I doing something stupid? Thanks in advance -- Guido Falsi