Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 01 Sep 2017 21:13:38 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 221985] "zfs mount -o remount" is broken
Message-ID:  <bug-221985-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D221985

            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@FreeBSD.org
          Reporter: asomers@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=3D43500=
04 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=3D435=
0004
on Fri Sep  1 15:10:06 2017


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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-221985-8>