[Bug 208882] zfs root filesystem mount failure on startup in FreeBSD 10.3-RELEASE if USB hdd with zpool is attached to another port

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Apr 18 04:48:33 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=208882

            Bug ID: 208882
           Summary: zfs root filesystem mount failure on startup in
                    FreeBSD 10.3-RELEASE if  USB hdd with zpool is
                    attached to another port
           Product: Base System
           Version: 10.3-RELEASE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: ish at amail.plala.or.jp
                CC: freebsd-amd64 at FreeBSD.org
                CC: freebsd-amd64 at FreeBSD.org

Created attachment 169419
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=169419&action=edit
messages

I have a USB hdd drive with zpool.
In 10.3-RELEASE, it is bootable with UEFI and it is good working when attaching
USB hdd to the same USB port. But I changed USB hdd to one of other USB ports,
kernel cannot mount root filesystem with the following messages.

Solaris: NOTICE: Cannot find the pool label for 'zroot'
Mounting from zfs:zroot/ROOT/default failed with error 5.

And with prompt 'mountroot>', then I entered 'zfs:zroot/ROOT/default', it can
mount normally.

USB HDD is GPT formatted as follow..
% gpart show da0
=>        34  3907029097  da0  GPT  (1.8T)
          34        1606       - free -  (803K)
        1640          88    2  freebsd-boot  (44K)
        1728   134217728    3  freebsd-ufs  (64G)
   134219456    16777216    4  freebsd-swap  (8.0G)
   150996672    52428800       - free -  (25G)
   203425472   209715200   27  freebsd-zfs  (100G)
   413140672  3493888459       - free -  (1.6T)

A zpool was created on /dev/da0p27 as follows.

% zfs list
NAME                USED  AVAIL  REFER  MOUNTPOINT
zroot               26.8G  69.6G    96K  none
zroot/ROOT          1.24G  69.6G    96K  none
zroot/ROOT/default  1.24G  69.6G  1.24G  /
zroot/usr           22.2G  69.6G  6.60G  /usr
zroot/usr/local     15.6G  69.6G  15.6G  /usr/local
zroot/var           3.34G  69.6G  3.34G  /var

And my configuration is as follows.
% grep -v '^#' /boot/loader.conf
kernels="kernel kernel.i915 kernel.old"
i915_load="YES"
fuse_load="YES"
if_axge_load="YES"
zfs_load="YES"
vfs.root.mountfrom="zfs:zroot/ROOT/default"
% grep -v '^#' /etc/rc.conf
hostname="carrot.ish.org"
sshd_enable="YES"
moused_enable="YES"
ntpd_enable="YES"
dumpdev="NO"
keymap="us"
defaultrouter="192.168.1.1"
ifconfig_ue0="inet 192.168.1.8 netmask 255.255.255.0"
ifconfig_ue0_ipv6="inet6 accept_rtadv"
moused_flags="-m 4=5 -m 5=4"
apm_enable="YES"
dbus_enable="YES"
hald_enable="YES"
linux_enable="YES"
fusefs_enable="YES"
nfs_client_enable="YES"
powerd_enable="YES"
performance_cx_lowest="C3"
economy_cx_lowest="C3"
nfsuserd_enable="YES"
nfsuserd_flags="-domain ish.org"
nfscbd_enable="YES"
local_unbound_enable="YES"
rtsold_enable="YES"
firewall_enable="YES"
firewall_script="/etc/ipfw.conf"
firewall_logging="YES"
autofs_enable="YES"
zfs_enable="YES"

/var/log/messages is attached.

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


More information about the freebsd-amd64 mailing list