ZFS from FreeBSD -> Indiana -> FreeBSD - some problem

Andrew Kolchoogin andrew at rinet.ru
Thu Nov 15 03:59:08 PST 2007


> It's good to know that ZFS is compatible between the two operating
> systems :)
    With some issues.

    Some time ago I made an experiment to install on the same ZFS both
FreeBSD and Solaris, and, if you set up FreeBSD with ZFS root, you will
be unable to boot it after using ZFS volume in Solaris and vice versa,
if you set up Solaris with ZFS root, you will be unable to boot it after
using volume in FreeBSD.

    Unexported ZFS pool contains direct references to block devices it
consist of. As such, when FreeBSD tries to auto-import ZFS pool
with /dev/rdsk/c1t0d0s7 as a storage device, it becomes crazy. :)
Solaris do the same thing, it knows nothing about ad6s3 :) 'zpool
status' will show you that entire pool has destroyed because of no
storage devices available.

Sure, "zpool export" immediately before reboot will do the thing right
way, but how you will automatically export ZFS pool with root file
system on it?-)
-- 
    Yours
        Andrew Kolchoogin.




More information about the freebsd-stable mailing list