Booting from a ZFS pool exported on another system.

Kenneth Vestergaard kvsbinsol at gmail.com
Thu Jan 13 18:03:56 UTC 2011


Hello.

I'm trying to create some VirtualBox-images with a ZFS root filesystem, but
I can't seem to boot from it. I just get a "No ZFS pools located, can't
boot".

If I take the generated image, and boot it with an mfsbsd-CD, import the
pool, and reboot, it works fine, so I'm guessing zfsboot doesn't like it
when the pool has been exported? I can't find a way to build an image-file
with a pool, without having to export it from the buildsystem when I'm
done, so I'm in a bit of a catch-22 here.

Is this a bug in zfsboot, or simply just the way things work?


-- 
Best Regards

Kenneth Vestergaard


More information about the freebsd-fs mailing list