Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Mar 2022 12:58:40 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 262617] ZFS pool on USB drive does not mount correctly on startup
Message-ID:  <bug-262617-227-HtW3vPv0oK@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-262617-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-262617-227@https.bugs.freebsd.org/bugzilla/>

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

--- Comment #1 from donaldcallen@gmail.com ---
On the not-plugged-in at boot-time case:

Plugging the disk in results in the GPT primary table corruption messages
previous reported.

Attempting=20

zfs mount Primary

results in
"Cannot open 'Primary': data set does not exist"

zpool status Primary:

"cannot open 'Primary': no such pool"

As I said in my earlier post, rebooting with the drive plugged in results in
the pool being mounted:

Filesystem            Size    Used   Avail Capacity  Mounted on
zroot/ROOT/default    219G    7.8G    211G     4%    /
devfs                 1.0K    1.0K      0B   100%    /dev
zroot/tmp             211G     17M    211G     0%    /tmp
zroot                 211G     96K    211G     0%    /zroot
zroot/usr/ports       211G     96K    211G     0%    /usr/ports
zroot/var/mail        211G    144K    211G     0%    /var/mail
zroot/var/audit       211G     96K    211G     0%    /var/audit
zroot/var/crash       211G     96K    211G     0%    /var/crash
zroot/usr/home        215G    4.2G    211G     2%    /usr/home
zroot/var/log         211G    296K    211G     0%    /var/log
zroot/var/tmp         211G     96K    211G     0%    /var/tmp
zroot/usr/src         211G     96K    211G     0%    /usr/src
Primary               1.8T    346G    1.4T    19%    /usr/home/dca/Primary

The space utilization numbers are correct but 'ls Primary' or 'ls' of any f=
iles
I know are there returns nothing.

zfs umount Primary
zfs mount Primary

gets the pool mounted properly.

--=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-262617-227-HtW3vPv0oK>