What do the outputs of "zpool upgrade" and "zpool upgrade -v" show on the opensolaris host?

The first will give you the current version of the pool on-disk, and the second will list what b134 is capable of.

"zfs upgrade" and "zfs upgrade -v" will do the same for the zfs filesystem version, although this seems to change less frequently than the zpool version.


Assuming your problem is truly that the on-disk version is higher than that supported by your current snv_134 kernel, and given that zpool and zfs versions cannot be downgraded, you're left with 2 options: 1) Recreate the pool and restore from backup (you've already said you don't want to do this, so...)
   2) Upgrade OpenSolaris to a later build using the /dev branch.

However, no dev packages have been released to the IPS repo beyond b134, so you have a couple of options that I can think of:

a) Build the ON gate from source, then use "onu" to upgrade a new BE with the freshly built binaries. I believe the Developer's Reference Guide gives details on this (see http://hub.opensolaris.org/bin/view/Community+Group+on/devref_toc ). b) Upgrade from pre-built packages. http://genunix.org/ may help here - I see a note on Jun 14th that Rich Lowe has posted a package depot of onnv_142, but your mileage may vary with this.



Hope that helps,
Brian


Lenz Grimmer wrote:
Hi there,

I have two external USB disk drives in a zpool mirror configuration that I
would like to move between my Linux box (running zfs-fuse-0.6.9) and my
OpenSolaris home server (running snv_134).

I created the zpool on Linux, but it seems like zfs-fuse uses a newer version
than what is available on my OpenSolaris box:

[SNIP]
l...@kallisto:~> pfexec zpool import
  pool: mypool
    id: 4510346300987862165
 state: UNAVAIL
status: The pool is formatted using an incompatible version.
action: The pool cannot be imported.  Access the pool on a system running newer
        software, or recreate the pool from backup.
   see: http://www.sun.com/msg/ZFS-8000-A5
config:

        mypool         UNAVAIL  newer version
          mirror-0     ONLINE
            c13t0d0p0  ONLINE
            c12t0d0p0  ONLINE
l...@kallisto:~> cat /etc/release
                       OpenSolaris Development snv_134 X86
           Copyright 2010 Sun Microsystems, Inc.  All Rights Reserved.
                        Use is subject to license terms.
                             Assembled 01 March 2010
[SNIP]

Is there a way to update to a more recent version of ZFS on the OpenSolaris
box? I'd like to avoid having to re-create the pool again as it contains
several hundred gigabytes of data...

Thanks in advance for any info or pointers!

Bye,
        LenZ
------------------------------------------------------------------------

_______________________________________________
opensolaris-discuss mailing list
[email protected]

--
Brian Ruthven
Solaris Network RPE (Sustaining)
Oracle UK

_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to