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=3D212258

--- 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=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.=



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