From owner-freebsd-stable@freebsd.org Wed Oct 21 20:07:04 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 50C2542BFB8 for ; Wed, 21 Oct 2020 20:07:04 +0000 (UTC) (envelope-from peixotocassiano@gmail.com) Received: from mail-ej1-x629.google.com (mail-ej1-x629.google.com [IPv6:2a00:1450:4864:20::629]) (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 4CGhNR05Gpz3Tm9 for ; Wed, 21 Oct 2020 20:07:02 +0000 (UTC) (envelope-from peixotocassiano@gmail.com) Received: by mail-ej1-x629.google.com with SMTP id a3so5009962ejy.11 for ; Wed, 21 Oct 2020 13:07:02 -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=YjTbUiP406QchyWTEtBSj4I0i1R9gYMiepUBU2/iLTA=; b=rzQmisBH5oe26K8orgGU1ivZE1AD0T5bl6zhrT8cSkKOdSCMqXp1cXrnzBWFPqZZ7I lZtDdCOr63/XrR/0pqsF1YoQwkfU+IlVAZuNK3E6P9AIP3cUIms4Inh90l4DV64Ka9Dt Hz9Xzl7m0egMR+diDi2w4frL7SqJYozttAgVoQrOXuPqZ71c9VBx7QZcAJ/kHkGuKV5R A5aR+fEkZLGr4ISWAq6NG6hZg/gQh/emPgSYf/rQo1gZqbgWDdgjt40qlHqLH2EHN+C1 W7XAIDkAZuWZ1dnsUBrfFB5KaF861kHWambnfIKKrLnsvmzb35Fa8ji1xF3itf/dW6Q7 Idnw== 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=YjTbUiP406QchyWTEtBSj4I0i1R9gYMiepUBU2/iLTA=; b=ZprB9AYufw1Fs1SVdT29QUPLbHdWY43qJM1BzTRWNbuaCukVrhcafXLIElKgWUoxGi zt2eWKwTpKqfWMZF3ow5jcUNjyQkdNylXGqmYmAy7ModltrUIurFnvaGJStMmhKo1B/r BFBpXzIX+RQfXsFfe0eVVCjQfJRRf+QleAJe25SRpEGkVpViNkYhIJ1Vj5B/Utn9FFW8 w/6U446zI+0NBZ90Y12CYwDmUlAbiVOyzd5HTWO73l0hiCkF+AhJpcZeC91nJNNabqhb qcR3pXGZjyyOcJnFmqYdTjqWnPNZiWkbm2/uyLlZ3wu4zqgjEW+z4qivxAQBhsVKdTDZ dm0g== X-Gm-Message-State: AOAM5300mV13j1TFutpAH97h+Jz+/DOWc4Kbcd3QL3Mse3KT604u7lSp DzaC3WRnuBtBb5d/0PX+LOqXAGr79lEseVKBh/0m7ERz X-Google-Smtp-Source: ABdhPJwTQMG/3ladhzVn424kmhN2/4VLBh0l4NMoCgQrOoF5jeZItceLSrGCITyDTpshnHchej+uV+VSEJe0ZL8Fjk8= X-Received: by 2002:a17:906:cf9d:: with SMTP id um29mr5075538ejb.307.1603310821088; Wed, 21 Oct 2020 13:07:01 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Cassiano Peixoto Date: Wed, 21 Oct 2020 17:06:49 -0300 Message-ID: Subject: Re: Zpool doesn't boot anymore after FreeBSD 12.1 To: mike tancsa Cc: freebsd-stable@freebsd.org X-Rspamd-Queue-Id: 4CGhNR05Gpz3Tm9 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=rzQmisBH; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of peixotocassiano@gmail.com designates 2a00:1450:4864:20::629 as permitted sender) smtp.mailfrom=peixotocassiano@gmail.com X-Spamd-Result: default: False [-3.82 / 15.00]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; NEURAL_HAM_MEDIUM(-1.01)[-1.009]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-stable@freebsd.org]; NEURAL_HAM_LONG(-1.00)[-1.004]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::629:from]; NEURAL_HAM_SHORT(-0.81)[-0.809]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; 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]; 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: Wed, 21 Oct 2020 20:07:04 -0000 Hi guys, Thank your for your answer. @Ricchard First of all I didn't have a chance to run zpool upgrade, because after the system update reboot i ran into the issue. @Walter and @mike Regarding making a partition, I never see any recommendation about this, I've been always using the entire disk on a pool to expand it. Until FreeBSD 11.2 it worked fine. Is there a workaround for this or should I reinstall the entire pool? On Wed, Oct 21, 2020 at 4:45 PM mike tancsa wrote: > Just a guess, Is your VM still trying to boot from whatever gpt/disk0 is > ? Or is it perhaps trying to boot from da1 or da2 which does not have > boot info ? Generally its not recommended to use the entire disk as > part of a pool. Create a partition scheme first > > gpart create -s gpt da1 > > gpart add -t freebsd-zfs da1 > > then add da1p1 to the pool > > ---Mike > > > On 10/21/2020 8:20 AM, Cassiano Peixoto wrote: > > Hi there, > > > > Anyone can help please? I've many servers with this same issue. Thanks > > > > 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 > " > > >