Hp StorageWorks 2000 Family Modular Smart Array CLI reference guide (481600-002, May 2008)
Chapter 3 Command Descriptions 249
Example
Copy master volume MV1 to new volume MV1copy on virtual disk VD2.
Related Commands
■ “abort volumecopy” on page 41
■ “create task” on page 60
■ “show vdisks” on page 230
■ “show volumecopy-status” on page 233
■ “show volumes” on page 237
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; it is ignored if the source volume is a master
volume.
• yes: Include modified snapshot data.
• no: Exclude modified snapshot data.
If this parameter is omitted for a snapshot, modified
snapshot data is excluded.
volume2 Specifies a name for the volume to create on the
destination vdisk. For the syntax to use, see “Virtual Disk
Syntax” on page 26.
# volumecopy source-volume MV1 dest-vdisk VD2 MV1copy
Leaving the source volume mounted when starting a volume copy
operation will result in data corruption. The source volume must
be unmounted prior to beginning the volume copy operation. The
source volume can be remounted once the volume copy has started.
In addition, once volume copy starts, the destination volume will
be created, and will be offline until the volume copy operation is
complete. Is the source volume unmounted from all Operating
Systems? yes
Success: Volume Copy Started.
# show volumes
Vdisk Volume Name Size WR Policy Class
Volume Serial Number Cache Opt Type
----------------------------------------------------------------
VD2 MV1copy 200.0GB writeback PTSNAP
00c0ff6270190000e9080e4702000000 standard standard*
----------------------------------------------------------------
Parameter Description