Actions
Bug #7308
closedZFS installer - check storage capabilities
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
Actions