zfs problems after rebuilding system

tech-lists tech-lists at zyxst.net
Fri Mar 2 23:59:28 UTC 2018


On 02/03/2018 21:56, Alan Somers wrote:
> dmesg only shows stuff that comes from the kernel, not the console.  To
> see what's printed to the console, you'll actually have to watch it.  Or
> enable /var/log/console.log by uncommenting the appropriate line in
> /etc/syslog.conf.

ok did that, chmodded it to 600 then gave a kill -1 to its process id,
then rebooted.

# cat /var/log/console.log | grep -i zfs
# <nothing>

lots of info if I less the file, but nothing about zfs

here's output of mount:

# mount
/dev/ada0s1a on / (ufs, local, journaled soft-updates)
devfs on /dev (devfs, local, multilabel)
linprocfs on /compat/linux/proc (linprocfs, local)
tmpfs on /compat/linux/dev/shm (tmpfs, local)
zpool0 on /zpool0 (zfs, local, nfsv4acls)
zpool0/home on /zpool0/home (zfs, local, nfsv4acls)
zpool0/usr on /zpool0/usr (zfs, local, nfsv4acls)
zpool0/usr/local on /zpool0/usr/local (zfs, local, nfsv4acls)
zpool0/vms on /zpool0/vms (zfs, local, nfsv4acls)
zpool0/usr/oldsrc on /usr/oldsrc (zfs, local, nfsv4acls)
zpool0/usr/ports on /usr/ports (zfs, local, nfsv4acls)
zpool0/usr/src on /usr/src (zfs, local, nfsv4acls)

#

output of zfs mount

# zfs mount
zpool0                         /zpool0
zpool0/home                    /zpool0/home
zpool0/usr                     /zpool0/usr
zpool0/usr/local               /zpool0/usr/local
zpool0/vms                     /zpool0/vms
zpool0/usr/oldsrc              /usr/oldsrc
zpool0/usr/ports               /usr/ports
zpool0/usr/src                 /usr/src

now I'll do zfs mount -a and then zfs mount

# zfs mount -a

# zfs mount
zpool0                         /zpool0
zpool0/home                    /zpool0/home
zpool0/usr                     /zpool0/usr
zpool0/usr/local               /zpool0/usr/local
zpool0/vms                     /zpool0/vms
zpool0/usr/oldsrc              /usr/oldsrc
zpool0/usr/ports               /usr/ports
zpool0/usr/src                 /usr/src
zpool1                         /zpool1
zpool1/compressed              /zpool1/compressed
zpool1/important               /zpool1/important

and everything is there as it should be, after zfs mount -a.

it's as if the /etc/rc.d/zfs either isn't running or I don't know,
failing to run the main section, where it uses -av rather than just -a.
Is this file the only one that's called to load zfs?

I mean, in that file, zfs mount is never called without a parameter. To
me, it doesn't look like the file is being run at all.

thanks,
-- 
J.


More information about the freebsd-fs mailing list