[Bug 209940] FreeBSD installer for ZFS destroys RAID and fails (and hangs)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Jun 1 16:14:26 UTC 2016


            Bug ID: 209940
           Summary: FreeBSD installer for ZFS destroys RAID and fails (and
           Product: Base System
           Version: 11.0-CURRENT
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: standards
          Assignee: freebsd-standards at FreeBSD.org
          Reporter: elofu17 at hotmail.com
                CC: freebsd-amd64 at FreeBSD.org
                CC: freebsd-amd64 at FreeBSD.org

Created attachment 170919
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=170919&action=edit
GEOM error in the FreeBSD installer during ZFS install

In the FreeBSD 10.1 installer, I can't install FreeBSD using ZFS on a BIOS
Software RAID1 volume.
When the installer tries to handle the raid/r0 device (gpart, etc), it destroys
the RAID and then shows an error message, and the installer fail.

Therefore I downloaded the latest
FreeBSD-11.0-ALPHA1-amd64-20160528-r300895-disc1.iso to see if the latest
version of FreeBSD behave better.
Unfortunetly it doesn't.

How to reproduce:
Boot a machine (in my case a Supermicro) with two harddrives.
Enter BIOS setup and configure the SATA controller as a RAID controller.
Reboot and press ctrl-i to enter the "Intel Software RAID" setup.
Create a RAID1 volume containing the two HDDs.
Boot the FreeBSD 11.0 installer, select keyboard, enter a hostname and clear
all distribution packages.
Now choose to install using ZFS.
Under 'Pool Type/Disks:', select "stripe" and then select the RAID1 volume
"raid/r0", like this:
[ ] ada0
[ ] ada1
[x] raid/r0
The ZFS-installer now says "stripe: 1 disks" which is correct, so proceed with
the installation.
Are you sure? Yes

Now the same thing happens as in 10.1:
The Intel software RAID1 you just created is destroyed.
On FreeBSD 11.0, nothing more happen. The installer has stopped. No error
messages, no nothing. (see attachment #1: geom.jpg and #2: the debug-screen
(alt-F3) of the installer)

(For your information: On FreeBSD 10.1 the same thing happens (the raid is
destroyed), but at least an error is generated, so one can exit the installer.
On FreeBSD 11.0 the installer just hangs.)

What I expected/wanted:
I wanted FreeBSD 11.0 to be installed onto my soft RAID1 volume as an ordinary
striped ZFS.

I want to use a standard RAID1 of two full disks.
I do not want to use ZFS mirror since this is not full disk duplication, and
the recovery of a broken ZFS-mirror-disk is a much bigger hassle (manually
duplicate partition structures, manually save a bootloader, manually resilver
the zfs-mirror) than recovering an ordinary RAID1 disk.
I want ZFS, so using UFS instead is not a workaround.

Can this problem in the ZFS-installer please be fixed before the official
FreeBSD 11.0 is released?

You are receiving this mail because:
You are on the CC list for the bug.

More information about the freebsd-amd64 mailing list