Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Apr 2015 14:17:19 +0100
From:      Matthew Seaman <matthew@FreeBSD.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: mountroot prompt with error2, when trying to boot from a single drive in a 2-way mirror
Message-ID:  <552D135F.9010907@FreeBSD.org>
In-Reply-To: <CACo--mtMq=pLA-n5B2yPGftdUVa0aR6Pox5mRitMLguPXRto0g@mail.gmail.com>
References:  <CACo--mtMq=pLA-n5B2yPGftdUVa0aR6Pox5mRitMLguPXRto0g@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?552D135F.9010907>