OpenSolaris

Printable Version Enter a New Search
Bug ID 6615080
Synopsis zpool upgrade -V without a pool returns success
State 10-Fix Delivered (Fix available in build)
Category:Subcategory utility:zfs
Keywords
Responsible Engineer Lin Ling
Reported Against
Duplicate Of
Introduced In solaris_nevada
Commit to Fix snv_77
Fixed In snv_77
Release Fixed solaris_nevada(snv_77) , solaris_10u6(s10u6_01) (Bug ID:2156470)
Related Bugs
Submit Date 10-October-2007
Last Update Date 29-April-2008
Description
The syntax for zpool upgrade shows:

        upgrade
        upgrade -v
        upgrade [-V version] <-a | pool ...>

However, if you issue a 'zpool upgrade -V 999' you get the following:

bash-3.2$ zpool upgrade -V 999
This system is currently running ZFS pool version 8.

All pools are formatted using this version.
bash-3.2$ 

The return code is successful (0) even though this is not a valid command. This was found using zpool_upgrade_009_neg.
Work Around
N/A
Comments
N/A