Re: How does one add a zpool name to either /etc/zfs/zpool.cache or /boot/zfs/zpool.cache ?

From: Dennis Clarke <dclarke_at_blastwave.org>
Date: Thu, 14 Aug 2025 21:31:42 UTC
On 8/14/25 16:45, Ronald Klop wrote:
> Van: Dennis Clarke <dclarke@blastwave.org>
> Datum: 14 augustus 2025 20:55
> Aan: freebsd-current@freebsd.org
> Onderwerp: How does one add a zpool name to either /etc/zfs/zpool.cache 
> or /boot/zfs/zpool.cache ?
> 
>>
>>
>>
>> After a reboot I have a zpool missing. I have to import it manually.
>>
>> The script /etc/rc.d/zpool seems to be the culprit in that it
>> processes two zpool cache files :
>>

> 
> Hi,
> 
> You have a similar question here.

I knew this looked very familiar.

> 
> https://lists.freebsd.org/archives/freebsd-current/2024- 
> November/006736.html
> 
> Is this about the same machine/setup?
>

More or less. A lot more storage but close enough.


> Do the replies in that thread answer your current question about the 
> cachefile property?
> 
Likely.  However I will dig through the past and see if I can find the
magic words that make this work. Again. I will likely be back in a year
with the same problem ... and the year after that and after that ...


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