From owner-freebsd-stable@freebsd.org Fri Oct 16 13:24:15 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 5C023435A6C for ; Fri, 16 Oct 2020 13:24:15 +0000 (UTC) (envelope-from peixotocassiano@gmail.com) Received: from mail-ed1-x533.google.com (mail-ed1-x533.google.com [IPv6:2a00:1450:4864:20::533]) (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 4CCRgy4TdZz3SvP for ; Fri, 16 Oct 2020 13:24:14 +0000 (UTC) (envelope-from peixotocassiano@gmail.com) Received: by mail-ed1-x533.google.com with SMTP id t20so2324081edr.11 for ; Fri, 16 Oct 2020 06:24:14 -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; bh=e36N9yq/+oI9EKElQuKN0OrXnSkNjCh6xotDjZQPBt8=; b=vRiECyty2+lLkoOVtn0ofbuDOfpGmuyLCjkyvqd3LKB9BSbe3fv19QHHwyDvBEA4RC jcksyNe2eB4wnVH+Y3u76n5xzKBodpxEVubXy8HQALULzZl70GhzIvOIQ6qoj2ipCeSD YhNdcDk62grn0HoptNowUmWZ3lLFNjHFau3DB8kTe1jwz1t42raZm2l3XrcI+2IsC2t0 9lOVWFAJ7J9JTJ1oC1JFRoe9u0XyZXbl3/sWWrB8WLOEpWrWhv3m6Y0ltBPPY+SAWWQb 7JfP4iIdiAhIUwRlvi5t6DQ/HiC34WpUzMY42MW00SpR6EPOJho67dMeOphUbpPWRDH0 G0Gg== 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; bh=e36N9yq/+oI9EKElQuKN0OrXnSkNjCh6xotDjZQPBt8=; b=Ac6mSbv5ebBVfzyplIWx0Im+JKPCKBJniKZBkBBzbHFy4cyPMo5gfuT+9VFYK4ze2N a1Atni6BwMR9fjH3PIg1ulxcmi2GbkseyB6E536O05II/Gc/amMTEFDiyjNptjuLw0oN MyLavPje23s0ljI7wEVsCRU6m0GFlx5wC23JG9sHxYqOGE0YOhxAQe9uI0NYNDqY70rn mYrxmB1PC45cMQg+KQNBoADUv/DnjC/QeyhK9o5ULtvwJWfPz7frhTMiLASaFOAS4tez 1w2M9eMAYQzVdxX+TL8RVPeau9BdrvUWdUTRlqoqety3OkgDojPTLiwBPqR35R3ONHHq 7ATw== X-Gm-Message-State: AOAM533nSEmApXT8nkqiAEhtrJmiOw+nm4345BOMtDESfwccq9oU3MAd zka4FGo0eFLZ1ig3cz1/pDOX2IcEAZfUiw/DM3vaeATj X-Google-Smtp-Source: ABdhPJwLKt4nQ8PSJPs2AmEMLcpToVmTOXyu5/BoIb1sskVR2zHYjz/N4RJFay3/9H0dxmV0def/bDYQ2TD77GuP0KM= X-Received: by 2002:a05:6402:c12:: with SMTP id co18mr3848114edb.162.1602854651494; Fri, 16 Oct 2020 06:24:11 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Cassiano Peixoto Date: Fri, 16 Oct 2020 10:24:00 -0300 Message-ID: Subject: Zpool doesn't boot anymore after FreeBSD 12.1 To: freebsd-stable@freebsd.org X-Rspamd-Queue-Id: 4CCRgy4TdZz3SvP X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=vRiECyty; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of peixotocassiano@gmail.com designates 2a00:1450:4864:20::533 as permitted sender) smtp.mailfrom=peixotocassiano@gmail.com X-Spamd-Result: default: False [-3.02 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.97)[-0.968]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-stable@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.003]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::533:from]; NEURAL_HAM_SHORT(-0.05)[-0.047]; 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: Fri, 16 Oct 2020 13:24:15 -0000 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 with 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.