Not too sure what this option needs as a value but the man page suggests that the keywork "current" should work.
When I try a dry run with -n I see this : # zpool create -n -o autoreplace=on -o version=current -m legacy \ > fibre00 \ > mirror c8t20000004CFAC0E97d0 c8t2000002037F859F1d0 \ > mirror c8t20000004CFB53F97d0 c8t2000002037F84044d0 \ > mirror c8t20000004CFA3C3F2d0 c8t20000004CF2FCE99d0 \ > mirror c8t20000004CF9645A8d0 c8t20000004CFA3F328d0 \ > mirror c8t2000002037F812EAd0 c8t20000004CF96FF00d0 \ > mirror c8t20000004CFAC489Fd0 c8t20000004CF961853d0 would create 'fibre00' with the following layout: fibre00 mirror c8t20000004CFAC0E97d0 c8t2000002037F859F1d0 mirror c8t20000004CFB53F97d0 c8t2000002037F84044d0 mirror c8t20000004CFA3C3F2d0 c8t20000004CF2FCE99d0 mirror c8t20000004CF9645A8d0 c8t20000004CFA3F328d0 mirror c8t2000002037F812EAd0 c8t20000004CF96FF00d0 mirror c8t20000004CFAC489Fd0 c8t20000004CF961853d0 No warnings and looks good. When I remove the -n I see this : # zpool create -o autoreplace=on -o version=current -m legacy \ > fibre00 \ > mirror c8t20000004CFAC0E97d0 c8t2000002037F859F1d0 \ > mirror c8t20000004CFB53F97d0 c8t2000002037F84044d0 \ > mirror c8t20000004CFA3C3F2d0 c8t20000004CF2FCE99d0 \ > mirror c8t20000004CF9645A8d0 c8t20000004CFA3F328d0 \ > mirror c8t2000002037F812EAd0 c8t20000004CF96FF00d0 \ > mirror c8t20000004CFAC489Fd0 c8t20000004CF961853d0 cannot create 'fibre00': bad numeric value 'current' # zpool create -o autoreplace=on -o version="current" -m legacy \ > fibre00 \ > mirror c8t20000004CFAC0E97d0 c8t2000002037F859F1d0 \ > mirror c8t20000004CFB53F97d0 c8t2000002037F84044d0 \ > mirror c8t20000004CFA3C3F2d0 c8t20000004CF2FCE99d0 \ > mirror c8t20000004CF9645A8d0 c8t20000004CFA3F328d0 \ > mirror c8t2000002037F812EAd0 c8t20000004CF96FF00d0 \ > mirror c8t20000004CFAC489Fd0 c8t20000004CF961853d0 cannot create 'fibre00': bad numeric value 'current' The keyword current is not numeric and causes an issue. The zpool(1M) manpage is not clear on this and, I really don't know if quotes would help here. In zpool(1M) section Properties we see : version=version The current on-disk version of the pool. This can be increased, but never decreased. The preferred method of updating pools is with the "zpool upgrade" command, though this property can be used when a specific version is needed for backwards compatibility. This property can be any number between 1 and the current version reported by "zpool upgrade -v". The special value "current" is an alias for the latest supported version. This works : # zpool create -o autoreplace=on -o version=3 -m legacy \ > fibre00 \ > mirror c8t20000004CFAC0E97d0 c8t2000002037F859F1d0 \ > mirror c8t20000004CFB53F97d0 c8t2000002037F84044d0 \ > mirror c8t20000004CFA3C3F2d0 c8t20000004CF2FCE99d0 \ > mirror c8t20000004CF9645A8d0 c8t20000004CFA3F328d0 \ > mirror c8t2000002037F812EAd0 c8t20000004CF96FF00d0 \ > mirror c8t20000004CFAC489Fd0 c8t20000004CF961853d0 # zpool status fibre00 pool: fibre00 state: ONLINE status: The pool is formatted using an older on-disk format. The pool can still be used, but some features are unavailable. action: Upgrade the pool using 'zpool upgrade'. Once this is done, the pool will no longer be accessible on older software versions. scrub: none requested config: NAME STATE READ WRITE CKSUM fibre00 ONLINE 0 0 0 mirror ONLINE 0 0 0 c8t20000004CFAC0E97d0 ONLINE 0 0 0 c8t2000002037F859F1d0 ONLINE 0 0 0 mirror ONLINE 0 0 0 c8t20000004CFB53F97d0 ONLINE 0 0 0 c8t2000002037F84044d0 ONLINE 0 0 0 mirror ONLINE 0 0 0 c8t20000004CFA3C3F2d0 ONLINE 0 0 0 c8t20000004CF2FCE99d0 ONLINE 0 0 0 mirror ONLINE 0 0 0 c8t20000004CF9645A8d0 ONLINE 0 0 0 c8t20000004CFA3F328d0 ONLINE 0 0 0 mirror ONLINE 0 0 0 c8t2000002037F812EAd0 ONLINE 0 0 0 c8t20000004CF96FF00d0 ONLINE 0 0 0 mirror ONLINE 0 0 0 c8t20000004CFAC489Fd0 ONLINE 0 0 0 c8t20000004CF961853d0 ONLINE 0 0 0 errors: No known data errors I *should* be able to select any ZFS Version I wish from the fol list: # 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. For example, version 4 : # zpool destroy fibre00 # zpool create -o autoreplace=on -o version=4 -m legacy \ > fibre00 \ > mirror c8t20000004CFAC0E97d0 c8t2000002037F859F1d0 \ > mirror c8t20000004CFB53F97d0 c8t2000002037F84044d0 \ > mirror c8t20000004CFA3C3F2d0 c8t20000004CF2FCE99d0 \ > mirror c8t20000004CF9645A8d0 c8t20000004CFA3F328d0 \ > mirror c8t2000002037F812EAd0 c8t20000004CF96FF00d0 \ > mirror c8t20000004CFAC489Fd0 c8t20000004CF961853d0 Does the keyword "current" work in some other fashion ? -- Dennis Clarke _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss