Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Aug 2025 15:22:12 -0400
From:      Alexander Motin <mav@FreeBSD.org>
To:        Dennis Clarke <dclarke@blastwave.org>, freebsd-current@freebsd.org
Subject:   Re: How does one add a zpool name to either /etc/zfs/zpool.cache or /boot/zfs/zpool.cache ?
Message-ID:  <1b50a628-e0a6-460f-8b0e-12f32f059e48@FreeBSD.org>
In-Reply-To: <04fafcf2-3b22-44b3-a600-87f51054a803@blastwave.org>

index | next in thread | previous in thread | raw e-mail

On 14.08.2025 14:55, Dennis Clarke wrote:
> However neither of those cache files seem to hold information about
> anything other than the pool created during installation.

Pools should be added there when you import them manually and removed 
when you export.  On reboot they should stay there to be imported next time.

> There is a cachefile property in a zpool but that vanishes after a
> reboot.

cachefile property usually should be used only if you don't want your 
pools to appear in the default cachefile processed on boot.

-- 
Alexander Motin


help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1b50a628-e0a6-460f-8b0e-12f32f059e48>