DELL had 2 main family of RAID hardware using 2 different drivers.<br>Once is aacraid, and I manage them using afacli (command line tool)<br><br>Here is a getting started :-)<br><br>[root@max ~]# ls -l /dev/afa0<br>crw-r--r--  1 root root 254, 0 Aug 27 13:30 /dev/afa0
<br>[root@max ~]# afacli<br>------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
<br><br>DELL PowerEdge Expandable RAID Controller 2 Command Line Interface<br>Copyright 1998-2004 Adaptec, Inc. All rights reserved<br>------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
<br><br>CLI > open afa0<br>Executing: open "afa0"<br><br>AFA0> container list<br>Executing: container list<br>Num          Total  Oth Chunk          Scsi   Partition<br>Label Type   Size   Ctr Size   Usage   B:ID:L Offset:Size
<br>----- ------ ------ --- ------ ------- ------ -------------<br> 0    RAID-5 1.09TB       64KB Valid   0:00:0 64.0KB: 279GB<br> /dev/sda             RAID5_5x300      0:01:0 64.0KB: 279GB<br>                                       0:05:0 
64.0KB: 279GB<br>                                       0:03:0 64.0KB: 279GB<br>                                       0:04:0 64.0KB: 279GB<br><br> 1    Volume  279GB            Valid   0:02:0 64.0KB: 279GB<br> /dev/sdb             VOLUME_1X300
<br><br><br>AFA0> disk show space<br>Executing: disk show space<br><br>Scsi B:ID:L Usage      Size<br>----------- ---------- -------------<br>  0:00:0     Container 64.0KB: 279GB<br>  0:00:0     Free       279GB: 149MB
<br>  0:01:0     Container 64.0KB: 279GB<br>  0:01:0     Free       279GB: 149MB<br>  0:02:0     Container 64.0KB: 279GB<br>  0:02:0     Free       279GB: 405MB<br>  0:03:0     Container 64.0KB: 279GB<br>  0:03:0     Free       279GB: 149MB
<br>  0:04:0     Container 64.0KB: 279GB<br>  0:04:0     Free       279GB: 149MB<br>  0:05:0     Container 64.0KB: 279GB<br>  0:05:0     Free       279GB: 149MB<br><br>AFA0> help<br>Executing: help<br>close - Closes the currently opened controller when all access is completed.
<br>exit - Closes the currently opened controller and exits the CLI.<br>open - Opens a controller for use in the CLI. The open command prepares a particular controller for access by the CLI.<br>history_size - Set size of history buffer.
<br>reset_window - Reset the window.<br>container - Container operation commands.<br>    container add_level - Creates a multilevel volume container which will contain the specified container as its only element.<br>    container create - Creates various containers and items.
<br>        container create mirror - Creates a mirror set from a single entry volume set.<br>        container create mmirror - Creates a multilevel container of mirror sets from a multilevel container of single entry volume sets.
<br>.....<br><br><br>Manage RAID 5 is more than verify the container is ok ! <br>You need to be active by checking the disk often for bad block and replace them.<br>One I got bad block on 3 of a 4disk array another time it was 3disk on an array of 5 and this time
<br>I got lot of corrupted files (with bloc of 4k filled with random value).<br>Now a check all my disk every month.<br>Hope this help<br><br>Here all my own management script. You can run all these script when the system is running. Of course the disk verify will slow down
<br>the system :-)<br><br># for file in *.afa *.sh ; do echo ======= $file =========== ; cat $file ; done<br>======= check.afa ===========<br>open afa0<br>disk verify 0<br>disk verify 1<br>disk verify 2<br>disk verify 3<br>
disk verify 4<br>disk verify 5<br>task list<br>close<br>exit<br><br>======= history.afa ===========<br>open afa0<br>diagnostic show history<br>close<br>exit<br>======= status.afa ===========<br>open afa0<br>disk list<br>disk show space
<br>container list<br>close<br>exit<br>======= task.afa ===========<br>open afa0<br>task list<br>close<br>exit<br>======= verify.afa ===========<br>open afa0<br>task list<br>diagnostic show history<br>close<br>exit<br>======= 
history.sh ===========<br><br>afacli @history.afa<br><br>======= start_check.sh ===========<br>afacli @check.afa<br><br>echo "run verify.sh later (use task.sh to know if the task are done)"<br><br>======= status.sh
 ===========<br><br>afacli @status.afa<br><br>======= task.sh ===========<br><br>afacli @task.afa<br><br>======= verify.sh ===========<br><br>afacli @verify.afa | egrep "media_scan|ID\(0:0.:0\)|Periodic Time Display"
<br><br><br><br><br><br><br><div><span class="gmail_quote">On 8/27/07, <b class="gmail_sendername">Matt Arnilo S. Baluyos (Mailing Lists)</b> <<a href="mailto:matt.baluyos.lists@gmail.com">matt.baluyos.lists@gmail.com</a>
> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">On 8/27/07, Mezei Zoltán <<a href="mailto:mezei.zoltan@telefor.hu">mezei.zoltan@telefor.hu
</a>> wrote:<br>> Matt Arnilo S. Baluyos (Mailing Lists) wrote:<br>> ><br>> > I'm doing an audit of all our servers here (there aren't that many<br>> > maybe around 5-10) and one of the things I'm doing is taking note of
<br>> > each server's hardware specs (processor, memory, etc).<br>> ><br>> As a first task for your audit I'd recommend counting your servers :-p<br><br>Haha. Was too lazy to look at my notes. We currently have 8 servers.
<br><br><br>> Hardware RAID cards are usually managed by third-party add-on programs.<br>> E.g. HP provides the tool called hpacucli which can determine everything<br>> regarding your RAID controller and discs.<br>
><br>> What kind of hardware RAID solution do you have? If you can't determine,<br>> the output of lspci might help.<br><br>It's a Dell 2550 PowerEdge server.<br><br>Below is the result of lspci:<br><br>00:
00.0 Host bridge: Broadcom CNB20HE Host Bridge (rev 23)<br>00:00.1 Host bridge: Broadcom CNB20HE Host Bridge (rev 01)<br>00:00.2 Host bridge: Broadcom CNB20HE Host Bridge (rev 01)<br>00:00.3 Host bridge: Broadcom CNB20HE Host Bridge (rev 01)
<br>00:0e.0 VGA compatible controller: ATI Technologies Inc Rage XL (rev 27)<br>00:0f.0 ISA bridge: Broadcom OSB4 South Bridge (rev 50)<br>00:0f.1 IDE interface: Broadcom OSB4 IDE Controller<br>00:0f.2 USB Controller: Broadcom OSB4/CSB5 OHCI USB Controller (rev 04)
<br>01:08.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5700<br>Gigabit Ethernet (rev 10)<br>02:02.0 PCI bridge: Intel Corporation 80960RM [i960RM Bridge] (rev 01)<br>02:02.1 RAID bus controller: Dell PowerEdge Expandable RAID Controller
<br>3/Di (rev 01)<br>02:04.0 Ethernet controller: Intel Corporation 82557/8/9 [Ethernet Pro<br>100] (rev 08)<br><br><br>--<br>Stand before it and there is no beginning.<br>Follow it and there is no end.<br>Stay with the ancient Tao,
<br>Move with the present.<br>_______________________________________________<br>CentOS mailing list<br><a href="mailto:CentOS@centos.org">CentOS@centos.org</a><br><a href="http://lists.centos.org/mailman/listinfo/centos">
http://lists.centos.org/mailman/listinfo/centos</a><br></blockquote></div><br><br clear="all"><br>-- <br>Alain Spineux<br>aspineux gmail com<br>May the sources be with you