ubuntu adaptec arcconf

берем утилиту с оф.сайта адптека «Adaptec Storage Manager»
забираем.

chmod +x arcconf
apt-get install libstdc++5
./arcconf GETCONFIG 1


видим
Controllers found: 1
----------------------------------------------------------------------
Controller information
----------------------------------------------------------------------
   Controller Status                        : Optimal
   Channel description                      : SAS/SATA
   Controller Model                         : Adaptec 5405
   Controller Serial Number                 : 3E0213008F5
   Physical Slot                            : 6
   Temperature                              : 44 C/ 111 F (Normal)
   Installed memory                         : 256 MB
   Copyback                                 : Disabled
   Background consistency check             : Disabled
   Automatic Failover                       : Enabled
   Global task priority                     : High
   Performance Mode                         : Default/Dynamic
   Stayawake period                         : Disabled
   Spinup limit internal drives             : 0
   Spinup limit external drives             : 0
   Defunct disk drive count                 : 0
   Logical devices/Failed/Degraded          : 1/0/1
   SSDs assigned to MaxCache pool           : 0
   Maximum SSDs allowed in MaxCache pool    : 8
   MaxCache Read Cache Pool Size            : 0.000 GB
   MaxCache flush and fetch rate            : 0
   MaxCache Read, Write Balance Factor      : 3,1
   NCQ status                               : Enabled
   Statistics data collection mode          : Enabled
   --------------------------------------------------------
   Controller Version Information
   --------------------------------------------------------
   BIOS                                     : 5.2-0 (18937)
   Firmware                                 : 5.2-0 (18937)
   Driver                                   : 1.2-0 (29801)
   Boot Flash                               : 5.2-0 (18937)
   --------------------------------------------------------
   Controller Battery Information
   --------------------------------------------------------
   Status                                   : Not Installed

----------------------------------------------------------------------
Logical device information
----------------------------------------------------------------------
Logical device number 0
   Logical device name                      : raid6
   RAID level                               : 6 Reed-Solomon
   Status of logical device                 : Suboptimal, Fault Tolerant
   Size                                     : 12393462 MB
   Stripe-unit size                         : 64 KB
   Read-cache mode                          : Enabled
   MaxCache preferred read cache setting    : Disabled
   MaxCache read cache setting              : Disabled
   Write-cache mode                         : Disabled (write-through)
   Write-cache setting                      : Disabled (write-through)
   Partitioned                              : Yes
   Protected by Hot-Spare                   : No
   Bootable                                 : Yes
   Failed stripes                           : No
   Power settings                           : Disabled
   --------------------------------------------------------
   Logical device segment information
   --------------------------------------------------------
... skip ...
Command completed successfully.




просмотр events/логов
arcconf getlogs 1 DEVICE
arcconf getlogs 1 DEAD
arcconf getlogs 1 EVENT



./arcconf getlogs 1 DEVICE
Controllers found: 1
<ControllerLog controllerID="0" type="0" time="1373001446" version="3" tableFull="false">
    <driveErrorEntry smartError="false" vendorID="Hitachi " serialNumber="JP2921HQ1M6TBA" wwn="0000000000000000" deviceID="11" productID="HDS72101" numParityErrors="0" linkFailures="0" hwErrors="0" abortedCmds="1" mediumErrors="37" smartWarning="0" />
    <driveErrorEntry smartError="false" vendorID="Hitachi " serialNumber="JP2921HQ1M0A8A" wwn="0000000000000000" deviceID="13" productID="HDS72101" numParityErrors="0" linkFailures="0" hwErrors="0" abortedCmds="3" mediumErrors="39" smartWarning="0" />
    <driveErrorEntry smartError="false" vendorID="LSILOGIC" serialNumber="" wwn="500304800003ad7f" deviceID="0" productID="SASX28 A" numParityErrors="0" linkFailures="0" hwErrors="0" abortedCmds="16" mediumErrors="0" smartWarning="0" />
</ControllerLog>


Command completed successfully.

время. ох уж это каварство
perl -e 'print scalar(localtime(1234883784))'


пробуем сделаеть ему verify.
root@backup:~/asm_linux_x64_v7_31_18856/cmdline# ./arcconf getstatus 1
Controllers found: 1
Logical device Task:
   Logical device                 : 0
   Task ID                        : 100
   Current operation              : Rebuild
   Status                         : In Progress
   Priority                       : High
   Percentage complete            : 14


Command completed successfully.


после добавления нового диска делаем
./arcconf rescan


запуск arcconf будет вывод список всех комманд утилитки

0 комментариев

Только зарегистрированные и авторизованные пользователи могут оставлять комментарии.