From owner-freebsd-fs@freebsd.org Tue Jul 21 04:52:28 2015 Return-Path: Delivered-To: freebsd-fs@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 1784A9A731A for ; Tue, 21 Jul 2015 04:52:28 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 995E21B9B for ; Tue, 21 Jul 2015 04:52:27 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from zero-gravitas.local ([IPv6:2001:8b0:151:1:2ef0:eeff:fe24:fa38]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.15.2/8.15.2) with ESMTPSA id t6L4qEpS096334 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Tue, 21 Jul 2015 05:52:16 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=infracaninophile.co.uk DKIM-Filter: OpenDKIM Filter v2.9.2 smtp.infracaninophile.co.uk t6L4qEpS096334 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1437454336; bh=5q6+uIqqEcr6ZMG9tOp91XyV6g0o/LokOJut1of9FaU=; h=Date:From:To:Subject:References:In-Reply-To; z=Date:=20Tue,=2021=20Jul=202015=2005:52:13=20+0100|From:=20Matthew =20Seaman=20|To:=20freebsd-fs@fre ebsd.org|Subject:=20Re:=20Attach=20a=20device=20to=20an=20unimport ed=20pool?|References:=20<55ADA043.5060002@FreeBSD.org>|In-Reply-T o:=20<55ADA043.5060002@FreeBSD.org>; b=etMuF3vfG3UI0G0CyW/PBmIIz8+fiML1k6ljBvCzivWoDRXb32lJxZCu2tLhmUKjy K0r81GqHKANxMCmfxyLCbaIZ9Q8w3Ohv1u0G/hFSTbV0D2mT6b4p5hxhaeCM0ThbKq xrmL//LvvGJTpij6Qh9deHOcxiL9jzhWhbJt5Lxc= X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host [IPv6:2001:8b0:151:1:2ef0:eeff:fe24:fa38] claimed to be zero-gravitas.local Message-ID: <55ADCFFD.8090000@infracaninophile.co.uk> Date: Tue, 21 Jul 2015 05:52:13 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: freebsd-fs@freebsd.org Subject: Re: Attach a device to an unimported pool? References: <55ADA043.5060002@FreeBSD.org> In-Reply-To: <55ADA043.5060002@FreeBSD.org> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="LjVkMiCH5ARqMhMVVoMtKWSfgKQ2mEiJK" X-Virus-Scanned: clamav-milter 0.98.7 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-1.5 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU autolearn=ham autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on lucid-nonsense.infracaninophile.co.uk X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Jul 2015 04:52:28 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --LjVkMiCH5ARqMhMVVoMtKWSfgKQ2mEiJK Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 2015/07/21 02:28, Matthew Seaman wrote: > I have an unimportable zpool which is telling me to 'attach the missing= > devices and try again' >=20 > The missing devices are a mirrored pair for logs -- they exist and > should be readily attachable, but it seems I cannot attach devices to a= n > un-imported pool, and I can't import the pool with out attaching the > devices. >=20 > Any clues as to how to unfuck this system most gratefully received. Following myself up, because I missed out providing enough useful information. This is a 10.1-RELEASE machine -- I was upgrading it from p5 to p14 and changing the vfs.zfs.arc_max setting: nothing that should have been anything other than routine. However the machine wouldn't reboot properly, and I have eventually ended up with it booted up from a USB stick trying to repair it's boot pool. I've tried: zpool import -R /mnt zroot zpool import -f -R /mnt zroot zpool import -f -F -R /mnt zroot zpool import -f -m /mnt zroot plus variations on zpool attach ... and zpool replace ... none of which has succeeded. Matthew --LjVkMiCH5ARqMhMVVoMtKWSfgKQ2mEiJK Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQJ8BAEBCgBmBQJVrc/9XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQxOUYxNTRFQ0JGMTEyRTUwNTQ0RTNGMzAw MDUxM0YxMEUwQTlFNEU3AAoJEABRPxDgqeTniV8P/RscpCXVPwtU+jMkMcI9QwV3 wP+hgM5V4NoaWxt20/ma4eQIH1tqCQzAhn45Vbk3TCSGFnpAieQwcquyEOM8ugc8 z2bZ80t3Z4Ps/3/2SOW4D0s0k57p1sKn+ABmaypuku84AzHeOI+ZlZPddB4vZW8E PsefppJPqtxQML2lWinvcXkDgnfXaIkPguh39ASQWu26L7IT5gXULUa4Zq496CWH qGf6+RZoc51SH4/X5yEMHMjIIu3YivqxaEiXn/Y3ddXHZKwVsh7SW/VCGb8zue9h JqOd52JBtNPM0/UkUmpxZNWbzDEsBbCbRmGwjQIq9JL2w6s+wAhZsT2JKpWJ4aXL WSZabvmGBSjcUcLI7KcNgA8QOPY+7s9zERQRvL3Nh2fZ/IQSfU3kmo5ZqrbZu08O Grgcn2P4SqlSxBkgs/mmAOUbFShHSve0313db1wYJiiaX52rFoRcJYbv4M14N3CM AcvWExsMmtOY1nFXJpupsvw6Ms6PGbaQP1otT4s7apfs7BiCdLre4D57ieUdcU3T eN8EyibSpYfDvKYSzP5THHokAZhclRVlRXaY/TOk96fFHeb3hVdjKhKZGmCQGj2R L4lbY70T95S8Cpc5KUnNWqoyr1kOju9ODDi4NmWA8PpAqA3drMyEdSSjANpS/w21 QifYW5BEh4vDp4SQoMlT =cdU8 -----END PGP SIGNATURE----- --LjVkMiCH5ARqMhMVVoMtKWSfgKQ2mEiJK--