Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Apr 2016 04:48:33 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-amd64@FreeBSD.org
Subject:   [Bug 208882] zfs root filesystem mount failure on startup in FreeBSD 10.3-RELEASE if  USB hdd with zpool is attached to another port
Message-ID:  <bug-208882-6@https.bugs.freebsd.org/bugzilla/>

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

            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@FreeBSD.org
          Reporter: ish@amail.plala.or.jp
                CC: freebsd-amd64@FreeBSD.org
                CC: freebsd-amd64@FreeBSD.org

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

I have a USB hdd drive with zpool.
In 10.3-RELEASE, it is bootable with UEFI and it is good working when attac=
hing
USB hdd to the same USB port. But I changed USB hdd to one of other USB por=
ts,
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 c=
an
mount normally.

USB HDD is GPT formatted as follow..
% gpart show da0
=3D>        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=3D"kernel kernel.i915 kernel.old"
i915_load=3D"YES"
fuse_load=3D"YES"
if_axge_load=3D"YES"
zfs_load=3D"YES"
vfs.root.mountfrom=3D"zfs:zroot/ROOT/default"
% grep -v '^#' /etc/rc.conf
hostname=3D"carrot.ish.org"
sshd_enable=3D"YES"
moused_enable=3D"YES"
ntpd_enable=3D"YES"
dumpdev=3D"NO"
keymap=3D"us"
defaultrouter=3D"192.168.1.1"
ifconfig_ue0=3D"inet 192.168.1.8 netmask 255.255.255.0"
ifconfig_ue0_ipv6=3D"inet6 accept_rtadv"
moused_flags=3D"-m 4=3D5 -m 5=3D4"
apm_enable=3D"YES"
dbus_enable=3D"YES"
hald_enable=3D"YES"
linux_enable=3D"YES"
fusefs_enable=3D"YES"
nfs_client_enable=3D"YES"
powerd_enable=3D"YES"
performance_cx_lowest=3D"C3"
economy_cx_lowest=3D"C3"
nfsuserd_enable=3D"YES"
nfsuserd_flags=3D"-domain ish.org"
nfscbd_enable=3D"YES"
local_unbound_enable=3D"YES"
rtsold_enable=3D"YES"
firewall_enable=3D"YES"
firewall_script=3D"/etc/ipfw.conf"
firewall_logging=3D"YES"
autofs_enable=3D"YES"
zfs_enable=3D"YES"

/var/log/messages is attached.

--=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-208882-6>