Hi,
I recently upgraded (kind of) from 9.2 to 10-STABLE by creating a new ZFS dataset, extracting the tgz's into it, set the pool's bootfs option to this new dataset, copied the zpool.cache from the current /boot/zfs into the new /boot/zfs, configured loader.conf and rc.conf to include ZFS among other things, rebooted and as expected everything came up wonderfully on the new installation... Or so I thought.
To give some background my boot disk config is this:
partition index 1 contains gptzfsroot and the ada4 holds pmbr.
index 3 contains unencrypted ZFS pool for /boot and the key for the GELI partition. We'll call this "boot."
index 4 is the GELI partition with the / (rootfs) as ZFS. We'll call this "root."
The issue is that on 9.2 and earlier, ZFS would automatically import both the boot and root pools because they had previously been imported (and not exported) and matched the hostid. On 10-STABLE once booting is complete I'm left with only the "root" pool imported and ZFS datasets mounted. I can manually import boot and when I do all ZFS datasets automatically mount as expected. I've tried importing boot with the -f switch to force the hostid rewrite, I've set the
turnable, I've tried manually specifying the cachefile on pool import and placing that in /boot/zfs and also tested it by
to prove that the cachefile is consistent. I'm completely out of ideas and would really appreciate some help.
Thanks.
I recently upgraded (kind of) from 9.2 to 10-STABLE by creating a new ZFS dataset, extracting the tgz's into it, set the pool's bootfs option to this new dataset, copied the zpool.cache from the current /boot/zfs into the new /boot/zfs, configured loader.conf and rc.conf to include ZFS among other things, rebooted and as expected everything came up wonderfully on the new installation... Or so I thought.
To give some background my boot disk config is this:
Code:
=> 34 488397101 ada4 GPT (233G)
34 6 - free - (3.0K)
40 128 1 freebsd-boot (64K)
168 16777216 2 freebsd-swap (8.0G)
16777384 20971520 3 freebsd-zfs (10G)
37748904 429916160 4 freebsd-zfs (205G)
467665064 20732064 5 freebsd-zfs (9.9G)
488397128 7 - free - (3.5K)
partition index 1 contains gptzfsroot and the ada4 holds pmbr.
index 3 contains unencrypted ZFS pool for /boot and the key for the GELI partition. We'll call this "boot."
index 4 is the GELI partition with the / (rootfs) as ZFS. We'll call this "root."
The issue is that on 9.2 and earlier, ZFS would automatically import both the boot and root pools because they had previously been imported (and not exported) and matched the hostid. On 10-STABLE once booting is complete I'm left with only the "root" pool imported and ZFS datasets mounted. I can manually import boot and when I do all ZFS datasets automatically mount as expected. I've tried importing boot with the -f switch to force the hostid rewrite, I've set the
Code:
vfs.zfs.check_hostid=0
Code:
zpool import -c <cachefile>
Thanks.