From owner-freebsd-current@freebsd.org Thu Oct 22 20:37:09 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 9857442A9AC for ; Thu, 22 Oct 2020 20:37:09 +0000 (UTC) (envelope-from tsoome@me.com) Received: from pv50p00im-hyfv10021501.me.com (pv50p00im-hyfv10021501.me.com [17.58.6.48]) (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 4CHK0j0jHZz4TkX for ; Thu, 22 Oct 2020 20:37:08 +0000 (UTC) (envelope-from tsoome@me.com) Received: from nazgul.lan (148-52-235-80.sta.estpak.ee [80.235.52.148]) by pv50p00im-hyfv10021501.me.com (Postfix) with ESMTPSA id 49D0DB403E6; Thu, 22 Oct 2020 20:37:06 +0000 (UTC) From: Toomas Soome Message-Id: 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 Date: Thu, 22 Oct 2020 23:37:04 +0300 In-Reply-To: Cc: "Sergey V. Dyatko" , freebsd-current@freebsd.org, freebsd-stable@freebsd.org To: Cassiano Peixoto References: <33381216-498a-51ff-839c-da772c43b60e@FreeBSD.org> <20201022203752.36fb6f3f@laptop.domain> 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_15: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=1015 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-2006250000 definitions=main-2010220131 X-Rspamd-Queue-Id: 4CHK0j0jHZz4TkX X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.78 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:17.58.0.0/16:c]; FREEMAIL_FROM(0.00)[me.com]; RWL_MAILSPIKE_GOOD(0.00)[17.58.6.48:from]; MV_CASE(0.50)[]; DKIM_TRACE(0.00)[me.com:+]; DMARC_POLICY_ALLOW(-0.50)[me.com,quarantine]; NEURAL_HAM_SHORT(-0.32)[-0.317]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; 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.96)[-0.962]; R_DKIM_ALLOW(-0.20)[me.com:s=1a1hai]; FREEFALL_USER(0.00)[tsoome]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; NEURAL_HAM_LONG(-1.00)[-1.000]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,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.48:from]; FREEMAIL_CC(0.00)[gmail.com,freebsd.org]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-current]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.33 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 20:37:09 -0000 > On 22. Oct 2020, at 23:29, Cassiano Peixoto = wrote: >=20 >=20 > Hi Toomas, >=20 > Thank you for this patch. Can I know when it will be MFCed? I'd like = to try. MFC will take a bit because I need to bring it together with asize = updates, so we would need to do a bit of cherry-picking and testing. rgds, toomas >=20 >=20 >> Hi! >>=20 >> Please try 366951:) I think, it should get things better for you. >>=20 >> rgds, >> toomas > On Thu, Oct 22, 2020 at 3:04 PM Cassiano Peixoto = > wrote: > Sergey, >=20 > I agree with you. The best thing is to revert the commit on zfsloader. = Many people didn't realize this issue yet, but they will run into a big = problem soon. >=20 > On Thu, Oct 22, 2020 at 2:41 PM Sergey V. Dyatko = > wrote: > On Thu, 22 Oct 2020 16:42:16 +0300 > Andriy Gapon wrote:=20 >=20 > > On 22/10/2020 16:39, Cassiano Peixoto wrote: > > > Hi Andriy, > > >=20 > > > I've just tried copying my zfsloader from 11.2-STABLE (R350026) to = FreeBSD > > > 12.1 and 12.2 (STABLE) and fixed the issue. > > >=20 > > > I also tried to use zfsloader of 11.3 but didn't work and the same = issue > > > happened. > > >=20 > > > So it seems that something has changed on zfsloader after 11.2 = that brings > > > this issue. > > >=20 > > > My question is: Should it be expected or is it a bug to be fixed? > > > =20 > >=20 > > In my opinion it's a bug. > > zfsloader should not require that disks must be partitioned. > >=20 >=20 > +1 > That's why I have terribly outdated 13-CURRENT on bunch of servers and = can't > update them.=20 >=20 > Most of them look like this: > [tiger@st25]:~>zpool status > pool: st25 > state: ONLINE > scan: none requested > config: >=20 > NAME STATE READ WRITE CKSUM > st25 ONLINE 0 0 0 > mirror-0 ONLINE 0 0 0 > ada0 ONLINE 0 0 0 > ada1 ONLINE 0 0 0 > mirror-1 ONLINE 0 0 0 > ada2 ONLINE 0 0 0 > ada3 ONLINE 0 0 0 > mirror-2 ONLINE 0 0 0 > ada4 ONLINE 0 0 0 > ada5 ONLINE 0 0 0 > mirror-3 ONLINE 0 0 0 > ada6 ONLINE 0 0 0 > ada7 ONLINE 0 0 0 >=20 > errors: No known data errors >=20 > They haven't separate boot device and have from 7 to 30+ Tb of data = that I > can't backup anywhere for re-install server with disk partitioning. = Some time > ago I managed to get aroud this reverting 2 commits ( r342151 + don't > remember revision) but then there where some other improvements after = which I > lost the opportunity to revert this commits >=20 > -- > wbr, Sergey >=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 = "