Project

General

Profile

Bug #7308

ZFS installer - check storage capabilities

Added by Clinton Cory about 1 year ago. Updated about 2 months ago.

Status:
Resolved
Priority:
Normal
Category:
Installer
Target version:
Start date:
02/23/2017
Due date:
% Done:

100%

Affected Version:
2.4
Affected Architecture:

Description

ZFS installer fails on the SG-2220 due to the small size of the internal storage (4 GB). The default swap size in ZFS is 2G but reducing this still results in a failure. The install appears to go through properly but after a reboot we get this error:

Mounting from zfs:zroot/ROOT/default failed with error 5.

Loader variables:
  vfs.root.mountfrom=zfs:zroot/ROOT/default

Manual root filesystem specification:
  <fstype>:<device> [options]
      Mount <device> using filesystem <fstype>
      and with the specified (optional) option list.

    eg. ufs:/dev/da0s1a
        zfs:tank
        cd9660:/dev/cd0 ro
          (which is equivalent to: mount -t cd9660 -o ro /dev/cd0 /)

  ?               List valid disk boot devices
  .               Yield 1 second (for background tasks)
  <empty line>    Abort manual input

mountroot> da0 at umass-sim0 bus 0 scbus6 target 0 lun 0

panic: mountroot: unable to (re-)mount root.
cpuid = 1
KDB: enter: panic
[ thread pid 1 tid 100002 ]
Stopped at      kdb_enter+0x3b: movq    $0,kdb_why
db> 

The installer should check storage and memory capabilities to ensure ZFS isn't installed on a system with insufficient storage/memory requirements. The user should be alerted if the minimum size is not met. Documentation should be updated to reflect this.

Per Renato, this likely affects FreeBSD stock.

24-02-2018_23_30_34.png (5.26 KB) James Dekker, 02/24/2018 10:33 PM

History

#1 Updated by Jim Thompson about 1 year ago

  • Assignee set to Renato Botelho

#2 Updated by Jim Thompson 6 months ago

  • Target version set to 2.4.3

#3 Updated by Renato Botelho about 2 months ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 100

Changed installer to request more space to install on ZFS

#4 Updated by James Dekker about 2 months ago

Tested with pfSense-CE-2.4.3-DEVELOPMENT-amd64-20180224-1921.iso and got the attached error with 2G memory, 4G storage and dual core CPU when selecting ZFS installer default options.

#5 Updated by Renato Botelho about 2 months ago

  • Status changed from Feedback to Resolved

Also available in: Atom PDF