[Bug 271455] ZFS disks (pools) disappear when system is rebooted without them

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 16 May 2023 18:47:13 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271455

Graham Perrin <grahamperrin@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |needs-qa
                URL|                            |https://openzfs.github.io/o
                   |                            |penzfs-docs/man/8/zdb.8.htm
                   |                            |l#C
           Assignee|bugs@FreeBSD.org            |fs@FreeBSD.org
             Status|New                         |Open

--- Comment #1 from Graham Perrin <grahamperrin@freebsd.org> ---
zdb --config --cachefile=/etc/zfs/zpool.cache


If details of the required pool are not within the cachefile, then I should not
expect an automated import when the system enters multi-user mode. 


From
<https://openzfs.github.io/openzfs-docs/Project%20and%20Community/FAQ.html#the-etc-zfs-zpool-cache-file>: 

> … When a pool is not listed in the cache file it will need to be detected 
> and imported using the zpool import -d /dev/disk/by-id command.

I'm unsure about that. 

Try a simple import (without option -d) then restart the system.

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