Created attachment 189623 [details] example error only using mbr. zfsboot (https://github.com/freebsd/freebsd/blob/master/usr.sbin/bsdinstall/scripts/zfsboot) creates two pools: zroot and bootpool. after the system is rebooted, the bootpool disappears. look example error way to fix (temporary measure) zpool import -f bootpool rm -f /boot cp -rp /bootpool/ / zpool export -f bootpool rm /boot/zfs/zpool.cache reboot
Created attachment 189624 [details] massages
More than 5 years after this report, I am seeing the same behavior. It's more than a bit disconcerting to see a problem this serious unaddressed after such a long time. I have a USB-connected 2TB Seagate Barracuda I use for backups and archives. The entire drive is a simple zfs pool. When I reboot the system with the pool mounted, the rebooted system shows the pool mounted, via df, which shows the expected number of GB used. But an ls of the mount-point shows no files -- nothing. If I unmount the filesystem and remount it, the file-system now operates normally. I am running FreeBSD 13.
(In reply to donaldcallen from comment #2) Does this match the problem? https://forums.freebsd.org/threads/auto-importing-a-zfs-pool.12875/
(In reply to donaldcallen from comment #2) Oh I re-read your issue. It is different than the original issue. My previous reply is about the original issue which does not have the pool imported after reboot. You have the pool imported properly. Just the directory is hidden behind another mount. Can you provide more info about your system but in a new issue or on the mailinglist?
@Ronald Klop I opened a separate PR as you requested. Please see Bug 262617 - ZFS pool on USB drive does not mount correctly on startup