[Bug 239243] [zfs] regression: "zfs mount -a" mount order is incorrect for on 11.3

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Jul 16 09:41:42 UTC 2019


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

            Bug ID: 239243
           Summary: [zfs] regression: "zfs mount -a" mount order is
                    incorrect for on 11.3
           Product: Base System
           Version: 11.3-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs at FreeBSD.org
          Reporter: bsdpr at phoe.frmug.org

I just attempted an upgrade to 11.3-STABLE (svn rev 349940) and had to rollback
to svn rev 339356 because zfs' are now mounted in an incorrect order.

The boot pool has the following layout:

NAME                     CANMOUNT  MOUNTPOINT
asroot                        off  none
asroot/home                    on  /home
asroot/sys                    off  none
asroot/sys/root               off  none
asroot/sys/root/default        on  /
asroot/sys/usr                 on  /usr
asroot/sys/usr/local           on  /usr/local
asroot/sys/usr/obj             on  /usr/obj
asroot/sys/usr/ports           on  /usr/ports
asroot/sys/usr/src             on  /usr/src
asroot/sys/var                 on  /var
asroot/sys/var/audit           on  /var/audit
asroot/sys/var/crash           on  /var/crash
asroot/sys/var/log             on  /var/log
asroot/sys/var/mail            on  /var/mail
asroot/sys/var/tmp             on  /var/tmp
asroot/tmp                     on  /tmp

more filesystems are mounted to /home and /usr from another pool. Please note
that another zfs has the same mountpoint as asroot/sys/usr/local but it has the
canmount property set to noauto.

At boot time, under r339356, all the zfs' are properly mounted in a correct
order. However, under r349940, the mount order looks to be

asroot/sys/root/default
[...]
asroot/sys/usr/local
[...]
asroot/sys/usr

[I wasn't able to determine the exact mount order because "zfs mount -v -a" did
not produce any output contrary to the what is claimed in the man page.]

The net effect of this regression is that /usr/local got overlaid by /usr and
it is thus prevented from being accessed. The mount order is incorrect, I had
to rollback.

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


More information about the freebsd-bugs mailing list