Page 4
Ownership of Software. As Licensee, you own the media upon which the software is recorded or fixed, but Adaptec and its licensors retain title and ownership of the Software recorded on the original media and all subsequent copies of the Software, regardless of the form or media in which or on which the original and other copies may exist.
Page 5
Software (including the related documentation) together with all copies or modifications in any form. Adaptec will have the right to terminate our license immediately if you fail to comply with any term or condition of this Agreement. Upon any termination, including termination by you, you must destroy the Software (including the related documentation), together with all copies or modifications in any form.
Page 6
Agreement, in writing signed by an officer of Adaptec. You assume full responsibility for the use of the Software and agree to use the Software legally and responsibly. This Agreement shall be governed by California law, except as to copyright matters, which are covered by Federal law.
Contents Getting Started with the Command Line Utility Installing the Command Line Utility ... 8 Installing on Windows ... 8 Installing on Linux ... 8 Installing on NetWare ... 9 Starting the Command Line Utility ... 9 Using the Command Line Utility ARCCONF Commands ...
In this chapter... Installing the Command Line Utility... 8 Starting the Command Line Utility ... 9 This chapter explains how your Adaptec product supports the use of one of these command line utilities: ARCCONF - for Adaptec RAID controllers ●...
Installing the Command Line Utility Both command line utilities are provided on the Adaptec Storage Manager CD. The utility (ARCCONF or HRCONF) is automatically installed in the same directory as Adaptec Storage Manager and must remain there. Installing on Windows To install ARCCONF or HRCONF on Windows systems: Start the computer.
1.3 or later. To check your JVM version, load JVM, type JAVA - VERSION. Note: For the latest updates from Novell, visit Insert the Adaptec Storage Manager CD. From the command prompt, type load cdrom and press Enter. From the command prompt, type:...
Using the Command Line Utility In this chapter... ARCCONF Commands ... 11 HRCONF Commands ... 27 This chapter explains how to use the command line utility interactively or in batch mode. With interactive mode, enter commands at the prompt. In batch mode, create scripts and run the script in the appropriate shell.
ARCCONF Commands Perform the following functions from the command line: ARCCONF COMMANDS copyback getstatus create getversion delete rescan driverupdate romupdate getconfig setalarm getlogs setcache Command arcconf copyback What it does Toggles the controller copyback feature, which attempts to keep drives in the original slot order after rebuilds.
Page 13
Command arcconf create What it does Creates a new logical drive. You must provide the channel and device ID of the physical drives. On redundant logical drives, ARCCONF performs autosynchronization. Syntax arcconf create CREATE <Controller#> LOGICALDRIVE [Options] <Size> <RAID#> <CHANNEL# DRIVE#>...
Page 14
Using the Command Line Utility ● RVOLUME: RAID Level for a RAID volume logical drive. LD#: Logical drive numbers for the 2 or more logical drives to be concatenated into the RAID volume. CHANNEL# DRIVE#: List of space-delimited channel number and device number pairs for each device to add to the logical drive.
Page 15
Using the Command Line Utility ● Return values SUCCESS: 0x00 successful termination FAILURE: 0x01 bad arguments or internal error Command arcconf driverupdate What it does Updates Windows device drivers. Automatically updates a Windows driver to the version found in the given directory. Note: Available on Windows systems only.
Page 16
Command arcconf getconfig What it does Lists information about the controllers, logical drives, and physical drives. This information can include (but is not limited to) the following items: Controller type ● BIOS, boot block, device driver, and firmware versions ● Logical drive status, RAID level, and size ●...
Page 17
Command arcconf getlogs What it does Obtains controller log information. Provides access to the status and event logs of a controller. You can retrieve four different types of logs: DEVICE: Lists any device errors the controller has encountered. ● DEAD: Records any occurrences of defunct drives. ●...
Page 18
Note: GETSTATUS reports currently active operations for both ARCCONF commands and commands issued from the Adaptec Storage Manager. Syntax arcconf getstatus <Controller#>...
Page 19
Using the Command Line Utility ● Command arcconf getversion What it does Lists version information for all controllers or a specific controller’s software components, including information about the BIOS, driver, firmware currently running, and firmware that will run after a reboot. Note: The firmware version that will run after a reboot is called the “staged”...
Page 20
Parameters Controller# is the controller number Example arcconf rescan 1 Return values SUCCESS: 0x00 indicates the command completed successfully FAILURE: 0x01 indicates the command failed Command arcconf romupdate What it does Allows new firmware and BIOS to be flashed to the controller. A reboot is required for the new firmware to take effect.
Page 21
Using the Command Line Utility ● Return values SUCCESS: 0x00 indicates the command completed successfully FAILURE: 0x01 indicates the command failed Command arcconf setalarm What it does Sets the state of the controller audible alarm, if present. Syntax arcconf setalarm <Controller#> <on|off|silence|test>...
Page 22
Syntax arcconf setcache <Controller#> DEVICE <Channel> <ID> <options> Parameters Controller# is the controller number LogicalDrive# is the number of the logical drive whose cache will be altered Logical drive options: ● ron: Read cache enabled ● roff: Read cache disabled ●...
Page 23
Using the Command Line Utility ● arcconf setconfig <Controller#> DEFAULT [noprompt] Parameters Controller# is the controller number Default: Resets the controller's configuration. Logical drives are deleted, hard drives are reset to the ready state, and any controller settings are reset to default values. noprompt: No prompt for confirmation.
Page 24
Using the Command Line Utility ● FAILURE: 0x01 indicates the command failed...
Page 25
Command arcconf setstate What it does Redefine the state of a physical device from its current state to the designated state (Hotspare). Syntax arcconf setstate <Controller#> <Channel#> <Device#> <State> [LOGICALDRIVE <LD#>[LD#] ... ] Parameters Controller# is the controller number channel# is the channel number for the drive device# is the device number for the drive.
Page 26
Syntax arcconf snapshot SNAPSHOT <COMMAND> ... [noprompt] Parameters Controller# is the controller number Commands: map: Display logical drives and any snapshot state. ● stop <Logicaldrive#>: Remove the snapshot associated ● with the given Logical drive. backup <source Logicaldrive#> <target ● Logicaldrive#>: Create a new snapshot, copying the full contents of the source to the target.
Page 27
Syntax arcconf task TASK START <Controller#> LOGICALDRIVE <LogicalDrive#> <options>[noprompt] TASK STOP <Controller#> LOGICALDRIVE <LogicalDrive#> TASK START <Controller#> DEVICE <Channel> <ID> <options>[noprompt] TASK STOP <Controller#> DEVICE <Channel> <ID> Parameters Controller# is the controller number LogicalDrive# is the number of the logical drive in which the task is to be performed Logical drive options: ●...
HRCONF Commands Perform the following functions from the command line: HRCCONF COMMANDS backup create delete getconfig Command hrconf Backup What it does For large-scale deployments, stores the current controller and disk drive configuration setting to a specific file. Stored files can be used with the RESTORE command to restore to another controller or disk drive.
Page 29
Command hrconf create What it does Creates logical drives. You must provide the channel and device ID of the physical drives. On redundant logical drives, HRCONF performs autosynchronization. Syntax hrconf create <Controller#> LOGICALDRIVE [Options] <Size> <RAID#> <CHANNEL# DRIVE#> [CHANNEL# DRIVE#] ... [noprompt] Parameters Controller# is the controller number Logicaldrive indicates the logical drive stripe size with the...
Page 30
Using the Command Line Utility ● Return values SUCCESS: 0x00 successful termination FAILURE: 0x00 bad arguments or internal error Command hrconf delete What it does Deletes a logical drive. All data stored on the logical drive will be lost. Spanned drives can’t be deleted with this function. Syntax hrconf delete <Controller#>...
Page 31
Controller type ● BIOS, boot block, device driver, and firmware versions ● Logical drive status, RAID level, and size ● Physical drive type, device ID, presence of PFA ● Physical drive state ● Syntax hrconf getconfig <Controller#> [AD/LD/PD/AL] Parameters Controller is the controller number AD/LD/PD/AL options: AD: Adapter information only ●...
Page 32
Using the Command Line Utility ● Example hrconf getstatus 1 Return values SUCCESS: 0x00 successful termination FAILURE: 0x01 bad arguments or internal error Command hrconf getversion What it does Returns the version information for all controllers. Syntax hrconf getversion Parameters Example hrconf getversion Return values...
Page 33
Using the Command Line Utility ● Parameters Controller# is the controller number Example hrconf rescan 1 Return values SUCCESS: 0x00 indicates the command completed FAILURE: 0x01 indicates the command failed Command hrconf restore What it does Restores the controller configuration by importing it’s configuration settings from a specified file.
Page 34
Using the Command Line Utility ● BAD_PATH: 0xFF indicates that the path provided is incorrect FAILURE: 0xFE indicates an error occurred writing the configuration file Command hrconf romupdate What it does Updates the controller or enclosure firmware. The ROM image file must be in the same directory prior to invoking hrconf.
Page 35
Parameters Controller# is the controller number Default: Resets the controller's configuration. Logical drives are deleted, hard drives are reset to the ready state, and any controller settings are reset to default values. noprompt: No prompt for confirmation. Example hrconf setconfig 1 default noprompt Return values SUCCESS: 0x00 indicates the command completed successfully FAILURE: 0x01 indicates the command failed...
Page 36
Using the Command Line Utility ● Example hrconf setstate 1 0 1 HSP hrconf setstate 1 0 2 RDY hrconf setstate 1 0 2 RBL Return values SUCCESS: 0x00 indicates the command completed successfully FAILURE: 0x01 indicates the command failed...
Need help?
Do you have a question about the RAID 2230SLP and is the answer not in the manual?
Questions and answers