Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Nov 2024 09:06:54 -0500
From:      Dennis Clarke <dclarke@blastwave.org>
To:        freebsd-current@freebsd.org
Subject:   Re: zpools no longer exist after boot
Message-ID:  <6bf5884f-9871-4c5b-912a-c64daf9577b5@blastwave.org>
In-Reply-To: <CAOtMX2hKCYrx92SBLQOtekKiBWMgBy_n93ZGQ_NVLq=6puRhOg@mail.gmail.com>
References:  <5798b0db-bc73-476a-908a-dd1f071bfe43@blastwave.org> <CAOtMX2hKCYrx92SBLQOtekKiBWMgBy_n93ZGQ_NVLq=6puRhOg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 11/28/24 08:52, Alan Somers wrote:
> On Thu, Nov 28, 2024, 7:06 AM Dennis Clarke <dclarke@blastwave.org> wrote:
> 
>>
>> This is a baffling problem wherein two zpools no longer exist after
>> boot. This is :
...
> 
> Do you have zfs_enable="YES" set in /etc/rc.conf? If not then nothing will
> get imported.
> 
> Regarding the cachefile property, it's expected that "zpool import" will
> change it, unless you do "zpool import -O cachefile=whatever".
> 
>>
> 

Oh absolutely.  Also :

zfs_enable="YES"
#
# the iSCSI initiator
iscsid_enable="YES"
iscsictl_enable="YES"
iscsictl_flags="-Aa"
#

That explains the iSCSI device provided over 10Gbit :

titan#
titan# camcontrol devlist
<ST20000NM007D-3DJ103 SN03>        at scbus0 target 0 lun 0 (pass0,ada0)
<ST20000NM007D-3DJ103 SN03>        at scbus1 target 0 lun 0 (pass1,ada1)
<AHCI SGPIO Enclosure 2.00 0001>   at scbus2 target 0 lun 0 (ses0,pass2)
<AHCI SGPIO Enclosure 2.00 0001>   at scbus6 target 0 lun 0 (ses1,pass3)
<SAMSUNG MZVKW512HMJP-000L7 6L6QCXA7>  at scbus7 target 0 lun 1 (pass4,nda0)
<FREEBSD CTLDISK 0001>             at scbus8 target 0 lun 0 (da0,pass5)
titan#

See the FREEBSD CTLDISK 001 ?  That is over iSCSI.

However, as I say, the devices exist but the pools vanish
  unless I import them and deal with them one by one.


-- 
--
Dennis Clarke
RISC-V/SPARC/PPC/ARM/CISC
UNIX and Linux spoken




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6bf5884f-9871-4c5b-912a-c64daf9577b5>