Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 01 Jun 2016 16:14:26 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-amd64@FreeBSD.org
Subject:   [Bug 209940] FreeBSD installer for ZFS destroys RAID and fails (and hangs)
Message-ID:  <bug-209940-6@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209940

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

Created attachment 170919
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D170919&action=
=3Dedit
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 dest=
roys
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 w=
ith
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 install=
er.
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 ordin=
ary
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 resilv=
er
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?

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-209940-6>