From owner-freebsd-bugs@freebsd.org Thu Aug 24 04:12:47 2017 Return-Path: Delivered-To: freebsd-bugs@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 A9432DD50B3 for ; Thu, 24 Aug 2017 04:12:47 +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 7EBB969454 for ; Thu, 24 Aug 2017 04:12:47 +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 v7O4ClLd005798 for ; Thu, 24 Aug 2017 04:12:47 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 212258] bootpool is not imported after reboot on a MBR partitioned drive Date: Thu, 24 Aug 2017 04:12:47 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 11.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: execve@gmail.com 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: Message-ID: In-Reply-To: References: 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-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Aug 2017 04:12:47 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D212258 --- Comment #13 from Gautam Mani --- I am not a ZFS expert - just started using it a few days back, but here is = the zpool history and I am showing the commands run by the installer. History for 'bootpool': 2017-08-22.15:08:09 zpool create -o altroot=3D/mnt -m /bootpool -f bootpool ada0s1a 2017-08-22.15:08:14 zpool export bootpool 2017-08-22.15:09:28 zpool import -o altroot=3D/mnt -N bootpool Below these are manually done. 2017-08-22.10:36:22 zpool import -f bootpool ... History for 'zroot': 2017-08-22.15:08:10 zpool create -o altroot=3D/mnt -O compress=3Dlz4 -O ati= me=3Doff -m none -f zroot ada0s1d 2017-08-22.15:08:10 zfs create -o mountpoint=3Dnone zroot/ROOT 2017-08-22.15:08:10 zfs create -o mountpoint=3D/ zroot/ROOT/default 2017-08-22.15:08:10 zfs create -o mountpoint=3D/tmp -o exec=3Don -o setuid= =3Doff zroot/tmp 2017-08-22.15:08:11 zfs create -o mountpoint=3D/usr -o canmount=3Doff zroot= /usr 2017-08-22.15:08:11 zfs create zroot/usr/home 2017-08-22.15:08:11 zfs create -o setuid=3Doff zroot/usr/ports 2017-08-22.15:08:11 zfs create zroot/usr/src 2017-08-22.15:08:11 zfs create -o mountpoint=3D/var -o canmount=3Doff zroot= /var 2017-08-22.15:08:12 zfs create -o exec=3Doff -o setuid=3Doff zroot/var/audit 2017-08-22.15:08:12 zfs create -o exec=3Doff -o setuid=3Doff zroot/var/crash 2017-08-22.15:08:12 zfs create -o exec=3Doff -o setuid=3Doff zroot/var/log 2017-08-22.15:08:13 zfs create -o atime=3Don zroot/var/mail 2017-08-22.15:08:13 zfs create -o setuid=3Doff zroot/var/tmp 2017-08-22.15:08:13 zfs set mountpoint=3D/zroot zroot 2017-08-22.15:08:14 zpool set bootfs=3Dzroot/ROOT/default zroot 2017-08-22.15:08:14 zpool export zroot 2017-08-22.15:08:57 zpool import -o altroot=3D/mnt zroot 2017-08-22.15:09:28 zpool set cachefile=3D/mnt/boot/zfs/zpool.cache zroot 2017-08-22.15:09:33 zfs set canmount=3Dnoauto zroot/ROOT/default ... --=20 You are receiving this mail because: You are the assignee for the bug.=