From owner-freebsd-stable@freebsd.org Thu Oct 22 13:39:33 2020 Return-Path: Delivered-To: freebsd-stable@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 27D35449215; Thu, 22 Oct 2020 13:39:33 +0000 (UTC) (envelope-from peixotocassiano@gmail.com) Received: from mail-ej1-x62b.google.com (mail-ej1-x62b.google.com [IPv6:2a00:1450:4864:20::62b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CH7kr2lBSz3dhg; Thu, 22 Oct 2020 13:39:32 +0000 (UTC) (envelope-from peixotocassiano@gmail.com) Received: by mail-ej1-x62b.google.com with SMTP id z5so2351883ejw.7; Thu, 22 Oct 2020 06:39:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Pe3+2DGM8XmVWFRV/bk0UIVlG2Luo4oi4g1YtTnKHRs=; b=s2C4Tl3utJXE1vsoR/psQTwqsc9+/Yko9bB4AGgQO8XkX6AJi/dw5Qcmn51Do7r2dy jXoyobaxqf8nElAxCgrmFGZg8UjL1Av5Lii5+hL0yNqV5xHMK5IyZDRgMlL1T0vadhgg y9F/rtfMaWkjJ/lwD+vw9aVuuIjUSWNuWLOOZX//jY8IdU8k1cJsA9+rDBx4AT7PXrha HQHjtSi56USB1viPNpM9IhnqJP4BfqwkHRwALgiuWkN6uo005U8L8VqFB3jnorD3CNS2 PyyKiVlY0qer1CZfXJS5UoSdClyJVhcfhgmWaKUkAwQDFsbI2pEtFHtwouhvVtJaq0DM qWMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Pe3+2DGM8XmVWFRV/bk0UIVlG2Luo4oi4g1YtTnKHRs=; b=nGUWgVUrPA4GcKB/fPO+BTpJ6KDBaH1SRhtgxDLHUNpj2NuAD1vFmb/CGVV09Oh8fN az1AR7LT/BLvthEgmS90f9XyMVec7vzDsYVSOfxwbIJrc2UIZxJhqI6hMqWEoYMzEtMs WMNbnuMh87nonmkmHzS0zaE6EFvzIjS7Ntb+HVheamaHqpZJj/l+OcEx3sCSrrS68Xse TYZBt/UGVcorOoAbj0u8yruaXLDwSuqY/1khN0G/HpVnMkro9fvRKPn/te7AffEr2H6d j7yg1YO9rZdlWbTXiGawuGCe53KwIwXaeiL91lV7FPTXrSWPfmKeLrByQ5RmmCKHWFe+ HTZg== X-Gm-Message-State: AOAM532qso3giQ0zAei3S/zJ0odBXplbZcmPWk1okFFEjYlJK1CRqx7y OlZ0C9dixwn3rVCj+BO/tpwe92p4t2h6hB5KFRtq0bUg X-Google-Smtp-Source: ABdhPJyTLmjpBzHJ5lDaDV4Qw0ZhakzCVCTgMhOwkY/WYALw8z6KS271l0BE4GzjxbU2WDQddOd4VluJ/wZsaCtnHxQ= X-Received: by 2002:a17:906:190b:: with SMTP id a11mr2317907eje.260.1603373970291; Thu, 22 Oct 2020 06:39:30 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Cassiano Peixoto Date: Thu, 22 Oct 2020 10:39:18 -0300 Message-ID: Subject: Re: Zpool doesn't boot anymore after FreeBSD 12.1 To: Andriy Gapon Cc: freebsd-stable@freebsd.org, freebsd-current@freebsd.org X-Rspamd-Queue-Id: 4CH7kr2lBSz3dhg X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=s2C4Tl3u; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of peixotocassiano@gmail.com designates 2a00:1450:4864:20::62b as permitted sender) smtp.mailfrom=peixotocassiano@gmail.com X-Spamd-Result: default: False [-2.72 / 15.00]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; NEURAL_HAM_MEDIUM(-0.99)[-0.992]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; FREEMAIL_FROM(0.00)[gmail.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; NEURAL_HAM_LONG(-1.00)[-1.004]; TO_DN_SOME(0.00)[]; NEURAL_SPAM_SHORT(0.28)[0.277]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::62b:from]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-stable,freebsd-current]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Oct 2020 13:39:33 -0000 Hi Andriy, I've just tried copying my zfsloader from 11.2-STABLE (R350026) to FreeBSD 12.1 and 12.2 (STABLE) and fixed the issue. I also tried to use zfsloader of 11.3 but didn't work and the same issue happened. So it seems that something has changed on zfsloader after 11.2 that brings this issue. My question is: Should it be expected or is it a bug to be fixed? Thanks. On Thu, Oct 22, 2020 at 4:39 AM Andriy Gapon wrote: > On 21/10/2020 15:20, Cassiano Peixoto wrote: > > Hi there, > > > > Anyone can help please? I've many servers with this same issue. Thanks > > 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? > > > On Fri, Oct 16, 2020 at 10:24 AM Cassiano Peixoto < > peixotocassiano@gmail.com> > > wrote: > > > >> Hi there, > >> > >> 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 wi= th > no issues. > >> > >> I ran: > >> > >> # 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: > >> > >> NAME STATE READ WRITE CKSUM > >> zroot ONLINE 0 0 0 > >> gpt/disk0 ONLINE 0 0 0 > >> > >> errors: No known data errors > >> > >> # zpool add -f zroot da1 > >> # zpool add -f zroot da2 > >> # zpool status > >> pool: zroot > >> state: ONLINE > >> scan: none requested > >> config: > >> > >> 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 > >> > >> errors: No known data errors > >> # reboot > >> > >> Then my system doesn=E2=80=99t boot anymore, i got the following error= : > >> > >> gptzfsboot: error 4 lba 2038346899 > >> gptzfsboot: error 4 lba 1361327267 > >> /boot/config: -Dh > >> > >> 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 > >> > >> FreeBSD/x86 bootstrap loader, Revision 1.1 > >> ERROR: cannot open /boot/lua/loader.lua: invalid argument. > >> > >> Type '?' for list of commands, 'help' for more datailed help. > >> OK > >> > >> I can import my pool with no problems using the lived, but I could not > fix it. > >> > >> Seems a bug after 12.1-STABLE. Please, anyone can take a look ok that? > >> > >> Thanks. > >> > >> > >> > >> > > _______________________________________________ > > freebsd-stable@freebsd.org mailing list > > https://lists.freebsd.org/mailman/listinfo/freebsd-stable > > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.or= g > " > > > >