Back on FreeBSD 9, I setup a four-drive multipurpose/NAS machine for my personal use at home. The drives all have the same configuration:
GPT partition table
p1 - GPT boot partition
p2 - 8GB UFS /boot partition - gmirrored together (pegasus-boot)
p3 - 80GB GELI ZFS-mirror (pegasus-root)
p4 - 1.6ishTB GELI ZFS-RaidZ1 (pegasus-data)
/etc/fstab contains one line:
/bootpart has a single directory under it - boot
/boot is a symlink to /bootpart/boot
/boot/zfs/zpool.cache contains a cache file describing both ZFS pools.
On FreeBSD 9, this worked as expected - both pools were available to the system at boot-time.
I've now migrated to FreeBSD 10.1 (I skipped 10.0), and I'm finding that pegasus-data is no longer available at boot-time. A simple "
What's the cleanest way to fix this?
GPT partition table
p1 - GPT boot partition
p2 - 8GB UFS /boot partition - gmirrored together (pegasus-boot)
p3 - 80GB GELI ZFS-mirror (pegasus-root)
p4 - 1.6ishTB GELI ZFS-RaidZ1 (pegasus-data)
/etc/fstab contains one line:
Code:
#Device MntPt FSType Opts Dump Pass
/dev/mirror/pegasus-boot /bootpart ufs rw 0 1
/bootpart has a single directory under it - boot
/boot is a symlink to /bootpart/boot
/boot/zfs/zpool.cache contains a cache file describing both ZFS pools.
On FreeBSD 9, this worked as expected - both pools were available to the system at boot-time.
I've now migrated to FreeBSD 10.1 (I skipped 10.0), and I'm finding that pegasus-data is no longer available at boot-time. A simple "
zpool import -a
" fixes it, but it never sticks across reboots.What's the cleanest way to fix this?