Hello,
to follow-up on what has already been said, I also have a weird issue with pools being exported after reboot.
I have a HP ProLiant Microsever Gen8 which has a SD Card slot on the mobo which I decided to use for hosting the OS in order to use all four drive bays for storage (raidz2 or stripped mirror).
Initially when I tried to install FreeBSD 11.0-RC1 using the Auto ZFS option (GPT scheme) for some reason the system could not boot. The issue appears to be HP related, booting from a GPT partitioned SD card for some reason doesn't work well with the HP Microserver. So I decided to give it a try using a MBR/BSD label scheme which appears to be booting ok, BUT besides the issue with having the "bootpool" being exported every time the system is rebooted, all other pools except the "zroot" are also exported after reboot!
I managed to reproduce the issue in a VM (FreeBSD 11.0-RC2 in VirtualBox).
Here is what I have:
The VM has two controllers: 1 IDE and 1 SATA.
There are 2 virtual drives, one attached to the IDE and the other to the SATA controller, please see below:
Code:
# camcontrol devlist
<VBOX HARDDISK 1.0> at scbus0 target 0 lun 0 (pass0,ada0)
<VBOX CD-ROM 1.0> at scbus1 target 0 lun 0 (cd0,pass1)
<VBOX HARDDISK 1.0> at scbus2 target 0 lun 0 (pass2,ada1)
On the system drive I have (the idea being to reproduce a MBR partitioned SD card setup):
Code:
# gpart show ada0
=> 63 33554369 ada0 MBR (16G)
63 1 - free - (512B)
64 33554360 1 freebsd [active] (16G)
33554424 8 - free - (4.0K)
# gpart show ada0s1
=> 0 33554360 ada0s1 BSD (16G)
0 4194304 1 freebsd-zfs (2.0G)
4194304 4194304 2 freebsd-swap (2.0G)
8388608 25165744 4 freebsd-zfs (12G)
33554352 8 - free - (4.0K)
On the second drive I have a GPT scheme with a single partition:
Code:
# gpart show ada1
=> 40 8388528 ada1 GPT (4.0G)
40 2008 - free - (1.0M)
2048 8384512 1 freebsd-zfs (4.0G)
8386560 2008 - free - (1.0M)
I have created a pool named "ztank" on the ada1 drive which disappears after reboot:
Code:
# zpool import
pool: ztank
id: 8653646329154612492
state: ONLINE
action: The pool can be imported using its name or numeric identifier.
config:
ztank ONLINE
gpt/test0 ONLINE
pool: bootpool
id: 12326811282761698183
state: ONLINE
action: The pool can be imported using its name or numeric identifier.
config:
bootpool ONLINE
ada0s1a ONLINE
Is anyone else having the same issue with other pools being exported after reboot?