OpenSolaris

Printable Version Enter a New Search
Bug ID 6628084
Synopsis Incorrect error message when trying to upgrade a v10 pool
State 10-Fix Delivered (Fix available in build)
Category:Subcategory utility:zfs
Keywords
Responsible Engineer Brendan Gregg
Reported Against
Duplicate Of
Introduced In solaris_nevada
Commit to Fix snv_84
Fixed In snv_84
Release Fixed solaris_nevada(snv_84) , solaris_10u6(s10u6_01) (Bug ID:2160915)
Related Bugs 6661516
Submit Date 9-November-2007
Last Update Date 29-April-2008
Description
Running Brendan's bits
Sun Microsystems Inc.   SunOS 5.11      onnv-l2arc-brendan-11-03-2007   Nov. 03, 2007
SunOS Internal Development:  brendan 2007-11-03 [onnv-l2arc]
bfu'ed from /net/steam.sfbay/builds/brendan/onnv-l2arc/archives/sparc/nightly on 2007-11-09
Sun Microsystems Inc.   SunOS 5.11      zwicky:nbs-build:10/22/2007     October 2007

When trying to upgrade a pool that's already the latest version, we get an error message:

-------
# zpool upgrade pool 
This system is currently running ZFS pool version 10.

Pool 'pool' is already formatted using more current version '0'.
# 
-------

We shouldn't be seeing this "pool is already formated using more
current version" message, especially as 0 isn't more current
than 10. (not to mention the fact we don't have a pool version 0)


bash-3.2# zpool status -v
  pool: pool
 state: ONLINE
 scrub: none requested
config:

        NAME        STATE     READ WRITE CKSUM
        pool        ONLINE       0     0     0
          c1t1d0s3  ONLINE       0     0     0
        cache
          c1t1d0s4  ONLINE       0     0     0

errors: No known data errors
bash-3.2# 

For reference, here's the state of the system:

# zpool upgrade
This system is currently running ZFS pool version 10.

All pools are formatted using this version.
# zpool upgrade -v 
This system is currently running ZFS pool version 10.

The following versions are supported:

VER  DESCRIPTION
---  --------------------------------------------------------
 1   Initial ZFS version
 2   Ditto blocks (replicated metadata)
 3   Hot spares and double parity RAID-Z
 4   zpool history
 5   Compression using the gzip algorithm
 6   bootfs pool property
 7   Separate intent log devices
 8   Delegated administration
 9   refquota and refreservation properties
 10  Cache devices
For more information on a particular version, including supported releases, see:

http://www.opensolaris.org/os/community/zfs/version/N

Where 'N' is the version number.
Work Around
N/A
Comments
N/A