RAID Diagnostics Software

===== Common =====
ls /dev/afa* -la # See what afa drives are available
/usr/sbin/afacli # Start RAID diagnostics
open afa0 # Opens the first RAID Set
close afa0 # Closes the first RAID Set
open afa1 # Opens the second RAID set
#After opening a RAID set
container list # List what kind of RAID is configured
disk list # Lists what disks are assigned to the RAID
disk show smart # Shows SMART status on all disks in RAID
disk verify 0 # Puts disk 1 into test mode
disk verify 1 # Puts disk 2 into test mode
task list # Shows the status of drives in test mode by percent complete
disk show defects 0 # Shows the health of Drive 1 after testing
exit # Exit AFACLI

===== Main Help Screen =====
close - Closes the currently opened controller when all access is completed.
exit - Closes the currently opened controller and exits the CLI.
open - Opens a controller for use in the CLI. The open command prepares a particular controller for access by the CLI.
history_size - Set size of history buffer.
reset_window - Reset the window.
container - Container operation commands.
container add_level - Creates a multilevel volume container which will contain the specified container as its only
element.
container create - Creates various containers and items.
container create mirror - Creates a mirror set from a single entry volume set.
container create mmirror - Creates a multilevel container of mirror sets from a multilevel container of single
entry volume sets.
container create mstripe - Creates a multilevel stripe set.
container create mvolume - Creates a multilevel volume set.
container create raid5 - Creates a RAID5 set.
container create raid10 - Creates a RAID10 set.
container create stripe - Creates a stripe set.
container create volume - Creates a volume set.
container create new_mirror - Creates a mirror set from two free spaces.
container delete - Deletes the specified container.
container list - Lists the containers or the specified container on a controller.
container lock - Locks the specified container.
container move - Moves the first container specified to the second container number specified.
container promote - Changes a container to a multilevel container of single entry volume sets.
container readonly - Sets a container to have read only protection.
container readwrite - Sets a container to have read-write protection
container reconfigure - Change the configuration of a container.
container release_cache - Release the cache buffers associated with a container.
container remove - Removes various items from a container.
container remove failover - Removes the failover space set for a specific redundant container.
container remove global_failover - Removes a global failover assignment.
container restore - Container restore operations.
container restore RAID5 - This operation attempts to restore a RAID5 container that has a number of dead
partitions as members. This operation is not always successful and should be taken as
a measure of last resort.
container scrub - Check and repairs the consistency of RAID5 sets or mirror sets.
container set - Sets various container parameters.
container set cache - Sets caching parameters for a container. Useful only if a native operating system's file
system resides on the container.
container set failover - Assigns failover space to a specific container.
container set global_failover - Assigns failover space all containers.
container set io_delay - Sets the IO delay time in milliseconds between IOs for redundant container background
tasks.
container set label - Assigns a new label to the specified container.
container show - Shows various items.
container show cache - Display Caching Parameters for a container.
container show failover - Shows the failover devices assigned to a container.
container split - Splits the specified mirror set into two unrelated volume sets.
container unmirror - Changes the specified mirror set to a volume set and frees the redundant space.
container unlock - Unlocks the specified container.
container clear - Clears the specified container. A container that has open files cannot be cleared. A container with
a file system can be cleared only if you specify the /always switch.
controller - Controller operation commands.
controller battery_recondition - This command will cause the controller battery to begin reconditioning. This process
will take approximately 8 hours, during this period performance will be degraded.
controller details - Shows details about the controller including revision levels for all components.
controller list - Lists all of the controllers on a given system.
controller rescan - Rescans the SCSI buses, and updates all underlying structures.
controller reset_scsi_bus - Resets the specified SCSI bus.
controller resume_io - Does rescan operation and then resumes IO after pause_io.
controller set - Used to set various controller settings.
controller set automatic_failover - Turns on or off automatic failover for the specified controller.
controller set container_verify - Turn on or off the container verify task.
controller show - Used to display various controller settings.
controller show automatic_failover - Displays the automatic failover status (enabled or disabled) for the
specified controller.
controller show channels - This command will show all of the channels on the controller with its characteristics.
controller show container_verify - Displays the status of the container verify background task.
controller firmware - Controller firmware operation commands.
controller firmware update - Updates the controller's firmware from a specified flash image file.
controller firmware save - Saves controller's current firmware to the specified flash image file.
controller firmware compare - Compares controller's current firmware with the specified flash image file.
controller alarm - Used to display controller alarm settings.
controller alarm enable - Used to enable the alarm on the controller.
controller alarm disable - Used to disable the alarm on the controller.
controller alarm silence - Used to silence the controller's audible alarm when it is sounding.
controller alarm test - Used to test the controller's audible alarm circuit by sounding the alarm for 2 seconds.
diagnostic - Diagnostic operation commands.
diagnostic battery_replace - This command will cause the controller battery to initialize all parameters. This
operation should normally only be done after the controller battery has been replaced.
diagnostic clear - Clear operation commands.
diagnostic clear boot_parameters - Clears all of the controller boot-time parameters.
diagnostic dump - Dump operation commands.
diagnostic dump structures - Dumps all of the container structures to the specified files.
diagnostic dump text - Displays text output for important internal data structures.
diagnostic load_containers - When in maintenance mode, this allows the containers to be loaded so that they can be
verified.
diagnostic moderation - Display and set moderation control values on the controller.
diagnostic moderation show - Used to display moderation values on the controller.
diagnostic moderation show Timer - Display the Default Interrupt Timer on the controller.
diagnostic moderation show Count - Display the Default Interrupt Count on the controller.
diagnostic moderation set - Used to set moderation values on the controller.
diagnostic moderation set Timer - Set the Default Interrupt Timer on the controller.
diagnostic moderation set Count - Set the Default Interrupt Count on the controller.
diagnostic set - Set operation commands.
diagnostic set boot_parameter - Sets the specified controller boot-time parameter.
diagnostic show - Show operation commands.
diagnostic show boot_parameter - Displays the value of the specified boot-time parameter
diagnostic show history - Displays the history buffer contained in the controller NVRAM.
disk - Disk operation commands.
disk blink - This command will cause the drive light to blink. Specify the number of seconds to blink or 0 to stop.
disk enable - Allows a disk to be enabled.
disk initialize - Initializes the disk structures necessary to use a SCSI device with the controller.
disk kill - Allows a disk to be brought down.
disk list - Lists the disks available on this controller.
disk remove - Removes various items from SCSI devices.
disk remove dead_partitions - This command will remove all dead partitions from a disk.
disk set - Sets various items.
disk set default - Sets the various disk defaults for all subsequent CLI commands.
disk set smart - Change a device's SMART configuration.
disk show - Shows various items.
disk show default - Shows the various defaults set for the CLI commands.
disk show defects - Shows the number of defects and/or defect list on a particular disk drive.
disk show partition - Shows the partitions on the disks attached to this controller.
disk show smart - Displays SMART values and settings for SMART enabled devices.
disk show space - Shows space usage on the disks attached to the controller.
disk verify - Verifies all the blocks on a SCSI device.
enclosure - Enclosure management commands.
enclosure activate - Activates a device in the enclosure.
enclosure activate slot - Activates a device in the enclosure.
enclosure identify - Identifies a device in the enclosure.
enclosure identify slot - Identifies a device in the enclosure.
enclosure list - Lists enclosure information.
enclosure prepare - Prepares a device in a slot.
enclosure prepare slot - Prepares a device in the enclosure to be inserted or removed.
enclosure set - Sets enclosure configuration information.
enclosure set alarm - Sets the enclosure speaker.
enclosure set door - Locks or unlocks the enclosure door.
enclosure set fan - Sets the enclosure fan speed
enclosure set interval - Sets the monitor interval in seconds.
enclosure set power - Sets enclosure power supply.
enclosure set scsiid - Sets the SCSI id of the device slot.
enclosure set temperature - Sets the temperature threshold to report warning.
enclosure show - Shows enclosure configuration information.
enclosure show fan - Displays the enclosure fan status.
enclosure show power - Displays the enclosure power supply status.
enclosure show slot - Displays the enclosure device slot status.
enclosure show status - Displays the enclosure general status.
enclosure show temperature - Displays the enclosure temperature sensor status.
logfile - Logs CLI output to file.
logfile end - Ends and closes the output log file
logfile start - Starts a log file for all outputted information.
task - Task operation commands.
task list - Lists the specified task or all the tasks running on the controller.
task resume - Resumes a task that was suspended or all of the tasks that were suspended.
task stop - Stops a task on the controller, or all of the tasks on the controller.
task suspend - Suspends a task on the controller, or all of the tasks on the controller.

===== Related =====

http://docs.us.dell.com/support/edocs/stor...en/taskcomm.htm

http://www.webhostingtalk.com/archive/inde...312313-p-1.html