From owner-freebsd-questions@freebsd.org Thu Dec 22 01:27:45 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1B96CC8BB2E for ; Thu, 22 Dec 2016 01:27:45 +0000 (UTC) (envelope-from mike@tela.com) Received: from spider3.tela.com (smtp3.tela.com [208.90.22.69]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id F3A67E08 for ; Thu, 22 Dec 2016 01:27:44 +0000 (UTC) (envelope-from mike@tela.com) Received: by spider3.tela.com (Postfix, from userid 103) id 8BAFA34AB23; Wed, 21 Dec 2016 19:23:10 -0600 (CST) DKIM-Filter: OpenDKIM Filter v2.10.3 spider3.tela.com 8BAFA34AB23 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=tela.com; s=comtela1601; t=1482369790; bh=6ke6+QRLfJe6VVvXLRRiefsHLv1y2y3U4ba4CGNffVs=; h=Date:From:To:Subject; z=Date:=20Wed,=2021=20Dec=202016=2019:23:10=20-0600|From:=20Mike=20 Selner=20|To:=20freebsd-questions@freebsd.org|Subje ct:=20ZFS=20crash=20on=20mountroot=20after=20removal=20of=20slog=2 0device; b=k/SM5C3JGJc80bOkY5LmekDKls2KK74wQ9UPLKhL2Qyi3uBwtATXRVnUUvYWzByv6 HocP83iI+3Krv2H7G5ojAf9J5iVQv+ftjy/Ojq6ee2xNLxpXYiPDxPsJp8D2r9r9d4 4REAalG5iHIEH1yGZ2n8eY/kPh5Q1oKlb8Uz7ALc= Date: Wed, 21 Dec 2016 19:23:10 -0600 From: Mike Selner To: freebsd-questions@freebsd.org Subject: ZFS crash on mountroot after removal of slog device Message-ID: <20161222012310.GA59045@spider3.tela.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Dec 2016 01:27:45 -0000 Hello, I have a FreeBSD 10.3 system with all filesystems on ZFS (except some tmp on SSD). I have L2ARC and SLOG on SSD. The SSD started reporting SMART errors so I removed the L2ARC device which worked fine. Then I removed the SLOG device using: zpool remove zroot gpt/ssdslog0 The system returned to the # prompt but a few minutes later the system panicked and and rebooted. After reboot it fails to mount root fs, giving the message: Trying to mount root from zfs:zroot/ROOT/default [ ]... panic: solaris assert: nvlist_lookup_uint64(configs[ i], ZPOOL_CONFIG_POOL_TXG, &txg) == 0, file: /usr/src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common/fs/zfs/spa.c, line: 4039 cpuid = 4 Short version: I can import the pool using fixit on an install memstick, but can not get the system to mountroot when booting from this pool. Full details at https://forums.freebsd.org/threads/59006/. Please advise if I should also post full details here. Thank you -- Mike