Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Oct 2016 08:02:02 +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-x4vB9vQrjd@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 #3 from tsarya@gmail.com ---
This is what I get after a clean install using MBR:

# zpool import
   pool: bootpool
     id: 942740621413601929
  state: ONLINE
 action: The pool can be imported using its name or numeric identifier.
 config:

        bootpool    ONLINE
          ada0s1a   ONLINE

Contents of the loader.conf:
# cat /boot/loader.conf
vfs.root.mountfrom="zfs:zroot/ROOT/default"
kern.geom.label.disk_ident.enable="0"
kern.geom.label.gptid.enable="0"
zfs_load="YES"

After importing the bootpool, I did as you mentioned:
# zpool set cachefile=/boot/zfs/zpool.cache zroot
# zpool set cachefile=/boot/zfs/zpool.cache bootpool
# reboot

Same thing, bootpool remains exported after reboot
# zpool list
NAME    SIZE  ALLOC   FREE  EXPANDSZ   FRAG    CAP  DEDUP  HEALTH  ALTROOT
zroot  11.9G   280M  11.7G         -     1%     2%  1.00x  ONLINE  -

-- 
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-x4vB9vQrjd>