Adaptec ICP5045BL User Manual

For direct attached storage
Hide thumbs Also See for ICP5045BL:

Advertisement

Command Line Utility
for Direct Attached Storage
User's Guide

Advertisement

Table of Contents
loading

Summary of Contents for Adaptec ICP5045BL

  • Page 1 Command Line Utility for Direct Attached Storage User’s Guide...
  • Page 2 Copyright ©2007 Adaptec, Inc. All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, electronic, mechanical, photocopying, recording or otherwise, without the prior written consent of Adaptec, Inc., 691 South Milpitas Blvd., Milpitas, CA 95035.
  • Page 3 UPON THE SOFTWARE OR ANY PART THEREOF. 3. 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 4: Table Of Contents

    Getting Started with the Command Line Utility Installing the Command Line Utility... 7 Installing on Windows... 7 Installing on Linux... 7 Installing on NetWare ... 7 Installing on OpenServer and UnixWare ... 8 Installing on Solaris ... 8 Starting the Command Line Utility ... 9 Using the Command Line Utility Understanding the Command Line Utility ...
  • Page 5 Contents ● arcconf setconfig ... 20 arcconf setname ... 20 arcconf setstate... 20 arcconf snapshot ... 21 arcconf task ... 21 HRCONF Commands ... 22 hrconf backup ... 22 hrconf create ... 23 hrconf delete... 23 hrconf driverupdate... 24 hrconf getconfig ... 24 hrconf getstatus...
  • Page 6: Getting Started With The Command Line Utility

    Line Utility In this chapter... Installing the Command Line Utility ... 7 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 ●...
  • Page 7: Installing The Command Line Utility

    Installing the Command Line Utility Both command line utilities are provided on the Adaptec Storage Manager CD. The utility ) is automatically installed in the same directory as Adaptec Storage ARCCONF or HRCONF Manager and must remain there. Installing on Windows...
  • Page 8: Installing On Openserver And Unixware

    -F hsfs -o ro/dev/dsk/c1t0d0s2/mnt Install Adaptec Storage Manager: pkgadd -d/<mount point>/solaris/manager/StorMan.ds Follow the on-screen instructions to complete the installation. Eject or unmount the Adaptec Storage Manager Installation CD. Refer to your operating system documentation for detailed instructions. ● is the release number. For...
  • Page 9: Starting The Command Line Utility

    Starting the Command Line Utility To start ARCCONF or HRCONF Windows— ● c:\<install_dir*>\<name of utility>.exe Linux— ● /usr/<install_dir*>/<name of utility> NetWare— ● load <name of utility> UnixWare/OpenServer— ● Solaris— ● /usr/StorMan/<name of utility> is the directory where the utility is installed and Install_dir* ARCCONF or HRCONF To see a list of available commands, type...
  • Page 10: Using The Command Line Utility

    Understanding the Command Line Utility... 11 ARCCONF Commands ... 12 HRCONF Commands... 22 This chapter explains how to use the text-based command line interfaces that provides the same functions as Adaptec Storage Manager in environments where a GUI is not available.
  • Page 11: Understanding The Command Line Utility

    Understanding the Command Line Utility The command line utility is used 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. For example: Environment Batch File Windows .bat...
  • Page 12: Using Error Log Files

    This feature allows you to save logs documenting all commands. The following is an example of saving a firmware update event log. arcconf romupdate 1 as4805 noprompt eventlog romupdate_1.log errorlog update_err.log Using Error Log Files The error log keeps an inventory of all relevant information from an event failure. The error log file also contains return codes (for details see diagnose why a command failed.
  • Page 13: Arcconf Create

    arcconf create Creates a new logical drive. You must provide the channel and device ID of the physical devices. On redundant logical drives, ARCCONF performs autosynchronization. Syntax ARCCONF CREATE <Controller#> LOGICALDRIVE [Options] <Size> <RAID#> <CHANNEL# ID#> [CHANNEL# ID#] ... [noprompt] ARCCONF CREATE <Controller#>...
  • Page 14: Arcconf Datascrub

    arcconf datascrub Sets the background consistency check modes of the controller. Syntax ARCCONF DATASCRUB <Controller#> <on/off/period <DAYS>> [noprompt] Parameters Controller# is the controller number on turns the background consistency check on. off turns the background consistency check off. period <DAYS> the number of days to complete a background consistency check. period automatically turns on the background consistency check ●...
  • Page 15: Arcconf Getconfig

    arcconf getconfig Lists information about the controllers, logical drives, and physical devices. 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 16: Arcconf Getstatus

    Note: GETSTATUS reports currently active operations for both ARCCONF commands and commands issued from the Adaptec Storage Manager. GETSTATUS reports verify, clear, initialize, and secure erase operations on physical devices.
  • Page 17: Arcconf Identify

    Channel# ID# is the channel and ID number for the device to be identified Example ARCCONF IDENTIFY 1 DEVICE 0 0 ARCCONF IDENTIFY 1 ALL arcconf key Loads a feature key onto an Adaptec controller. Syntax ARCCONF KEY <Controller#> SET <Key#> Parameters Controller# is the controller number...
  • Page 18: Arcconf Rescan

    Options: Stripesize—indicates the stripe size in KB. Options are 16, 32, 64, 128, 256, 512, and 1024. ● the default is 256KB. init_priority—is the priority level of the modification. Options are low, med, and high. ● Legs— is the number of subarrays for a RAID level-50 or RAID level 60 array. Possible ●...
  • Page 19: Arcconf Setalarm

    Parameters Controller# is the controller number BaseName is the name of the ROM image basename or the fully qualified name if you have a set of controller ROM images. Note: All UFI files must be in the same directory prior to invoking ARCCONF. If you are copying UFI files from floppy images, be sure to check all images.
  • Page 20: Arcconf Setconfig

    Physical device cache modes: WT - write through disabled ● WB - write back enabled ● Example ARCCONF SETCACHE LOGICALDRIVE 1 RON ARCCONF SETCACHE DEVICE 0 0 WB arcconf setconfig Resets the controller's configuration. Logical drives are deleted, hard disks are reset to the READY state.
  • Page 21: Arcconf Snapshot

    State: HSP—Create a hot spare from a ready drive ● RDY—Remove a hot spare designation ● DDD—Force a drive offline ● Example ARCCONF SETSTATE 1 DEVICE 0 0 HSP LOGICALDRIVE 1 2 3 ARCCONF SETSTATE 1 DEVICE 0 0 RDY LOGICALDRIVE 2 arcconf snapshot Create or manage a logical drive snapshot.
  • Page 22: Hrconf Commands

    Physical device options: ● verify_fix—verifies the disk media and repairs the disk if bad data is found ● verify—verifies the disk media ● clear—removes all data from the drive ● initialize—returns a drive to the READY state (erases the metadata) ●...
  • Page 23: Hrconf Create

    hrconf create Creates logical drives. You must provide the channel and device ID of the physical devices. On redundant logical drives, HRCONF performs autosynchronization. Syntax HRCONF CREATE <Controller#> LOGICALDRIVE [Options] <Size> <RAID#> <CHANNEL# ID#> [CHANNEL# ID#] ... [noprompt] Parameters Controller# is the controller number Options indicates the logical drive with the following options: Stripesize—Optional parameters for specifying a stripe size.
  • Page 24: Hrconf Driverupdate

    hrconf driverupdate Updates Windows device drivers. When given a directory name, it will attempt to update a driver to the version found in the given directory. Note: This command is available only on Windows systems. Syntax HRCONF DRIVERUPDATE <DirName> Parameters Driverupdate <DirName>...
  • Page 25: Hrconf Getversion

    Example HRCONF GETSTATUS 1 hrconf getversion Returns the version information for all controllers or the optionally specified controller. Syntax HRCONF GETVERSION <Controller#> Parameters Controller# prints the version information for the specified controller Example HRCONF GETVERSION hrconf identify Blinks the LEDs on a device(s) connected to a controller. Syntax HRCONF IDENTIFY <Controller#>...
  • Page 26: Hrconf Restore

    hrconf restore Restores the controller configuration by importing it’s configuration settings from a specified file. Deletes the current configuration. The file must have been saved through the BACKUP command from a controller of the same type, same number, and type of physical devices with same channels and device IDs.
  • Page 27: Hrconf Setconfig

    hrconf setconfig Resets the controller's configuration. Logical drives are deleted, hard disks are reset to the READY state. Syntax HRCONF SETCONFIG <Controller#> DEFAULT [noprompt] Parameters Controller# is the controller number Default restores the controller’s default configuration Example HRCONF SETCONFIG 1 DEFAULT hrconf setstate Redefines the state of a physical device from its current state to the designated state, or redefines a logical device state to force the logical drive online.
  • Page 28 LogicalDrive# is the number of the logical drive in which the task is to be performed Options indicates the logical drive with the following tasks to be started or performed verify_fix (Verify with fix) ● verify ● clear ● Example HRCONF TASK START 1 LOGICALDRIVE 1 VERIFY NOPROMPT HRCONF TASK STOP 1 LOGICALDRIVE 1 Chapter 2: Using the Command Line Utility...
  • Page 29 Adaptec, Inc. 691 South Milpitas Boulevard Milpitas, CA 95035 USA ©2007 Adaptec, Inc. All rights reserved. Adaptec and the Adaptec logo are trademarks of Adaptec, Inc. which may be registered in some jurisdictions. Part Number: CDP-00092-05-A Rev A JB 05/07...

Table of Contents