Changing snapshot virtual disk settings, Stopping and deleting a snapshot virtual disk – Dell PowerVault MD3260i User Manual

Page 71

Advertising
background image

in quotation marks. The character string cannot contain a new line. Make sure that you use unique names or the RAID
controller module firmware returns an error.
One technique for naming the snapshot virtual disk and the repository virtual disk is to add a hyphenated suffix to the
original name of the source virtual disk. The suffix distinguishes between the snapshot virtual disk and the repository
virtual disk. For example, if you have a source virtual disk with a name Engineering Data, the snapshot virtual disk can
have a name Engineering Data-S1. The repository virtual disk can have a name of Engineering Data

‑R1.

If you do not choose a unique name for either the snapshot virtual disk or repository virtual disk, the RAID controller
modules create a default name by using the name of the source virtual disk. For example, if the name of the source
virtual disk is aaa and it does not have a snapshot virtual disk, then the default name is aaa

‑1. If the source virtual disk

already has

n

– 1 number of snapshot virtual disks, then the default name is aaa

‑n. Similarly, if the name of the source

virtual disk is aaa and it does not have a repository virtual disk, then the default repository virtual disk name is aaa

‑R1. If

the source virtual disk already has

n –

1 number of repository virtual disks, then the default name is aaa-R

n

.

In the examples from the previous section, the user

‑defined name of the snapshot virtual disk was Mars_Spirit_4_snap1.

The user

‑defined name of the repository virtual disk was Mars_Spirit_4_rep1. The default name provided by the RAID

controller module for the snapshot virtual disk would be Mars_Spirit_4-1. The default name provided by the RAID
controller module for the repository virtual disk would be Mars_Spirit_4-R1.

Changing Snapshot Virtual Disk Settings

The set (snapshot) virtualDisk command enables you to change the property settings for a snapshot virtual
disk. Using this command, you can change the following parameters:

Name of the snapshot virtual disk

Warning threshold percent

Repository full policy

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 copy

‑on‑write 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

71

Advertising