Yesterday I was surprised because an old snv_66 kernel
(installed as a new zfs rootfs) refused to mount.
Error message was

    Mismatched versions:  File system is version 2 on-disk format,
    which is incompatible with this software version 1!


I tried to prepare that snv_66 rootfs when running snv_70 bits,
using something like this

   zfs create tank/s11-root-xen
   zfs set mountpoint=legacy tank/s11-root-xen
   mount -F zfs tank/s11-root-xen /mnt
   cd /mnt
   ufsdump 0f - /dev/rdsk/c4d0s4 | ufsrestore -xf -
   ...


Problem is that snv_70 "zfs create" now seems to construct
ZPL_VERSION 2 zfs filesystems, which cannot be mounted
by older version of the zfs software, e.g. by snv_66 or s10u2.

Btw. I never upgraded this zpool to a zpool version > 2, 
to allow using that zpool and zfs filesystems both with
Nevada and S10.

Now it seems I still could work around that problem with
ZPL_VERSION mismatch by booting the oldest Solaris
release that is supposed to mount a zfs filesystem and
create the zfs filesystem from there.


How about a new feature for "zpool create" and "zfs create" to
allow creation of a zpool or zfs that is not using the newest
version but some older version (that the user has specified on
the command line), so that the new zpool or zfs can be used on
older systems (e.g. on hotpluggable / removable media, or on a
disk that is shared between different Solaris releases)?
 
 
This message posted from opensolaris.org
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to