From owner-freebsd-stable@freebsd.org Sun Jul 29 10:44:40 2018 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 24BEF1053180 for ; Sun, 29 Jul 2018 10:44:40 +0000 (UTC) (envelope-from stb@lassitu.de) Received: from gilb.zs64.net (gilb.zs64.net [IPv6:2a00:14b0:4200:32e0::1ea]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "gilb.zs64.net", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B78657BBAD for ; Sun, 29 Jul 2018 10:44:39 +0000 (UTC) (envelope-from stb@lassitu.de) Received: by gilb.zs64.net (Postfix, from stb@lassitu.de) id E3A831FC321 for ; Sun, 29 Jul 2018 10:44:37 +0000 (UTC) From: Stefan Bethke Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Subject: Booting off ZFS pool with failed ZIL/cache device Message-Id: <5243B4C1-513D-41E8-89AF-60487DEC29C8@lassitu.de> Date: Sun, 29 Jul 2018 12:43:35 +0200 To: FreeBSD Stable X-Mailer: Apple Mail (2.3445.9.1) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Jul 2018 10:44:40 -0000 Folks, my ZIL/cache SSD apparently just died. Rebooting the system with the = SATA M.2 SSD hung, so I removed the card from the system. On powerup, loader acts normally, all four SATA disks (main Raid-Z1 = devices) are all probed successfully, but mount root fails: ZFS filesystem version: 5 ZFS storage pool version: features support (5000) Timecounters tick every 1.000 msec ada0 at ahcich0 bus 0 scbus0 target 0 lun 0 ada0: ATA8-ACS SATA 3.x device ada0: Serial Number Z5Q7K0RIFFRC ada0: 600.000MB/s transfers (SATA 3.x, UDMA5, PIO 8192bytes) ada0: Command Queueing enabled ada0: 4769307MB (9767541168 512 byte sectors) ada1 at ahcich2 bus 0 scbus2 target 0 lun 0 ada1: ATA8-ACS SATA 3.x device ada1: Serial Number Y5PIK0A2FFRC ada1: 300.000MB/s transfers (SATA 2.x, UDMA5, PIO 8192bytes) ada1: Command Queueing enabled ada1: 4769307MB (9767541168 512 byte sectors) ada2 at ahcich3 bus 0 scbus3 target 0 lun 0 ada2: ATA8-ACS SATA 3.x device ada2: Serial Number 36D2K0VZFFRC ada2: 300.000MB/s transfers (SATA 2.x, UDMA5, PIO 8192bytes) ada2: Command Queueing enabled ada2: 4769307MB (9767541168 512 byte sectors) ada3 at ahcich4 bus 0 scbus4 target 0 lun 0 ada3: ATA8-ACS SATA 3.x device ada3: Serial Number Z5SDK0J3FFRC ada3: 300.000MB/s transfers (SATA 2.x, UDMA5, PIO 8192bytes) ada3: Command Queueing enabled ada3: 4769307MB (9767541168 512 byte sectors) pass4 at ahciem0 bus 0 scbus6 target 0 lun 0 pass4: SEMB S-E-S 2.00 device Trying to mount root from zfs:p2/be/11 []... GEOM_MIRROR: Device mirror/p2swap launched (4/4). random: unblocking device. Mounting from zfs:p2/be/11 failed with error 6; retrying for 3 more = seconds Mounting from zfs:p2/be/11 failed with error 6. Loader variables: vfs.root.mountfrom=3Dzfs:p2/be/11 Manual root filesystem specification: : [options] Mount using filesystem and with the specified (optional) option list. eg. ufs:/dev/da0s1a zfs:tank cd9660:/dev/cd0 ro (which is equivalent to: mount -t cd9660 -o ro /dev/cd0 /) ? List valid disk boot devices . Yield 1 second (for background tasks) Abort manual input mountroot>=20 Is there an easy way to boot into single user mode and remove the = ZIL/cache devices that are not there anymore? Or do I need a USB key to = boot off of and zfs import the pool first? Thanks, Stefan --=20 Stefan Bethke Fon +49 151 14070811