Usage examples – Dell PowerVault MD3260i User Manual

Page 24

Advertising
background image

Status Value

Meaning

24

The wrong management station was specified.

25

The command was not available.

26

The device was not in the configuration file.

27

An error occurred while updating the configuration file.

28

An unknown host error occurred.

29

The sender contact information file was not found.

30

The sender contact information file could not be read.

31

The userdata.txt file exists.

32

An invalid

-I

value in the e-mail alert notification was specified.

33

An invalid

-f

value in the e-mail alert notification was specified.

Usage Examples

The following examples show how to enter CLI commands on a command line. The examples show the syntax, form,
and, in some examples, script commands. Examples are shown for both Windows and Linux operating systems. The
usage for the

-c

parameter varies depending on your operating system. On Windows operating systems, put quotation

marks (" ") around the script command following the

-c

parameter. On Linux operating systems, put single quotation

marks (‘ ’) around the script command following the

-c

parameter.

NOTE: See Script Commands for descriptions of the script commands used in the following examples.

This example shows how to change the name of a storage array. The original name of the storage array is Payroll_Array.
The new name is Finance_Array.
Windows:
SMcli -n "Payroll_Array" -c "set storageArray userLabel=\"Finance_Array\";"

Linux:
SMcli -n ‘Payroll_Array’ -c ‘set storageArray userLabel="Finance_Array";’

This example shows how to delete an existing virtual disk and create a new virtual disk on a storage array. The existing
virtual disk name is Stocks_<_Bonds. The new virtual disk name is Finance. The RAID controller module host names are
finance1 and finance2. The storage array is protected and requires the password TestArray.
Windows:
SMcli finance1 finance2 -c "set session password= \"TestArray\"; delete

virtualDisk [\"Stocks_<_Bonds\"];create virtualDisk physicalDiskCount[3]

raidLevel=5 capacity=10 GB userLabel=\"Finance\"; show storageArray

healthStatus;"

Linux:
SMcli finance1 finance2 -c ‘set session password= delete virtualDisk

["Stocks_<_Bonds"]; create virtualDisk physicalDiskCount[3] raidLevel=5

capacity=10 GB userLabel="Finance"; show storageArray healthStatus;’

24

Advertising