Date: Thu, 28 Nov 2024 10:46:11 -0500 From: Dennis Clarke <dclarke@blastwave.org> To: Dimitry Andric <dim@FreeBSD.org> Cc: Current FreeBSD <freebsd-current@freebsd.org> Subject: Re: zpools no longer exist after boot Message-ID: <6d5be5e0-ee68-4858-814b-d0886cef3f85@blastwave.org> In-Reply-To: <5165C4DB-8BA0-4579-A808-F98FBF3B797F@FreeBSD.org> References: <5798b0db-bc73-476a-908a-dd1f071bfe43@blastwave.org> <5165C4DB-8BA0-4579-A808-F98FBF3B797F@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 11/28/24 10:02, Dimitry Andric wrote: > On 28 Nov 2024, at 14:05, Dennis Clarke <dclarke@blastwave.org> wrote: >> >> This is a baffling problem wherein two zpools no longer exist after >> boot. This is : >>... >> 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) > > It has been my experience that with disks connected to external enclosures, these sometimes take a long time to come up. If they come up only after the kernel initially detects ZFS pools, they will not be shown or imported at all. > > If you look at dmesg or boot logs, are the external disks detected around the same time as the NVMe device? > The only remote device is the iSCSI based unit and it seems to be visible neatly. In fact the zpools, all of them, are now available at boot time thanks to using the correct cachefile name. There may be a need to make some note somewhere in a man page that the zpool cachefile used in the RC script is important. -- -- 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?6d5be5e0-ee68-4858-814b-d0886cef3f85>