From owner-freebsd-fs@freebsd.org Fri May 29 14:37:09 2020 Return-Path: Delivered-To: freebsd-fs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 27CC933A554; Fri, 29 May 2020 14:37:09 +0000 (UTC) (envelope-from freebsd-fs@lordsith.net) Received: from lb3-smtp-cloud8.xs4all.net (lb3-smtp-cloud8.xs4all.net [194.109.24.29]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.xs4all.net", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49YRwh1Zhbz3Znh; Fri, 29 May 2020 14:37:07 +0000 (UTC) (envelope-from freebsd-fs@lordsith.net) Received: from lordsith.net ([IPv6:2001:980:93d7:1:30df:f5ff:fee9:10df]) by smtp-cloud8.xs4all.net with ESMTP id eg88jdj9DdPgTeg8AjEnKe; Fri, 29 May 2020 16:37:06 +0200 Date: Fri, 29 May 2020 14:37:03 +0000 From: marco To: freebsd-fs Cc: freebsd-current@freebsd.org Subject: imported zpool not persistent across reboot Message-ID: <20200529143703.GA78062@lordsith.net> Reply-To: marco Mail-Followup-To: marco , freebsd-fs , freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Organization: lordsith.net X-Operating-System: SunOS 5.11 joyent_20200212T230824Z X-Unix: Use Unix or die X-GPG-Fingerprint: A025 D8AA AC1B D2FC 380D 4FC1 8EA0 0BA8 8580 E6CB X-GPG-Key: https://lordsith.net/marco.gpg X-Uptime: 14:02pm up 86 days 0:32, 1 user, load average: 0.01, 0.00, 0.00 User-Agent: Mutt/1.5.22 (2013-10-16) X-CMAE-Envelope: MS4wfKDFQ1s1QstW455tt48+HJ5MISoZq0b1XYHcI0HEuTCZPLBCDK4oBrRH2m8dxx175xRm2e+I1dhArY8EOuD2ZtoykcRl0LAGWQpDNanJa8J2mPb6wwYf 0CukZNXL2kqqF9yeEqNQe8y2dMYyQkkcXdnjmhbXyI68XrtCO3J74LwZEzrRzj65eFlJ+sCy+mgVMna83NpBX03/pXIf0Ln6INlupXR9CDQq7frojWAwvuEn 2HG6dTCxHtfUNg6chyDsz09tttAKlQbP3/QeY+9xUe0= X-Rspamd-Queue-Id: 49YRwh1Zhbz3Znh X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=softfail (mx1.freebsd.org: 194.109.24.29 is neither permitted nor denied by domain of freebsd-fs@lordsith.net) smtp.mailfrom=freebsd-fs@lordsith.net X-Spamd-Result: default: False [-0.06 / 15.00]; HAS_REPLYTO(0.00)[freebsd-fs@lordsith.net]; ARC_NA(0.00)[]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-0.38)[-0.382]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[lordsith.net]; R_SPF_SOFTFAIL(0.00)[~all]; NEURAL_SPAM_MEDIUM(0.58)[0.583]; HAS_ORG_HEADER(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[194.109.24.29:from]; NEURAL_HAM_SHORT(-0.06)[-0.060]; RCPT_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:3265, ipnet:194.109.0.0/16, country:NL]; RCVD_COUNT_TWO(0.00)[2]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[194.109.24.29:from] X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 May 2020 14:37:09 -0000 I'm on -CURRENT (r361307) and using base ZFS. I imported a zpool that was created on SmartOS with some unsupported feature flags so had to import it read-only. [~] zpool get all backup NAME PROPERTY VALUE = SOURCE backup size 1.36T = - backup capacity 9% = - backup altroot - = default backup health ONLINE = - backup guid 11841096011823395086= default backup version - = default backup bootfs - = default backup delegation on = default backup autoreplace off = default backup cachefile - = default backup failmode wait = default backup listsnapshots off = default backup autoexpand off = default backup dedupditto 0 = default backup dedupratio 1.00x = - backup free 1.24T = - backup allocated 126G = - backup readonly on = - backup comment - = default backup expandsize - = - backup freeing 0 = default backup fragmentation 0% = - backup leaked 0 = default backup bootsize - = default backup checkpoint - = - backup multihost off = default backup feature@async_destroy enabled = local backup feature@empty_bpobj active = local backup feature@lz4_compress active = local backup feature@multi_vdev_crash_dump enabled = local backup feature@spacemap_histogram active = local backup feature@enabled_txg active = local backup feature@hole_birth active = local backup feature@extensible_dataset active = local backup feature@embedded_data active = local backup feature@bookmarks enabled = local backup feature@filesystem_limits enabled = local backup feature@large_blocks enabled = local backup feature@large_dnode enabled = local backup feature@sha512 enabled = local backup feature@skein enabled = local backup feature@device_removal enabled = local backup feature@obsolete_counts enabled = local backup feature@zpool_checkpoint enabled = local backup feature@spacemap_v2 active = local backup feature@allocation_classes enabled = local backup unsupported@com.datto:bookmark_v2 inactive = local backup unsupported@org.illumos:edonr inactive = local backup unsupported@com.datto:encryption inactive = local backup unsupported@com.datto:resilver_defer inactive = local backup unsupported@org.zfsonlinux:userobj_accounting readonly = local backup unsupported@org.zfsonlinux:project_quota readonly = local backup unsupported@com.delphix:log_spacemap readonly = local Whenever I reboot that zpool is no longer imported. I've checked /boot/defaults/loader.conf, /etc/defaults/rc.conf but haven't = seen any keys that I need to make the imported pool persistent. I've read something on the cachefile=3Dpath setting in zpool(8) but as one = can see it's set to default I guess I must've overlooked something but haven't found it so far. thanks --=20 Marco van Lienen -- Unix SysAdmin https://keybase.io/scarcry , GnuPG id: 8580E6CB "The Tuck Pendleton machine...zero defects."