Project

General

Profile

Actions

Bug #7308

closed

ZFS installer - check storage capabilities

Added by Clinton Cory over 7 years ago. Updated about 6 years ago.

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

100%

Estimated time:
Plus Target Version:
Release Notes:
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.


Files

24-02-2018_23_30_34.png (5.26 KB) 24-02-2018_23_30_34.png Anonymous, 02/24/2018 10:33 PM
Actions #1

Updated by Jim Thompson over 7 years ago

  • Assignee set to Renato Botelho
Actions #2

Updated by Jim Thompson about 7 years ago

  • Target version set to 2.4.3
Actions #3

Updated by Renato Botelho almost 7 years ago

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

Changed installer to request more space to install on ZFS

Actions #4

Updated by Anonymous over 6 years 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.

Actions #5

Updated by Renato Botelho over 6 years ago

  • Status changed from Feedback to Resolved
Actions #6

Updated by Christoph Filnkößl about 6 years ago

error is still there for me on SG-2220 with 2.4.4 CE
Even when I reduce the swap to 0.

Actions

Also available in: Atom PDF