Adaptec 3405 User Guide - Page 111

Sample Scripts, script creates these arrays-a 500 MB single-disk volume

Page 111 highlights

Appendix D: Using the Array Configuration Utility for DOS ● 111 Code Description 5 Unable to read system configuration-The ACU was unable to get the configuration information from the specified controller. 6 No drives detected. 7 Specified drive not found in system. 8 Specified array size too small-You specified an array size that is smaller than the minimum size allowed for this array. 9 Specified array size too big-You specified an array size that is larger than the maximum size allowed for this array. 10 Number of drives do not match the array type-The number of drives you selected is invalid for the type of array specified. 11 Unable to initialize drive. 12 Error occurred while creating array. 13 Too many spare drives assigned-You attempted to assign more than the maximum number of hot spares allowed for the specified array. 14 Insufficient memory to run the application. 15 Incorrect controller number. 16 Controller not responding. 17 Build/Verify/Clear failed. 18 Cannot use drives on shared channel. 21 Failed in getting kernel version. Unknown product ID. 22 Kernel timeout in writing command. 23 No RAID channels available 24 Error: wrong stripe size in creating array - script mode. 100 You ran ACU and made changes-The ACU exited with no errors (success) and you must restart the computer. Sample Scripts This command invokes the ACU and creates arrays on controller 1 based on the array keywords defined in the script file A:\RAID.ACU. It also configures Channel 0 and saves a log of the operation in the log file C:\RAID.LOG: A:\> ACU /P A:\RAID.ACU /L C:\RAID.LOG /C1 This sample script file is the RAID.ACU script as referred to in the ACU command above. This script creates these arrays-a 500 MB single-disk volume, and a 2-GB two-disk drive RAID 1 with a hot spare: # Create a 500MB volume labeled 'MySystem' Array=MySystem Type=Volume Size=500MB Drives=0:0:0 End # Create a 2GB mirror labeled 'MyMirror' Array=MyMirror Type=RAID1 Size=2GB

  • 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
  • 154
  • 155
  • 156
  • 157
  • 158

Appendix D: Using the Array Configuration Utility for DOS
111
Sample Scripts
This command invokes the ACU and creates arrays on controller 1 based on the array
keywords defined in the script file A:\RAID.ACU. It also configures Channel 0 and saves a log
of the operation in the log file C:\RAID.LOG:
A:\> ACU /P A:\RAID.ACU /L C:\RAID.LOG /C1
This sample script file is the RAID.ACU script as referred to in the ACU command above. This
script creates these arrays—a 500 MB single-disk volume, and a 2-GB two-disk drive RAID 1
with a hot spare:
# Create a 500MB volume labeled ‘MySystem’
Array=MySystem
Type=Volume
Size=500MB
Drives=0:0:0
End
# Create a 2GB mirror labeled ‘MyMirror’
Array=MyMirror
Type=RAID1
Size=2GB
5
Unable to read system configuration
—The ACU was unable to get the configuration
information from the specified controller.
6
No drives detected
.
7
Specified drive not found in system
.
8
Specified array size too small
—You specified an array size that is smaller than the
minimum size allowed for this array.
9
Specified array size too big
—You specified an array size that is larger than the maximum
size allowed for this array.
10
Number of drives do not match the array type
—The number of drives you selected is
invalid for the type of array specified.
11
Unable to initialize drive
.
12
Error occurred while creating array
.
13
Too many spare drives assigned
—You attempted to assign more than the maximum
number of hot spares allowed for the specified array.
14
Insufficient memory to run the application
.
15
Incorrect controller number
.
16
Controller not responding
.
17
Build/Verify/Clear failed
.
18
Cannot use drives on shared channel.
21
Failed in getting kernel version. Unknown product ID.
22
Kernel timeout in writing command.
23
No RAID channels available
24
Error: wrong stripe size in creating array - script mode.
100
You ran ACU and made changes
—The ACU exited with no errors (success) and you must
restart the computer.
Code
Description