Adaptec 2410SA User Guide - Page 105

Creating a RAID 0, devices 0:02:0 and 0:03:0 using 100 MB of available space from each

Page 105 highlights

Command Line Interface (CLI) Creating a RAID 0 When creating a RAID 0, you need to determine the stripe size that is most suitable for your environment. The stripe size attribute indicates the number of bytes in a stripe, the amount of data written to a segment before the I/O data stream switches to the next segment in the array. The stripe size can be 16, 32, or 64 KB. The default stripe size is 64 KB. Note that you can use the container reconfigure command at a later time to change the stripe size. To create a RAID 0, use the container create stripe command. In the following example, the Array 0 is created on device 0:01:0 from 100 MB of available space. The array's cache is enabled, and the label Mars. AAC0> container create stripe /cache=TRUE /label=Mars ((0,01,0), 100M) Executing: container create stripe /cache=TRUE /label="Mars" ((CHANNEL=0,ID=1,LUN=0),104,857,600 ) container 0 created Creating a RAID 1 To create a RAID 1, use the container create new_mirror command. In the following example, a RAID 1 is created on devices 0:02:0 and 0:03:0 using 100 MB of available space from each device. AAC0> container create new_mirror ((0,2,0), 100M) (0,3,0) Executing: container create new_mirror ((CHANNEL=0,ID=2,LUN=0),104,857,600 ) (CHANNEL=0,ID=3,LUN=0) Creating a RAID 5 When you create a RAID 5, you use a form of redundancy called parity. When you set up parity, the parity stripes are initialized, by default, using a scrub switch (/scrub=TRUE). Parity is set up in the background, and the disks are available immediately. Linux/UNIX only: The /scrub switch is not available in Linux. For Linux, the RAID 5 is always created by building. C-6

  • 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
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153

C-6
Command Line Interface (CLI)
Creating a RAID 0
When creating a RAID 0, you need to determine the stripe size that
is most suitable for your environment. The
stripe
size
attribute
indicates the number of bytes in a stripe, the amount of data
written to a segment before the I/O data stream switches to the
next segment in the array. The stripe size can be 16, 32, or 64 KB.
The default stripe size is 64 KB. Note that you can use the
container
reconfigure
command at a later time to change the
stripe size.
To create a RAID 0, use the
container
create
stripe
command. In
the following example, the Array
0
is created on device 0:01:0 from
100 MB of available space. The array
s cache is enabled, and the
label
Mars
.
AAC0> container create stripe /cache=TRUE /label=Mars ((0,01,0), 100M)
Executing: container create stripe /cache=TRUE
/label="Mars" ((CHANNEL=0,ID=1,LUN=0),104,857,600 )
container 0 created
Creating a RAID 1
To create a RAID 1, use the
container
create
new_mirror
command. In the following example, a RAID 1 is created on
devices 0:02:0 and 0:03:0 using 100 MB of available space from each
device.
AAC0> container create new_mirror ((0,2,0), 100M) (0,3,0)
Executing: container create new_mirror ((CHANNEL=0,ID=2,LUN=0),104,857,600 )
(CHANNEL=0,ID=3,LUN=0)
Creating a RAID 5
When you create a RAID 5, you use a form of redundancy called
parity. When you set up parity, the parity stripes are initialized, by
default, using a scrub switch (
/scrub=TRUE
). Parity is set up in the
background, and the disks are available immediately.
Linux/UNIX only:
The
/scrub
switch is not available in Linux.
For Linux, the RAID 5 is always created by building.