Adaptec 31605 User Guide - Page 102

Sample Scripts, Sample Scripts for SCSI and SAS Controllers

Page 102 highlights

Appendix D: Using the Array Configuration Utility for DOS ● 102 Code Description 19 Unable to read SATA port parameters. Unable to read SCSI channel parameters. 20 Unable to write SATA port parameters. Unable to write SCSI channel parameters. 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 Sample Scripts for SCSI and SAS Controllers Note: For a sample script for a SATA controller, see page 103. This sample script file is a sample 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 # Use drives 1 and 2 Drives=0:1:0,0:2:0 # Disable write cache WriteCache=No # Assign 1 spare drive HotspareDrives=0:3:0 End This sample script file creates a maximum-size three-disk-drive RAID 5: # Create a maximum size RAID 5 labeled 'MyData' Array=MyData Type=RAID5 Size=Maximum # Use the maximum stripe size StripeSize=1024

  • 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

Appendix D: Using the Array Configuration Utility for DOS
102
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
Sample Scripts for SCSI and SAS Controllers
Note:
For a sample script for a SATA controller, see
page 103
.
This sample script file is a sample 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
# Use drives 1 and 2
Drives=0:1:0,0:2:0
# Disable write cache
WriteCache=No
# Assign 1 spare drive
HotspareDrives=0:3:0
End
This sample script file creates a maximum-size three-disk-drive RAID 5:
# Create a maximum size RAID 5 labeled ‘MyData’
Array=MyData
Type=RAID5
Size=Maximum
# Use the maximum stripe size
StripeSize=1024
19
Unable to read SATA port parameters.
Unable to read SCSI channel parameters.
20
Unable to write SATA port parameters.
Unable to write SCSI channel parameters.
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