Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Apr 2022 10:20:59 +0200
From:      Stefan Esser <se@FreeBSD.org>
To:        Charles Sprickman <spork@bway.net>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: FreeBSD boot from root pool larger than 1Tb/cannot read MOS/all block copies unavailable
Message-ID:  <e4787210-1857-8d0d-23f3-3129daecf53c@FreeBSD.org>
In-Reply-To: <23BB62D2-CF27-4730-A19B-A110F3D9970E@bway.net>
References:  <2c2d774c-3677-c3b7-d099-71318743a434@zhegan.in> <23BB62D2-CF27-4730-A19B-A110F3D9970E@bway.net>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--------------7518wSGt3d20nZc99Rxgz0w0
Content-Type: multipart/mixed; boundary="------------Pv1ZITXSJPckA40iWhNOZLgv";
 protected-headers="v1"
From: Stefan Esser <se@FreeBSD.org>
To: Charles Sprickman <spork@bway.net>
Cc: freebsd-stable@freebsd.org
Message-ID: <e4787210-1857-8d0d-23f3-3129daecf53c@FreeBSD.org>
Subject: Re: FreeBSD boot from root pool larger than 1Tb/cannot read MOS/all
 block copies unavailable
References: <2c2d774c-3677-c3b7-d099-71318743a434@zhegan.in>
 <23BB62D2-CF27-4730-A19B-A110F3D9970E@bway.net>
In-Reply-To: <23BB62D2-CF27-4730-A19B-A110F3D9970E@bway.net>

--------------Pv1ZITXSJPckA40iWhNOZLgv
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Am 27.04.22 um 02:10 schrieb Charles Sprickman:>> On Apr 26, 2022, at 10:=
10 AM,
Eugene M. Zheganin <eugene@zhegan.in> wrote:
>>
>> Hello,
>>
>> recently I found another server that was running 12.x and became unboo=
table because of the famous "cannot read MOS/all block copies unavailable=
/etc" gptzfsboot message which can be randomly displayed when boot blocks=
 migrate beyond 1st Tb on a large root pool.
>=20
> Is this documented somewhere? I=E2=80=99m pretty sure I have a number o=
f servers that fit this description. How do boot blocks =E2=80=9Cmigrate=E2=
=80=9D?

Boot blocks on PCs are traditionally stored in the first few sectors
of the boot disk. But those are only used to load a loader that knows
about the actual file system format used, and the loader still relies
on BIOS functions to access the boot file system where the kernel
resides.

BIOS limits have hurt PC users over the years, and those limits have
always been only slightly increased, just enough to support common
disk sizes at the respective point time:

	https://tldp.org/HOWTO/Large-Disk-HOWTO-4.html

With UFS the kernel was typically loaded from the "a" partition, which
commonly was small and placed first on the disk. With ZFS you can have
a small boot pool (or base system pool) in a partition completely within
the range covered by the BIOS to create a somewhat similar layout. Else
ZFS may place parts of the kernel anywhere on a pool that may be much
larger than the BIOS call can address.

This is not a FreeBSD limit, it is a limit of the technology provided
by the PC platform and the functionality provided by the PC BIOS.

Regards, STefan

--------------Pv1ZITXSJPckA40iWhNOZLgv--

--------------7518wSGt3d20nZc99Rxgz0w0
Content-Type: application/pgp-signature; name="OpenPGP_signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="OpenPGP_signature"

-----BEGIN PGP SIGNATURE-----

wsB5BAABCAAjFiEEo3HqZZwL7MgrcVMTR+u171r99UQFAmJo/OsFAwAAAAAACgkQR+u171r99UQ7
nwgAhNl7sK4z1h4OVbsaB2DQbKZqunqsxkRsy0B8L8A0cA1hsCwxZ+jPbes4+QquXNsoHoEQzbQH
+qIiGCevfkQ5r6gqBgmDZMhhX0GU5qg/oLCvwzOnqodfan0qY9727fkCowa9X2lj5LR2NZ0Wmz62
daxVP/pxdBovMDCLf+X9QtueJKuTBZp23I3GeniRzXIRWJllSMIzpM59uYhKynhAPdwrZU8068Pp
DpvexkYbtghzy9cnh0QwBDA3pT2JMR/OSlhQCTFshFRnaEiQiMqUCMX+ZQ82oluz1GGY9pVSpBiS
rc05APhZkkvl7V9NjyUARILmQyKuunyktvPXgziLXg==
=h5Wc
-----END PGP SIGNATURE-----

--------------7518wSGt3d20nZc99Rxgz0w0--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e4787210-1857-8d0d-23f3-3129daecf53c>