From owner-freebsd-amd64@freebsd.org Mon Apr 18 04:48:33 2016 Return-Path: Delivered-To: freebsd-amd64@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 90228B11493 for ; Mon, 18 Apr 2016 04:48:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6F87811BA for ; Mon, 18 Apr 2016 04:48:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u3I4mX4n087789 for ; Mon, 18 Apr 2016 04:48:33 GMT (envelope-from bugzilla-noreply@freebsd.org) 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 Date: Mon, 18 Apr 2016 04:48:33 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.3-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: ish@amail.plala.or.jp X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-Mailman-Approved-At: Mon, 18 Apr 2016 11:21:02 +0000 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Apr 2016 04:48:33 -0000 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.=