From nobody Thu Nov 28 14:06:54 2024 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XzdR612qyz5dltG for ; Thu, 28 Nov 2024 14:06:58 +0000 (UTC) (envelope-from dclarke@blastwave.org) Received: from mail.oetec.com (mail.oetec.com [108.160.241.186]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature ECDSA (P-256) client-digest SHA256) (Client CN "mail.oetec.com", Issuer "E6" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XzdR53SsGz4vws for ; Thu, 28 Nov 2024 14:06:57 +0000 (UTC) (envelope-from dclarke@blastwave.org) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=blastwave.org header.s=default header.b="KVJ/t/8R"; spf=pass (mx1.freebsd.org: domain of dclarke@blastwave.org designates 108.160.241.186 as permitted sender) smtp.mailfrom=dclarke@blastwave.org; dmarc=pass (policy=quarantine) header.from=blastwave.org Received: from [172.16.35.3] (pool-99-253-118-250.cpe.net.cable.rogers.com [99.253.118.250]) (authenticated bits=0) by mail.oetec.com (8.17.1/8.17.1) with ESMTPSA id 4ASE6shc027760 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Thu, 28 Nov 2024 09:06:55 -0500 (EST) (envelope-from dclarke@blastwave.org) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=blastwave.org; s=default; t=1732802815; bh=dVTaVf1nmpJqrUMVvtDHGEWzozocXAbziL/ig7hY/iM=; h=Date:Subject:To:References:From:In-Reply-To; b=KVJ/t/8RFMe5EJmi/n8UY7CNHaucP7xw+PQ4WH55R2f+8d4GooZmyvmHaJQ989VWE XwAAzCGqLb7go21NrdN2kxMaqW2USVe2WyqD+jxaf5DMF9PtO8Ks9DWodVb/9TTfk7 MjQWiq62TdA5woRyjR/+50swvJ4Nz/QsG81hEDAJEUn28Q3bDE+bnQHD5ej3xpPGGG x0XzB3WYWLiF/Bzm2UfY1xCaHdcTdZ6ynjSRiZGnDDOYPdkJqLOCZf57xIEQlfUnLG MuAxDBZHxpCGAfA3/dYwfLvGrqDctH/yeasVGFNvu9aRYpbSDMttLB88uCAPciKfeq BVNdrv2doVh2A== Message-ID: <6bf5884f-9871-4c5b-912a-c64daf9577b5@blastwave.org> Date: Thu, 28 Nov 2024 09:06:54 -0500 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: zpools no longer exist after boot Content-Language: en-CA To: freebsd-current@freebsd.org References: <5798b0db-bc73-476a-908a-dd1f071bfe43@blastwave.org> From: Dennis Clarke Organization: GENUNIX In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-oetec-MailScanner-Information: Please contact the ISP for more information X-oetec-MailScanner-ID: 4ASE6shc027760 X-oetec-MailScanner: Found to be clean X-oetec-MailScanner-From: dclarke@blastwave.org X-Spam-Status: No X-Spamd-Result: default: False [-4.69 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[blastwave.org,quarantine]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; R_SPF_ALLOW(-0.20)[+mx]; RCVD_IN_DNSWL_MED(-0.20)[108.160.241.186:from]; R_DKIM_ALLOW(-0.20)[blastwave.org:s=default]; MIME_GOOD(-0.10)[text/plain]; XM_UA_NO_VERSION(0.01)[]; MIME_TRACE(0.00)[0:+]; RCPT_COUNT_ONE(0.00)[1]; TO_MATCH_ENVRCPT_ALL(0.00)[]; HAS_ORG_HEADER(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; ARC_NA(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; TO_DN_NONE(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[blastwave.org:+]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:812, ipnet:108.160.240.0/20, country:CA]; FROM_HAS_DN(0.00)[] X-Rspamd-Queue-Id: 4XzdR53SsGz4vws X-Spamd-Bar: ---- On 11/28/24 08:52, Alan Somers wrote: > On Thu, Nov 28, 2024, 7:06 AM Dennis Clarke 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 at scbus0 target 0 lun 0 (pass0,ada0) at scbus1 target 0 lun 0 (pass1,ada1) at scbus2 target 0 lun 0 (ses0,pass2) at scbus6 target 0 lun 0 (ses1,pass3) at scbus7 target 0 lun 1 (pass4,nda0) 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