Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Aug 2017 04:12:47 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 212258] bootpool is not imported after reboot on a MBR partitioned drive
Message-ID:  <bug-212258-8-TdgUjYhtZq@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-212258-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-212258-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help

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

--- Comment #13 from Gautam Mani <execve@gmail.com> ---
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=/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=/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=/mnt -O compress=lz4 -O atime=off
-m none -f zroot ada0s1d
2017-08-22.15:08:10 zfs create -o mountpoint=none zroot/ROOT
2017-08-22.15:08:10 zfs create -o mountpoint=/ zroot/ROOT/default
2017-08-22.15:08:10 zfs create -o mountpoint=/tmp -o exec=on -o setuid=off
zroot/tmp
2017-08-22.15:08:11 zfs create -o mountpoint=/usr -o canmount=off zroot/usr
2017-08-22.15:08:11 zfs create zroot/usr/home
2017-08-22.15:08:11 zfs create -o setuid=off zroot/usr/ports
2017-08-22.15:08:11 zfs create zroot/usr/src
2017-08-22.15:08:11 zfs create -o mountpoint=/var -o canmount=off zroot/var
2017-08-22.15:08:12 zfs create -o exec=off -o setuid=off zroot/var/audit
2017-08-22.15:08:12 zfs create -o exec=off -o setuid=off zroot/var/crash
2017-08-22.15:08:12 zfs create -o exec=off -o setuid=off zroot/var/log
2017-08-22.15:08:13 zfs create -o atime=on zroot/var/mail
2017-08-22.15:08:13 zfs create -o setuid=off zroot/var/tmp
2017-08-22.15:08:13 zfs set mountpoint=/zroot zroot
2017-08-22.15:08:14 zpool set bootfs=zroot/ROOT/default zroot
2017-08-22.15:08:14 zpool export zroot
2017-08-22.15:08:57 zpool import -o altroot=/mnt zroot
2017-08-22.15:09:28 zpool set cachefile=/mnt/boot/zfs/zpool.cache zroot
2017-08-22.15:09:33 zfs set canmount=noauto zroot/ROOT/default
...

-- 
You are receiving this mail because:
You are the assignee for the bug.


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-212258-8-TdgUjYhtZq>