Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Oct 2020 10:39:18 -0300
From:      Cassiano Peixoto <peixotocassiano@gmail.com>
To:        Andriy Gapon <avg@freebsd.org>
Cc:        freebsd-stable@freebsd.org, freebsd-current@freebsd.org
Subject:   Re: Zpool doesn't boot anymore after FreeBSD 12.1
Message-ID:  <CAJajdNXo-rqBjR8FL4GTw6sy691NFH0B-CnHv_88i5P6XJECDA@mail.gmail.com>
In-Reply-To: <e109cba7-2716-7a83-3d39-66de48b93c8b@FreeBSD.org>
References:  <CAJajdNWgiKyd1jmX4uPogWU4Ty=OiEgDnQGaoLZUWgj_pr9WKw@mail.gmail.com> <CAJajdNXPhGj-mKj6R_N94Bfnhvm=nHr3RwfBm4qoTB3g_=6kGw@mail.gmail.com> <CAJajdNV0nGdhAm6cgs2SKMBsY=Hi1Azb8fA_0PFrLUuejCT8ag@mail.gmail.com> <e109cba7-2716-7a83-3d39-66de48b93c8b@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <avg@freebsd.org> 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
> "
> >
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJajdNXo-rqBjR8FL4GTw6sy691NFH0B-CnHv_88i5P6XJECDA>