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

Description of Global Action Commands

Page 45 highlights

4.2 Description of Global Action Commands 4.2.1 Do Use the Do command to perform a command in the current context. The command Do is the default action and can be omitted from action commands. For this reason, Do is shown within brackets in the syntax below. Syntax [Do] addInitiator [Do] createVolume [Do] getMaxVolumeSize [Do] getMaxVolumeStripeWidth [Do] SystemRestart [Do] SystemShutdown Examples Do SystemRestart Restarts the system. Do createVolume Venus 100GB jbod Creates a new volume called Venus that is 100 GB in size and configured as a JBOD. createVolume Venus 100GB jbod Functionally equivalent to the previous command line, but with Do omitted. Help Do Displays help for the Do command. Command Line Interface User's Guide 35

  • 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

Command Line Interface User’s Guide
35
4.2
Description of Global Action Commands
4.2.1
Do
Use the
Do
command to perform a command in the current context. The command
Do
is the
default action and can be omitted from action commands. For this reason,
Do
is shown
within brackets in the syntax below.
Syntax
°
[Do] addInitiator <String>
°
[Do] createVolume <String> <SizeinBytes> <CompositionName> <Disks>
<StripeWidth> <StripeDepth>
°
[Do] getMaxVolumeSize <CompositionName> <Disks> <StripeWidth>
<StripeDepth>
°
[Do] getMaxVolumeStripeWidth <CompositionName> <Disks>
<StripeWidth> <StripeDepth>
°
[Do] SystemRestart
°
[Do] SystemShutdown
Examples
°
Do SystemRestart
Restarts the system.
°
Do createVolume Venus 100GB jbod
Creates a new volume called Venus that is 100 GB in size and configured as a JBOD.
°
createVolume Venus 100GB jbod
Functionally equivalent to the previous command line, but with
Do
omitted.
°
Help Do
Displays help for the
Do
command.