D-Link DSN-540 CLI User's Guide for DSN-1100-10 - Page 40

Command Help

Page 40 highlights

do GetMaxVolumeStripeWidth - Gets the Maximum StripeWidth supported for a vo lume type > compositionName (UAEnum) - Volume composition (JBOD,Stripe,Mirror,StripeMirror,Parity) Returns: stripeWidth do GetMaxVolumeSize - Gets maximum volume size > compositionName (UAEnum) - Volume composition to use (JBOD,Stripe,Mirror,StripeMirror,Parity) > disks (ServiceList) - List of disks to use (Disk) > stripeWidth (Integer) - Stripe width > stripeDepth (UAEnum) - Stripe depth (chunksize) (32KB,64KB,128KB,256KB,512KB,1024KB,2048KB) Returns: sizeInBytes do AddInitiator - Adds an initiator > name (String) - Returns: initiator (Initiator object) 3.4.2 Command Help Typing help followed by a global or context-specific command displays help information about the command. The following example displays help for the global command do: 192.168.59.25 :: help do Global Commands Do Performs a command in current context The following example displays help for the context-specific command createVolume: 192.168.59.25 :: help createvolume Context Specific Commands do CreateVolume - Creates a volume. > name (String) - Volume name > sizeInBytes (_ERROR_) - Volume size in bytes > compositionName (UAEnum) - Volume composition (JBOD,Stripe,Mirror,StripeMirror,Parity) > disks (ServiceList) - List of disks to use (Disk) > stripeWidth (Integer) - Stripe width > stripeDepth (UAEnum) - Stripe depth (32KB,64KB,128KB,256KB,512KB,1024KB,2048KB) Returns: newVolume (Volume object) 30 Chapter 3 Using the CLI

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97

30
Chapter 3
Using the CLI
do
GetMaxVolumeStripeWidth - Gets the Maximum StripeWidth supported for a vo
lume type
> compositionName (UAEnum) - Volume composition
(JBOD,Stripe,Mirror,StripeMirror,Parity)
Returns: stripeWidth
do
GetMaxVolumeSize - Gets maximum volume size
> compositionName (UAEnum) - Volume composition to use
(JBOD,Stripe,Mirror,StripeMirror,Parity)
> disks (ServiceList)
- List of disks to use (Disk)
> stripeWidth (Integer) - Stripe width
> stripeDepth (UAEnum) - Stripe depth (chunksize)
(32KB,64KB,128KB,256KB,512KB,1024KB,2048KB)
Returns: sizeInBytes
do
AddInitiator
- Adds an initiator
> name (String)
-
Returns: initiator (Initiator object)
3.4.2
Command Help
Typing
help
followed by a global or context-specific command displays help information
about the command. The following example displays help for the global command
do
:
192.168.59.25 :: help do
Global Commands ----------------------------------------
Do
Performs a command in current context
The following example displays help for the context-specific command
createVolume
:
192.168.59.25 :: help createvolume
Context Specific Commands ------------------------------
do
CreateVolume
- Creates a volume.
> name (String)
- Volume name
> sizeInBytes (_ERROR_) - Volume size in bytes
> compositionName (UAEnum) - Volume composition
(JBOD,Stripe,Mirror,StripeMirror,Parity)
> disks (ServiceList)
- List of disks to use (Disk)
> stripeWidth (Integer) - Stripe width
> stripeDepth (UAEnum) - Stripe depth
(32KB,64KB,128KB,256KB,512KB,1024KB,2048KB)
Returns: newVolume (Volume object)