Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 May 2022 15:44:30 -0400
From:      Alejandro Krohn <alejandrokrohn@gmail.com>
To:        vogelke@pobox.com
Cc:        questions@freebsd.org
Subject:   Re: ZFS failure while installing 12.3-RELEASE
Message-ID:  <CACncQdO10r9_Mu3BUvByE1hewzGm0Z-jfHW7uSYqO-MpiN_WSw@mail.gmail.com>
In-Reply-To: <20220501081450.GA15219@ispcweb01.hcst.com>
References:  <20220501081450.GA15219@ispcweb01.hcst.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--000000000000c51d1605ddf88124
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Dear Karl, if you can check:
In BIOS setup, the disk interface is set to Sata mode, in the past,
changing from Ide to Sata solved problems
Change the data cables of the disks, sometimes generic red cables have
problems
Hope this helps, anything write again, you are welcome

El dom., 1 de mayo de 2022 04:15, Karl Vogel <vogelke@pobox.com> escribi=C3=
=B3:

> Greetings,
>
> I just tried installing 12.3-RELEASE on a box that had been running Oracl=
e
> Linux-7.9, and I got all the way through the install with no problems.
> I have 5 drives; 2 are identical WD 1-TB, 2 are identical WD 3-TB,
> and one Crucial SSD.
>
> The system found all the drives (including the SSD, to my surprise --
> it was connected via USB cable).  I set up a basic mirror on the two WD
> 1-TB drives, figuring I'd do the rest of the disk setup later -- I want
> a mirrored root filesystem but other things can go on the SSD.
>
> I got into my setup menu (Intel) and asked to boot from the DVD without
> changing the default boot order, which tries the disk first.  The install
> went fine, but when rebooting from the drive, I saw a ZFS failure:
>
>     Solaris: zroot/ROOT/default: can't open objset 108, error 6.
>
> It tried again after three seconds, no joy.  Reboot into single-user
> also fails, and trying rescue from the DVD only shows me the DVD itself;
> I don't have a writable root partition.  I can do ls and lsdev, and I
> see drives like ada0p4 and ada1p4 listed as ZFS, but I'm not sure what
> to do next.  Some suggestions I've found:
>
>     zpool status
>     zfs list
>
> Add the following to loader.conf:
>
>     vfs.zfs.debug=3D"1"
>     boot_pause=3D"YES"
>     geom_label_load=3D"YES"
>     geom_part_gpt_load=3D"YES"
>
> Tell the system more specifically what to load in /boot/loader.conf:
>
>     vfs.root.mountfrom=3D"zfs:zroot"
>
> I have another system running FreeBSD-11.4 (no problems) and
> /boot/loader.conf contains:
>
>     kern.geom.label.disk_ident.enable=3D"0"
>     kern.geom.label.gptid.enable=3D"0"
>     zfs_load=3D"YES"
>     accf_data_load=3D"YES"
>
> The last suggestions I found were
>
>     zpool import -fR /mnt zroot
>     zpool get bootfs zroot
>
> If the "get" command didn't give me anything, try
>
>     zpool set zroot bootfs zroot
>
> I did the install under UEFI, and now I can't seem to get to my setup pag=
e
> at all -- pressing F2 or F10 during boot doesn't work like it used to.
> I'm very surprised; FreeBSD installations have always gone smoothly in
> the past.
>
> Any suggestions welcome.  Hoping I didn't somehow brick my system.
>
> --
> Karl Vogel / vogelke AT pobox DOT com / I don't speak for anyone at the
> moment
>
> To make error is human.  To propagate error to
> all server in automatic way is devops.           --If Borat worked in IT
>
>

--000000000000c51d1605ddf88124
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"auto">Dear Karl, if you can check:<div dir=3D"auto">In BIOS set=
up, the disk interface is set to Sata mode, in the past, changing from Ide =
to Sata solved problems</div><div dir=3D"auto">Change the data cables of th=
e disks, sometimes generic red cables have problems</div><div dir=3D"auto">=
Hope this helps, anything write again, you are welcome=C2=A0</div></div><br=
><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">El dom., =
1 de mayo de 2022 04:15, Karl Vogel &lt;<a href=3D"mailto:vogelke@pobox.com=
">vogelke@pobox.com</a>&gt; escribi=C3=B3:<br></div><blockquote class=3D"gm=
ail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-le=
ft:1ex">Greetings,<br>
<br>
I just tried installing 12.3-RELEASE on a box that had been running Oracle<=
br>
Linux-7.9, and I got all the way through the install with no problems.<br>
I have 5 drives; 2 are identical WD 1-TB, 2 are identical WD 3-TB,<br>
and one Crucial SSD.<br>
<br>
The system found all the drives (including the SSD, to my surprise --<br>
it was connected via USB cable).=C2=A0 I set up a basic mirror on the two W=
D<br>
1-TB drives, figuring I&#39;d do the rest of the disk setup later -- I want=
<br>
a mirrored root filesystem but other things can go on the SSD.<br>
<br>
I got into my setup menu (Intel) and asked to boot from the DVD without<br>
changing the default boot order, which tries the disk first.=C2=A0 The inst=
all<br>
went fine, but when rebooting from the drive, I saw a ZFS failure:<br>
<br>
=C2=A0 =C2=A0 Solaris: zroot/ROOT/default: can&#39;t open objset 108, error=
 6.<br>
<br>
It tried again after three seconds, no joy.=C2=A0 Reboot into single-user<b=
r>
also fails, and trying rescue from the DVD only shows me the DVD itself;<br=
>
I don&#39;t have a writable root partition.=C2=A0 I can do ls and lsdev, an=
d I<br>
see drives like ada0p4 and ada1p4 listed as ZFS, but I&#39;m not sure what<=
br>
to do next.=C2=A0 Some suggestions I&#39;ve found:<br>
<br>
=C2=A0 =C2=A0 zpool status<br>
=C2=A0 =C2=A0 zfs list<br>
<br>
Add the following to loader.conf:<br>
<br>
=C2=A0 =C2=A0 vfs.zfs.debug=3D&quot;1&quot;<br>
=C2=A0 =C2=A0 boot_pause=3D&quot;YES&quot;<br>
=C2=A0 =C2=A0 geom_label_load=3D&quot;YES&quot;<br>
=C2=A0 =C2=A0 geom_part_gpt_load=3D&quot;YES&quot;<br>
<br>
Tell the system more specifically what to load in /boot/loader.conf:<br>
<br>
=C2=A0 =C2=A0 vfs.root.mountfrom=3D&quot;zfs:zroot&quot;<br>
<br>
I have another system running FreeBSD-11.4 (no problems) and<br>
/boot/loader.conf contains:<br>
<br>
=C2=A0 =C2=A0 kern.geom.label.disk_ident.enable=3D&quot;0&quot;<br>
=C2=A0 =C2=A0 kern.geom.label.gptid.enable=3D&quot;0&quot;<br>
=C2=A0 =C2=A0 zfs_load=3D&quot;YES&quot;<br>
=C2=A0 =C2=A0 accf_data_load=3D&quot;YES&quot;<br>
<br>
The last suggestions I found were<br>
<br>
=C2=A0 =C2=A0 zpool import -fR /mnt zroot<br>
=C2=A0 =C2=A0 zpool get bootfs zroot<br>
<br>
If the &quot;get&quot; command didn&#39;t give me anything, try<br>
<br>
=C2=A0 =C2=A0 zpool set zroot bootfs zroot<br>
<br>
I did the install under UEFI, and now I can&#39;t seem to get to my setup p=
age<br>
at all -- pressing F2 or F10 during boot doesn&#39;t work like it used to.<=
br>
I&#39;m very surprised; FreeBSD installations have always gone smoothly in<=
br>
the past.<br>
<br>
Any suggestions welcome.=C2=A0 Hoping I didn&#39;t somehow brick my system.=
<br>
<br>
--<br>
Karl Vogel / vogelke AT pobox DOT com / I don&#39;t speak for anyone at the=
 moment<br>
<br>
To make error is human.=C2=A0 To propagate error to<br>
all server in automatic way is devops.=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0--If Borat worked in IT<br>
<br>
</blockquote></div>

--000000000000c51d1605ddf88124--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACncQdO10r9_Mu3BUvByE1hewzGm0Z-jfHW7uSYqO-MpiN_WSw>