StorMan Adaptec Controller Cheatsheet

Not really a MySQL related topic, but so I do not forget later on and for those who end up working with the StorMan CLI to manage their controller cards I thought I would publish my quick down and dirty cheatsheet.   The great thing about the newer arcconf is the help & usage is very helpful and needs little explanation.  In fact I almost just skipped posting this because most people can just type arcconf and figure it out from there, but because I touch soo many different cards I figured this would serve as a reminder to me and others in the future.

Display the config:

[root@tm163-110 ~]# /usr/StorMan/arcconf GETCONFIG

 Usage: GETCONFIG <Controller#> [AD | LD [LD#] | PD | [AL]]
 ======================================================

 Prints controller configuration information.

    Option  AD  : Adapter information only
            LD  : Logical device information only
            LD# : Optionally display information about the specified logical device
            PD  : Physical device information only
            AL  : All information (optional)
[root@tm163-110 ~]# /usr/StorMan/arcconf GETCONFIG 1
Controllers found: 1

Examples:

  /usr/StorMan/arcconf getconfig 1 LD
  /usr/StorMan/arcconf getconfig 1

Check this output for failures:

   Failed stripes                           : No


Set the cache on the controller:

[root@tm163-110 ~]# /usr/StorMan/arcconf GETCONFIG

 Usage: GETCONFIG <Controller#> [AD | LD [LD#] | PD | [AL]]
 ======================================================

 Prints controller configuration information.

    Option  AD  : Adapter information only
            LD  : Logical device information only
            LD# : Optionally display information about the specified logical device
            PD  : Physical device information only
            AL  : All information (optional)
[root@tm163-110 ~]# /usr/StorMan/arcconf GETCONFIG 1
Controllers found: 1

Examples:

–Enable/disable the card on the physical drive

  /usr/StorMan/arcconf SETCACHE 1 DEVICE 0 3 wb
  /usr/StorMan/arcconf SETCACHE 1 DEVICE 0 4 wb
  /usr/StorMan/arcconf SETCACHE 1 DEVICE 0 5 wb
  /usr/StorMan/arcconf SETCACHE 1 DEVICE 0 6 wb
  /usr/StorMan/arcconf SETCACHE 1 DEVICE 0 7 wb

–Enable/disable controller cache for a Logical device

  /usr/StorMan/arcconf setcache 1 LOGICALDRIVE 3 wb
  /usr/StorMan/arcconf setcache 1 LOGICALDRIVE 3 wt
  /usr/StorMan/arcconf setcache 1 LOGICALDRIVE 4 wt
  /usr/StorMan/arcconf setcache 1 LOGICALDRIVE 5 wt
  /usr/StorMan/arcconf setcache 1 LOGICALDRIVE 6 wt
  /usr/StorMan/arcconf setcache 1 LOGICALDRIVE 7 wt

Create New Logical Device ( Array ):

One of the key things to remember in the create is the the channel#/id# can be found directly in the get config command:

      Device #3
         Device is a Hard drive
         State                              : Online
         Supported                          : Yes
         Transfer Speed                     : SATA 3.0 Gb/s
         Reported Channel,Device            : 0,3
         Reported Location                  : Enclosure 0, Slot 3
         Reported ESD                       : 2,0
         Vendor                             : INTEL
         Model                              : SSDSA2SH03
         Firmware                           : 845C8626
         Serial number                      : CVEM82840022032HGN
         Size                               : 30517 MB
         Write Cache                        : Enabled (write-back)
         FRU                                : None
         S.M.A.R.T.                         : No

In this case the channel# and ID are 0,3 …

here is the help:

[root@tm163-110 ~]# /usr/StorMan/arcconf CREATE
 Usage: CREATE <Controller#> LOGICALDRIVE [Options] <Size> <RAID#> <Channel# ID#> [Channel# ID#] ... [noprompt]
 Usage: CREATE <Controller#> LOGICALDRIVE RVOLUME <LD#> <LD#> [LD#] ... [noprompt]
 ======================================================
 Create a new logical device.
    Options:         Additional creation specifiers.
       Stripesize <STRIPE>: Optional parameters for specifying a stripe size.
                     STRIPE is specified in kilobytes.
                     16, 32, 64, 128, 256*, 512 and 1024 are supported.
       Legs <LEG>:   Optional parameters for specifying number of sub-logical devices.
                     LEG is the number of sub-logical devices for RAID level 50 or 60.
                     RAID 50/60: 2 - 16 legs, 3 - 16 drives/leg, 48 drives max.
       Name <NAME>:  Optional parameter for specifying the name of the logical
                     device.
       Priority <PRIORITY>: Initialization Priority for logical drive creation.
                     Valid options are: HIGH*, MED, or LOW.
       Method <METHOD>: Initialization method for the logical device.
                     Valid options include: BUILD, CLEAR, QUICK, and
                     SKIP.  SKIP skips initialization (for recovery only).
       Rcache <RCACHE>: Read Cache setting for the logical device.
                     Valid options are: RON and ROFF
       Wcache <WCACHE>: Write Cache setting for the logical device.
                     Valid options are: WT, WB, and WBB
                     WT:  write-through (Disabled)
                     WB:  write-back (Enabled)
                     WBB: write-back (Enabled) when protected by battery
    Size:            Size of the logical device in megabytes.
                     Use MAX to set size to all remaining available space.
    Raid#:           Raid level for the new logical device.
                     0, 1, 1E, 10, 5, 5EE, 50, 6, 60, and volume are supported.
    RVOLUME          Raid Level for a raid volume logical device.
    LD#              Logical device numbers for the 2 or more distinct logical devices
                     to be concatenated into the raid volume.
                     RAID levels 0, 1, and 5 are supported RVOLUME members.
                     All RVOLUME members must be the same RAID level.
    Channel# ID#:    A list of space-delimited channel number and
                     device number pairs for each device to add
                     to the logical device.
       noprompt:     Don't prompt for confirmation.
     * default parameter in MOST circumstances

All Commands:

 /usr/StorMan/arcconf
  | UCLI |  Adaptec uniform command line interface
  | UCLI |  Version 5.50 (B17523)
  | UCLI |  (C) Adaptec 2003-2008
  | UCLI |  All Rights Reserved
 COPYBACK      | toggles controller copy back mode
 CREATE        | creates a logical device
 DATASCRUB     | toggles the controller background consistency check mode
 DELETE        | deletes one or more logical devices
 FAILOVER      | toggles the controller autotomatic failover mode
 SNAPSHOT      | creates a copy of a logical device
 GETCONFIG     | prints controller information
 GETLOGS       | gets controller log information
 GETSTATUS     | displays the status of running tasks
 GETVERSION    | prints version information for all controllers
 IDENTIFY      | blinks LEDS on device(s) connected to a controller
 KEY           | installs a Feature Key onto a controller
 MODIFY        | performs RAID Level Migration or Online Capacity Expansion
 RESCAN        | checks for new or removed drives
 ROMUPDATE     | updates controller firmware
 SETALARM      | controls the controller alarm, if present
 SETCONFIG     | restores the default configuration
 SETCACHE      | adjusts physical or logical device cache mode
 SETNAME       | renames a logical device given its logical device number
 SETPRIORITY   | changes specific or global task priority
 SETSTATE      | manually sets the state of a physical or logical device
 TASK          | performs a task such as build/verify on a physical or logical device
This entry was posted in hardware, linux, performance, raid. Bookmark the permalink.

Comments are closed.