Page 1 of 1
tunevv <VV_name> ??
Posted: Fri Nov 16, 2012 9:02 am
by Davidhm
According to the 3.1.1 CLI Reference document going back at least as far as August 2011, the tunevv syntax includes:
tunevv <VV_name>
and states:
When new capacity has been added to a system, entering the command with no subcommand
will start a tune which will try to improve the layout of the specified VVs to use the newly added
space. Both USR and SNP space will be tuned.
I tried this on our T800 running 3.1.1 MU1, but the command syntax doesn't include this option.
Has anyone come across this version of the tunevv command?
Re: tunevv <VV_name> ??
Posted: Fri Nov 16, 2012 5:36 pm
by Richard Siemers
As far as I know, tunevv has always required a few additional parameters, perhaps you meant tunesys?
On my T800 running Inserv 2.3.1 MU4
ESFWT800-1 cli% help tunevv
tunevv - Change the layout of a virtual volume.
SYNTAX
The tunevv command uses one of the following syntax conventions:
tunevv usr_cpg <cpg> [options] <VV_name>
tunevv snp_cpg <cpg> [options] <VV_name>
tunevv restart [options] <VV_name>
tunevv rollback [options] <VV_name>
SUBCOMMANDS
usr_cpg <cpg>
Moves the logical disks being used for user space to the specified CPG.
snp_cpg <cpg>
Moves the logical disks being used for snapshot space to the specified
CPG.
restart
Restarts a tunevv command call that was previously interrupted because
of component failure, or because of user initiated cancellation. This
cannot be used on thinly provisioned virtual volumes.
rollback
Returns to a previously issued tunevv operation call that was
interrupted. The canceltask command needs to run before the rollback.
This cannot be used on thinly provisioned virtual volumes.
DESCRIPTION
The tunevv command is used to change the properties of a virtual volume that
was created with either the createvv or createtpvv command by associating it
with a different CPG.
AUTHORITY
Super, Edit
OPTIONS
-f
Forces the command. The command completes without prompting for
confirmation.
-waittask
Specifies that the command will wait for any created tasks to complete.
-dr
Specifies that the command is a dry run and that no logical disks or
virtual volumes are actually tuned.
The following option is used when the <usr_cpg> and <snp_cpg> subcommands
are specified:
-cnt <count>
Specifies the number of identical virtual volumes to tune using an
integer from 1 through 999. If not specified, one virtual volume
is tuned. If the '-cnt' option is specified, then the subcommands,
"restart" and "rollback" are not permitted.
SPECIFIERS
<VV_name>
Specifies the name of the existing virtual volume.
NOTES
Use of this command requires a Dynamic Optimization license. Contact your
local 3PAR representative for information.
When canceling a tunevv command task, the canceltask command can return
before a cancellation is completed. Therefore, resources reserved for the
task might not be immediately available. This can prevent actions like
restarting the canceled tunevv command task. Scripts should use the waittask
command in order to ensure orderly completion of the tunevv command
cancellation before taking other actions.
EXAMPLES
In the following example, the logical disks used for user space are moved to
CPG cpg_sn1.0_p for virtual volume nf_st_tp_22.0:
cli% tunevv usr_cpg cpg_sn1.0_p nf_st_tp_22.0
Task 999 started
Re: tunevv <VV_name> ??
Posted: Mon Nov 19, 2012 7:00 am
by Davidhm
Richard, I agree with the tunevv syntax on 2.3.1 MU4.
I also asked 3Par about the cli ref/command discrepency. Apparently tunevv <VV_name> may have been an enhancement request which made it into the manual a year ago, but never made it into the code. The current 3.1.1 CLI Ref guide looks to have been pulled from the manuals website now.
tunesys will be be inproved soon...