HP MSA 2040 CLI Reference Guide
volumecopy 365
modified-snapshot yes|no
Optional. Specifies whether to include or exclude modified write data from the snapshot in the copy.
This parameter applies only when the source volume is a snapshot.
• yes: Include modified snapshot data.
• no: Exclude modified snapshot data.
If this parameter is omitted for a snapshot, modified snapshot data is excluded.
prompt yes|no|expert
Optional. Specifies an automatic response to the prompt to unmount/unpresent/unmap the source
volume before proceeding:
• yes: Allow the command to proceed.
• no: Cancel the command.
• expert: Cancel the command.
If this parameter is omitted, you must manually reply to the prompt.
destination-volume
A name for the volume to create in the destination vdisk. The name is case sensitive; can include
spaces and printable UTF-8 characters except a left angle bracket, backslash, comma, or double
quote; and can have a maximum of 32 bytes. A name that includes a space must be enclosed in
double quotes.
Example Copy master volume MV1 to new volume MV1copy on vdisk VD2:
# volumecopy source-volume MV1 dest-vdisk VD2 MV1copy
The source volume MUST be unmounted from all hosts prior to starting a volume
copy.
Ready to continue? yes
Success: Command completed successfully. (MV1) - The volume copy started.
(2012-01-20 12:02:02)
# show volumes
Vdisk Name ... Type ...
---------------------------------------
VD2 MV1 ... master volume ...
VD2 MV1copy ... standard* ...
---------------------------------------
Copy standard volume V1 on vdisk vd01 to new volume V1_copy on the same vdisk:
# volumecopy source-volume V1 dest-vdisk vd01 V1_copy
Info: The volume was created. (spV1)
Info: Volume V1 was converted to a master volume. (V1)
The source volume MUST be unmounted from all hosts prior to starting a volume
copy.
Ready to continue? yes
Success: Command completed successfully. (V1) - The volume copy started.
(2012-01-20 12:02:12)
See also • abort volumecopy
• create task
• show vdisks
• show volumecopy-status
• show volumes