From owner-freebsd-questions@FreeBSD.ORG Tue Apr 14 13:17:56 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 693E23F8 for ; Tue, 14 Apr 2015 13:17:56 +0000 (UTC) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "ca.infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 0BE0CF1D for ; Tue, 14 Apr 2015 13:17:55 +0000 (UTC) Received: from zero-gravitas.local (no-reverse-dns.metronet-uk.com [85.199.232.226] (may be forged)) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.15.1/8.15.1) with ESMTPSA id t3EDHRAY005177 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Tue, 14 Apr 2015 14:17:44 +0100 (BST) (envelope-from matthew@FreeBSD.org) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=FreeBSD.org DKIM-Filter: OpenDKIM Filter v2.9.2 smtp.infracaninophile.co.uk t3EDHRAY005177 Authentication-Results: smtp.infracaninophile.co.uk/t3EDHRAY005177; dkim=none reason="no signature"; dkim-adsp=none; dkim-atps=neutral X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host no-reverse-dns.metronet-uk.com [85.199.232.226] (may be forged) claimed to be zero-gravitas.local Message-ID: <552D135F.9010907@FreeBSD.org> Date: Tue, 14 Apr 2015 14:17:19 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: mountroot prompt with error2, when trying to boot from a single drive in a 2-way mirror References: In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="0vqKjnuO0Rfux0k9TndaO5qf8LuuFE4Ls" X-Virus-Scanned: clamav-milter 0.98.6 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham autolearn_force=no version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lucid-nonsense.infracaninophile.co.uk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Apr 2015 13:17:56 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --0vqKjnuO0Rfux0k9TndaO5qf8LuuFE4Ls Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 2015/04/14 13:35, yudi v wrote: > I was testing recovery scenario by removing one of the drives in a 2-wa= y > mirror, but the system fails to boot and comes up with the mountroot pr= ompt > with error 2. When I reconnect the second drive, it boots fine again. >=20 > Any suggestions on what the problem might be? >=20 > it's a simple root-on-ZFS setup (9.1 upgraded to 10.1 recently) with tw= o > disks in mirror config. > each disk has 3 partitions, first one has the boot code, second has the= > swap, third has the OS. >=20 > and the zfs pool is setup on the 3rd partition of the two disks. Check the BIOS settings -- there will be a list giving the order of preference for devices to boot from. Frequently you'll find there is one slot for 'Harddrive' and you get to select just one of the drives attached to the system to boot from. In this case, simply telling it to use the other disk should allow you to boot. Otherwise, if your bios allows you to specify several hard drives, then reordering the drives in the preference list might make it work. This last really shouldn't be necessary, but not all BIOSes are created equal. Cheers, Matthew --0vqKjnuO0Rfux0k9TndaO5qf8LuuFE4Ls Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.22 (Darwin) Comment: GPGTools - https://gpgtools.org iQIcBAEBCgAGBQJVLRNmAAoJEABRPxDgqeTn9lkP/2D/msSfZgxshdFH1BZgc+8v fVFNLzK57tbS2fK042dLWx4Zxj7GH3K8ulwcS4cGoCB84vSvKUYciAArEmmMI7Sq UGXt/tiOSd4eFSH6EwOmR3QlVrwF7jXoLIlSZoeJuRDzlkqAUL0HsGbQcgoFSoXC S39/uBqr8R/NT2vfAN1IS5pRayJ9QAB61yg/qiV0HmYPIu+Pm2TLzThU/EeOhMPt ZLQhxqPQ04nJ6sJx9M/b3AC5H6i9p3HwleUcdeXFT0RTMkF5jAgBatLpbjDDBmii p84sxDWuJdhr45Sg18Cs4cuSBTC4s8Bf9On9OL2DFHSkUMZQED+Nzj75s8EZcTxr HgBsNZNNzCtrA393PxPECYSMfYuujDZ7fsmBGQF5NwztpYnLQEw6EzdCit0RwtZR 1zZbid1sz7HtlS4tSMpfRcf/BtHEAGXTFhcXzEQ/iumG8EI5mD/8yHAbBSmQUG7y TY5V8ihKB7CJU85hjklBQzQqs8LM8Xn2eHRsRSWbOBp8JxT/FeCzIZ18y+MDFvA6 jJzTByHVUvaiE/F4A4Onq8xtr2Z9fazgtRZM3acB3lZmXvtl6IMCbMIvlzagRPQi Rcq80Vbb+/sRqe9ZTlbmzDw13pYoig701k9Zt1cJRfjvOfOm4TLeas3hs5kRkYKv DgMV5j8G8p8lsZCHYQHd =HHFX -----END PGP SIGNATURE----- --0vqKjnuO0Rfux0k9TndaO5qf8LuuFE4Ls--