Dell 34XX Stopping And Deleting a Snapshot Virtual Disk, Re-creating The Snapshot Virtual Disk

Models: 36XX 32XX 38XX 34XX

1 417
Download 417 pages 18.23 Kb
Page 76
Image 76

The following example shows the command to change the name of a snapshot virtual disk:

client>smcli 123.45.67.89 -c "set virtualDisk

[\"Mars_Spirit_4-1\"] userLabel=\"Mars_Odyssey_3-2\";"

The following example is the script file version of the command:

set virtualDisk ["Mars_Spirit_4-1"] userLabel= "Mars_Odyssey_3-2";

When you change the warning threshold percent and repository full policy, you can apply the changes to one or several snapshot virtual disks. The following example uses the set (snapshot) virtualDisk command to change these properties on more than one snapshot virtual disk:

client>smcli 123.45.67.89 -c "set virtualDisks [\"Mars_Spirit_4-1\" \"Mars_Spirit_4-2\" \"Mars_Spirit_4-3\"] warningThresholdPercent=50 repositoryFullPolicy=failSourceWrites;"

The following example is the script file version of the command:

set virtualDisks ["Mars_Spirit_4-1" "Mars_Spirit_4-2" "Mars_Spirit_4-3"] warningThresholdPercent=50 repositoryFullPolicy= failSourceWrites;

Stopping And Deleting A Snapshot Virtual Disk

When you create a snapshot virtual disk, copy-on-write immediately starts running. As long as a snapshot virtual disk is enabled, storage array performance is affected by the copyonwrite operations to the associated snapshot repository virtual disk. If you no longer want copy-on-write operations to run, you can use the stop snapshot virtualDisk command to stop the copyonwrite operations. When you stop a snapshot virtual disk, the snapshot virtual disk and the repository virtual disk are still defined for the source virtual disk; only copy-on-write has stopped. The following example stops a snapshot virtual disk:

client>smcli 123.45.67.89 -c "stop snapshot virtualDisks [\"Mars_Spirit_4-2\" \"Mars_Spirit_4-3\"];"

The following example is the script file version of the command:

stop snapshot virtualDisks ["Mars_Spirit_4-2" "Mars_Spirit_4-3"];

When you stop the copy-on-write operations for a specific snapshot virtual disk, only that snapshot virtual disk is disabled. All other snapshot virtual disks remain in operation.

Re-creating The Snapshot Virtual Disk

To restart a copy-on-write operation, use the recreate snapshot virtualDisk command. This command starts a fresh copy-on-write operation using an existing snapshot virtual disk. When you restart a snapshot virtual disk, the snapshot virtual disk must have either an Optimal or a Disabled state.

The following conditions then occur:

All copy-on-write data previously on the snapshot repository virtual disk is deleted.

Snapshot virtual disk and snapshot repository virtual disk parameters remain the same as the previously disabled snapshot virtual disk and snapshot repository virtual disk. You can also change the userLabel, warningThresholdPercent, and repositoryFullPolicy parameters when you restart the snapshot virtual disk.

The original names for the snapshot repository virtual disk are retained.

76

Page 76
Image 76
Dell 34XX, 38XX, 32XX, 36XX manual Stopping And Deleting a Snapshot Virtual Disk, Re-creating The Snapshot Virtual Disk