[Bug 221985] "zfs mount -o remount" is broken

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Sep 1 21:13:56 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221985

            Bug ID: 221985
           Summary: "zfs mount -o remount" is broken
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: asomers at FreeBSD.org

The "remount" option to the "zfs mount" subcommand is not documented in the man
page, but it is supported by Illumos.  It is used to temporarily change a
filesystem's properties while the fs is mounted.

# On Illumos
$ mount | grep foo
/foo on foo read/write/setuid/devices/nonbmand/exec/xattr/atime/dev=4350004 on
Fri Sep  1 15:09:49 2017
$ sudo zfs mount -o remount,noatime foo
$ mount | grep foo
/foo on foo read/write/setuid/devices/nonbmand/exec/xattr/noatime/dev=4350004
on Fri Sep  1 15:10:06 2017


# On FreeBSD
> zfs mount -o remount,atime testpool
cannot mount 'testpool': mountpoint or dataset is busy

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list