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

Setting the Name of the System, Creating Volumes, Example 1, Example 2, Example 3

Page 88 highlights

6.1 Setting the Name of the System The following example sets the name of the system to Garnet. Systems are named from the System context. 192.168.59.25 :: Set Name Garnet 6.2 Creating Volumes The following sections show examples of creating volumes. Volumes are created from the System context. Example 1 The following examples are functionally identical. Both examples create a volume called CAD that is 30,000,000 bytes (30 MB) in size and whose volume composition is mirror. 192.168.59.25 :: Do CreateVolume CAD 30MB mirror 192.168.59.25 :: CreateVolume CAD 30MB mirror Example 2 The following example creates a volume named Exchange that is 150 GBytes in size; has a volume composition of parity; is created on disks 0, 1, 2, and 3; and has a stripe width of 4 and a stripe depth of 512 KB. 192.168.59.25 :: Do CreateVolume Exchange 150GB parity [0,1,2,3] 4 512KB Example 3 The following example creates a volume called resumes that is 500 GB in size and has a volume composition of jbod. 192.168.59.25 :: Do CreateVolume resumes 500GB jbod 78 Chapter 6 Application Examples

  • 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

78
Chapter 6
Application Examples
6.1
Setting the Name of the System
The following example sets the name of the system to
Garnet
. Systems are named from the
System
context.
192.168.59.25 ::
Set Name Garnet
6.2
Creating Volumes
The following sections show examples of creating volumes. Volumes are created from the
System
context.
Example 1
The following examples are functionally identical. Both examples create a volume called
CAD that is 30,000,000 bytes (30 MB) in size and whose volume composition is mirror.
192.168.59.25 ::
Do CreateVolume CAD 30MB mirror
192.168.59.25 ::
CreateVolume CAD 30MB mirror
Example 2
The following example creates a volume named Exchange that is 150 GBytes in size; has a
volume composition of parity; is created on disks 0, 1, 2, and 3; and has a stripe width of 4
and a stripe depth of 512 KB.
192.168.59.25 ::
Do CreateVolume Exchange 150GB parity [0,1,2,3] 4 512KB
Example 3
The following example creates a volume called resumes that is 500 GB in size and has a
volume composition of jbod.
192.168.59.25 ::
Do CreateVolume resumes 500GB jbod