From nobody Thu Apr 3 16:53:54 2025 X-Original-To: freebsd-fs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4ZT79d3wjCz5s92H for ; Thu, 03 Apr 2025 16:53:57 +0000 (UTC) (envelope-from lev@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4ZT79d3PH7z4Kvx; Thu, 03 Apr 2025 16:53:57 +0000 (UTC) (envelope-from lev@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1743699237; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Z88I2GlnBc6ENX6YssdeksEyZulgLirTdz5MvVtP1vI=; b=RqUi1bfbwAnOu7USFC6Gu16FG2rz3RH+UPgCPPcRQwlKodJfx6qeN/jTOxXl5gwI8LwFHC b0dkjT3mmLi9D49k8YAsjxbRaM4TfFYrBNG3GXctwCc34hQai1zrkObmL4m2YhQSmK6HXb uMq02M16Iq4adiTA2ezwua5ofMlRWLhlCGNgtgL/UIqodIoChWOEK5xIMH/iJRzAdAFG7H /fQGeNQr4hHHmGlEjGiKHsC5onvItyGre/pkEH6K0VHFr+2bVw5QzSU4JE9E/YDamhLb1J DLpfZXGJc7USC5aFaZMwNYHBSUDnHSqXFFMLP/AePh1ryk7INc9pWa6e+krU4w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1743699237; a=rsa-sha256; cv=none; b=f2Glp52N5eU2S0iIq499gU0ataoMhBbt++lJlHayf+sEGBJqrQA2nUEEvUnKDdf1hJkJSM JtEgb3oYs+SYDVGpXPNTQ+UZ+tl04ZKCQ6U/RcIfvsDiKPwqB69yKXJ4fC6aZLJrdNDpi+ N4COQgvUpiV9ixRzPgfMpiCTNUvR0ndu6lMX5m/qNyeu0OYAHFoUezWwiOA9+vhgA5GgFK hZdYwKSSt4WchejrIXGOAaxBtawgCqZatILScPWCNHDLuFqlMLDndWDdFC+GrCymQpPU91 hHaG2vHedxTbX9OVHMrMAGEh1eElj1zEoZ8MKGh2Tqh7Sfj6L2YBKBf9+y41Pw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1743699237; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Z88I2GlnBc6ENX6YssdeksEyZulgLirTdz5MvVtP1vI=; b=OT+SIkdp0Vn8aCyakN7u0FUnMXAH3pPPHqhHUAICkFxGy48j72qA96Bsefb+8dfuW5FzPJ ebcsgIbPaO2ZcqLjl15CjvCO5RqGccI0p8HPTteNBx7qWq7XRa3D+sbgLCfwzeXRMsGcH4 gYbkBKNzpXhKIN9+rh/fm6fiJCirx/R01Osp4v1a09PgPo1qgbjwKkF2G8iG6BFGngOBcl u3++Q6BMwfPW6C/ZghsY/mqeUvfpv3pmO8YdpQH4FVK1U7M6q/l/YlCN8AftsMagX2rfWK oJcvGdNzUDEyUMXNKKn9ze4tefrUsvS+izFp6c1yTe3eRY0mue2d24OAcD0nuA== Received: from onlyone.not-for.work (onlyone.not-for.work [148.251.9.81]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: lev/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4ZT79d26D0zLRQ; Thu, 03 Apr 2025 16:53:57 +0000 (UTC) (envelope-from lev@freebsd.org) Received: from mail.not-for.work (localhost [127.0.0.1]) (Authenticated sender: lev@blacklion.dev) by onlyone.not-for.work (Postfix) with ESMTPSA id EFCA321C; Thu, 03 Apr 2025 19:53:54 +0300 (MSK) List-Id: Filesystems List-Archive: https://lists.freebsd.org/archives/freebsd-fs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-fs@FreeBSD.org MIME-Version: 1.0 X-Mailer: SnappyMail/2.38.2 Date: Thu, 03 Apr 2025 16:53:54 +0000 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: "Lev Serebryakov" Message-ID: <09e22176d4069826e7016604c455ba08ddafdf75@freebsd.org> TLS-Required: No Subject: Re: gptzfsboot cannot boot from ZFS (mirror) with "can't read MOS of pool znewroot" (FreeBSD 13.5-STABLE) To: "Miroslav Lachman" <000.fbsd@quip.cz>, freebsd-fs@freebsd.org In-Reply-To: References: <06002a1719b8460c9ac725fae2f2cd756ca05dcd@freebsd.org> April 3, 2025 at 6:35 PM, "Miroslav Lachman" <000.fbsd@quip.cz mailto:000= .fbsd@quip.cz?to=3D%22Miroslav%20Lachman%22%20%3C000.fbsd%40quip.cz%3E > = wrote: > >=20 >=20> ZFS: i/o error - all block copies unavailable > > ZFS: can't read MOS of pool znewroot > > As a hack I'm using `gtpboot` & small `freebsd-ufs` partiton with on= ly `/boot` directory. > > But I hate this hack, as system update becomes cumbersome, and I can= not convert this system to UEFI boot (because `loader.efi` "Failed to fin= d bootable partition"). > > What is wrong with my ZFS pool and how could I fix it? > >=20 >=20Is it possible that you have disk drives larger than 2TB and the boot= data is written somewhere after that 2TB barrier? It is exactly 2T disks: Model Family: HGST Ultrastar 7K6000 Device Model: HGST HUS726020ALE610 Serial Number: K5HPZZLD LU WWN Device Id: 5 000cca 25ed8179e Firmware Version: APGNTD05 User Capacity: 2,000,398,934,016 bytes [2.00 TB] Model Family: Toshiba MG04ACA... Enterprise HDD Device Model: TOSHIBA MG04ACA200EY Serial Number: X71EK0F4F7QB LU WWN Device Id: 5 000039 81bd80140 Firmware Version: FQ1B User Capacity: 2,000,398,934,016 bytes [2.00 TB] > I solved it by creating small partitions on the beginning of the drives= - about 20GB to contain boot and all the FreeBSD system data. I've created freebsd-ufs partitons, cutting space from swap, when it sto= ps work after one disk trplacement, as it is remote server, it is hard to= do complex things, and I needed solution ASAP :)=20 --=20 // Lev Serebryakov