ZFS parallel mounting gone wrong?

Trond Endrestøl Trond.Endrestol at fagskolen.gjovik.no
Mon Apr 15 13:24:23 UTC 2019


Hi,

I upgraded a non-critical system running amd64 stable/12 to r346220.

During multiuser boot not all ZFS filesystems below zroot/usr/local 
was mounted.

Out of these filesystems, only zroot/usr/local/etc/shellkonfig3 was 
mounted:

zroot/usr/local
zroot/usr/local/certs
zroot/usr/local/etc
zroot/usr/local/etc/shellkonfig3
zroot/usr/local/etc/shellkonfig3/head
zroot/usr/local/etc/shellkonfig3/stable-10
zroot/usr/local/etc/shellkonfig3/stable-11
zroot/usr/local/etc/shellkonfig3/stable-8
zroot/usr/local/etc/shellkonfig3/stable-9
zroot/usr/local/info
zroot/usr/local/var

It's not a one-off bug, it can be replicated simply by rebooting this 
system. There is no M appended to my revision number.

Booting into singleuser mode and correctly mount all filesystems 
manually before returning to multiuser mode is not something I want to 
repeat. I will create a shell script to ease the pain anyway.

-- 
Trond.


More information about the freebsd-stable mailing list