From owner-freebsd-current@freebsd.org Thu Oct 22 09:43:57 2020 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B5CA8443B6F for ; Thu, 22 Oct 2020 09:43:57 +0000 (UTC) (envelope-from tsoome@me.com) Received: from pv50p00im-ztdg10021801.me.com (pv50p00im-ztdg10021801.me.com [17.58.6.56]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4CH2W05gkSz4dV5 for ; Thu, 22 Oct 2020 09:43:56 +0000 (UTC) (envelope-from tsoome@me.com) Received: from nazgul.lan (148-52-235-80.sta.estpak.ee [80.235.52.148]) by pv50p00im-ztdg10021801.me.com (Postfix) with ESMTPSA id 459F0360098; Thu, 22 Oct 2020 09:43:54 +0000 (UTC) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\)) Subject: Re: Zpool doesn't boot anymore after FreeBSD 12.1 From: Toomas Soome In-Reply-To: Date: Thu, 22 Oct 2020 12:43:51 +0300 Cc: freebsd-stable , FreeBSD Current Content-Transfer-Encoding: quoted-printable Message-Id: <779972FA-1EFD-4B10-A7E2-C1D91B83DA31@me.com> References: To: Cassiano Peixoto X-Mailer: Apple Mail (2.3608.120.23.2.4) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.235, 18.0.737 definitions=2020-10-22_03:2020-10-20, 2020-10-22 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-2006250000 definitions=main-2010220063 X-Rspamd-Queue-Id: 4CH2W05gkSz4dV5 X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.98 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[17.58.6.56:from]; FREEMAIL_FROM(0.00)[me.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ip4:17.58.0.0/16]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[me.com:+]; DMARC_POLICY_ALLOW(-0.50)[me.com,quarantine]; NEURAL_HAM_SHORT(-0.51)[-0.512]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[me.com]; ASN(0.00)[asn:714, ipnet:17.58.0.0/20, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[me.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.97)[-0.972]; R_DKIM_ALLOW(-0.20)[me.com:s=1a1hai]; FREEFALL_USER(0.00)[tsoome]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.00)[-0.996]; MIME_GOOD(-0.10)[text/plain]; RECEIVED_SPAMHAUS_PBL(0.00)[80.235.52.148:received]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[17.58.6.56:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-current] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Oct 2020 09:43:57 -0000 There are few issues. with vmware, you should rather grow existing boot = disk - just to keep setup simple. If you are adding disks, make sure = they are properly partitioned. int13 error code 4 should be =E2=80=99sector not found=E2=80=99, I have = no idea why are you getting this one, but clearly there is something = wrong. I would fix this by adding new properly sized disk, boot from iso/usb = and create new zroot pool and copy data over from old and move old one = away. once you have verified boot from new zroot, you can clean up. rgds, toomas > On 22. Oct 2020, at 10:39, Andriy Gapon wrote: >=20 > On 21/10/2020 15:20, Cassiano Peixoto wrote: >> Hi there, >>=20 >> Anyone can help please? I've many servers with this same issue. = Thanks >=20 > Can you try to replace /boot/zfsloader with zfsloader from other = FreeBSD versions? > E.g., 12.0, 12.2-RC, 11.4, recent snapshot of the CURRENT? >=20 >> On Fri, Oct 16, 2020 at 10:24 AM Cassiano Peixoto = >> wrote: >>=20 >>> Hi there, >>>=20 >>> I have a FreeBSD 12.1-STABLE running on VMWARE with one disk. Then I = added two more disks to expand my pool. BTW I already did it many time = with no issues. >>>=20 >>> I ran: >>>=20 >>> # zpool status >>> pool: zroot >>> state: ONLINE >>> status: Some supported features are not enabled on the pool. The = pool can >>> still be used, but some features are unavailable. >>> action: Enable all features using 'zpool upgrade'. Once this is = done, >>> the pool may no longer be accessible by software that does not = support >>> the features. See zpool-features(7) for details. >>> scan: none requested >>> config: >>>=20 >>> NAME STATE READ WRITE CKSUM >>> zroot ONLINE 0 0 0 >>> gpt/disk0 ONLINE 0 0 0 >>>=20 >>> errors: No known data errors >>>=20 >>> # zpool add -f zroot da1 >>> # zpool add -f zroot da2 >>> # zpool status >>> pool: zroot >>> state: ONLINE >>> scan: none requested >>> config: >>>=20 >>> NAME STATE READ WRITE CKSUM >>> zroot ONLINE 0 0 0 >>> gpt/disk0 ONLINE 0 0 0 >>> da1 ONLINE 0 0 0 >>> da2 ONLINE 0 0 0 >>>=20 >>> errors: No known data errors >>> # reboot >>>=20 >>> Then my system doesn=E2=80=99t boot anymore, i got the following = error: >>>=20 >>> gptzfsboot: error 4 lba 2038346899 >>> gptzfsboot: error 4 lba 1361327267 >>> /boot/config: -Dh >>>=20 >>> BTX loader 1.00 BTX version is 1.02 >>> Consoles: internal video/keyboard serial port >>> BIOS drive A: is fd0 >>> BIOS drive C: is disk0 >>> BIOS drive D: is disk1 >>> BIOS drive E: is disk2 >>> BIOS drive F: is disk3 >>> BIOS drive G: is disk4 >>> BIOS drive H: is disk5 >>> ZFS: i/o error - all block copies unavailable >>> ZFS: failed to read pool zroot directory object >>> BIOS 638kB/3143616kB available memory >>>=20 >>> FreeBSD/x86 bootstrap loader, Revision 1.1 >>> ERROR: cannot open /boot/lua/loader.lua: invalid argument. >>>=20 >>> Type '?' for list of commands, 'help' for more datailed help. >>> OK >>>=20 >>> I can import my pool with no problems using the lived, but I could = not fix it. >>>=20 >>> Seems a bug after 12.1-STABLE. Please, anyone can take a look ok = that? >>>=20 >>> Thanks. >>>=20 >>>=20 >>>=20 >>>=20 >> _______________________________________________ >> freebsd-stable@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-stable >> To unsubscribe, send any mail to = "freebsd-stable-unsubscribe@freebsd.org" >>=20 >=20 > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to = "freebsd-current-unsubscribe@freebsd.org"