Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Mar 2018 23:59:25 +0000
From:      tech-lists <tech-lists@zyxst.net>
To:        Alan Somers <asomers@freebsd.org>
Cc:        freebsd-fs <freebsd-fs@freebsd.org>, FreeBSD Stable <freebsd-stable@freebsd.org>
Subject:   Re: zfs problems after rebuilding system
Message-ID:  <f0e9385c-4d62-a68d-ea93-f013bc456b5d@zyxst.net>
In-Reply-To: <CAOtMX2g79aqkinu0meBzhLbui7n9H9yiEwxKm6cxpZSaxbWqbg@mail.gmail.com>
References:  <21c64a2d-b9f9-24c8-88ec-ff1210891f60@zyxst.net> <CAOtMX2jfmh%2BAMccAMcPSRq-DcQgs6wioqSSUHncEfPruD=w_Ag@mail.gmail.com> <1dc2b8ef-2914-8182-e2b0-ac637e6b2095@zyxst.net> <CAOtMX2gHm_UdYzn5J6Lm76r8KakkYMzEcxddFYLqkmGYwkihuQ@mail.gmail.com> <65372449-53f1-8002-981a-e20f4a592e26@zyxst.net> <CAOtMX2g79aqkinu0meBzhLbui7n9H9yiEwxKm6cxpZSaxbWqbg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f0e9385c-4d62-a68d-ea93-f013bc456b5d>