1

Тема: Хорошая утилита для AACD RAID Adaptec

Понадобился менеджер просмотра состояния RAID.
Установлен Adaptec 2420SA
После не долгих поисков, попалась утилитка arcconf ...

# cd /usr/ports/sysutils/arcconf
# make install clean
=> asm_freebsd_x64_v7_30_18837.tgz doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch http://download.adaptec.com/raid/storage_manager/asm_freebsd_x64_v7_30_18837.tgz
asm_freebsd_x64_v7_30_18837.tgz               100% of   96 MB 3882 kBps 00m00s
===>  Extracting for arcconf-v7.30.18837
=> SHA256 Checksum OK for asm_freebsd_x64_v7_30_18837.tgz.
===>  Patching for arcconf-v7.30.18837
===>  Configuring for arcconf-v7.30.18837
===>  Installing for arcconf-v7.30.18837
===>   Generating temporary packing list
===>  Checking if sysutils/arcconf already installed
install  -s -o root -g wheel -m 555 /usr/ports/sysutils/arcconf/work/freebsd7/cmdline/arcconf /usr/local/sbin
install  -o root -g wheel -m 555 /usr/ports/sysutils/arcconf/work/410.status-aac-raid /usr/local/etc/periodic/daily
===>   Registering installation for arcconf-v7.30.18837
===>  Cleaning for arcconf-v7.30.18837
# rehash
# arcconf getconfig 1
Controllers found: 1
----------------------------------------------------------------------
Controller information
----------------------------------------------------------------------
   Controller Status                        : Optimal
   Channel description                      : SATA
   Controller Model                         : Adaptec 2420SA
   Controller Serial Number                 : CB7BAF
   Physical Slot                            : 5
   Installed memory                         : 128 MB
   Copyback                                 : Disabled
   Background consistency check             : Disabled
   Automatic Failover                       : Enabled
   Stayawake period                         : Disabled
   Spinup limit internal drives             : 0
   Spinup limit external drives             : 0
   Defunct disk drive count                 : 0
   Logical devices/Failed/Degraded          : 1/0/0
   --------------------------------------------------------
   Controller Version Information
   --------------------------------------------------------
   BIOS                                     : 5.2-0 (15611)
   Firmware                                 : 5.2-0 (15611)
   Driver                                   : 2.1-9 (1)
   Boot Flash                               : 5.2-0 (15611)
   --------------------------------------------------------
   Controller Battery Information
   --------------------------------------------------------
   Status                                   : Not Installed
----------------------------------------------------------------------
Logical device information
----------------------------------------------------------------------
Logical device number 0
   Logical device name                      : AR1
   RAID level                               : 1
   Status of logical device                 : Optimal
   Size                                     : 476160 MB
   Read-cache mode                          : Enabled
   Write-cache mode                         : Disabled (write-through)
   Write-cache setting                      : Enabled (write-back)
   Partitioned                              : Yes
   Protected by Hot-Spare                   : No
   Bootable                                 : Yes
   Failed stripes                           : No
   Power settings                           : Disabled
   --------------------------------------------------------
   Logical device segment information
   --------------------------------------------------------
   Segment 0                                : Present (Controller:1,Channel:0,Device:0)      WD-WMAYP2596886
   Segment 1                                : Present (Controller:1,Channel:0,Device:1) ????????
----------------------------------------------------------------------
Physical Device information
----------------------------------------------------------------------
   Channel #0:
      Transfer Speed                        : SATA 3.0 Gb/s
      Device #0
         Device is a Hard drive
         State                              : Online
         Supported                          : Yes
         Transfer Speed                     : SATA 3.0 Gb/s
         Reported Channel,Device(T:L)       : 0,0(0:0)
         Vendor                             : WDC WD50
         Model                              : 03ABYX-01WERA1
         Firmware                           : 01.0
         Serial number                      : WD-WMAYP2596886
         Size                               : 476940 MB
         Write Cache                        : Enabled (write-back)
         FRU                                : None
         S.M.A.R.T.                         : No
         S.M.A.R.T. warnings                : 0
         NCQ status                         : Disabled
      Device #1
         Device is a Hard drive
         State                              : Hot Spare
         Dedicated Spare for                : logical device 0
         Supported                          : Yes
         Transfer Speed                     : SATA 3.0 Gb/s
         Reported Channel,Device(T:L)       : 0,1(1:0)
         Vendor                             : WDC WD50
         Model                              : 03ABYX-01WERA0
         Firmware                           : 01.0
         Serial number                      : ????????
         Size                               : 476940 MB
         Write Cache                        : Enabled (write-back)
         FRU                                : None
         S.M.A.R.T.                         : No
         S.M.A.R.T. warnings                : 0
         NCQ status                         : Disabled
Command completed successfully.
#

Полагаю проблема исчерпана. Красивый вывод, все понятно и четко.
Мне пригодилась!

2

Re: Хорошая утилита для AACD RAID Adaptec

И еще там даже есть инструменты...

# arcconf
  | UCLI |  Adaptec by PMC uniform command line interface
  | UCLI |  Version 7.30 (B18837)
  | UCLI |  (C) Adaptec by PMC 2003-2011
  | UCLI |  All Rights Reserved
 ATAPASSWORD             | Setting password on a physical drive
 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 automatic failover mode
 GETCONFIG               | prints controller information
 GETLOGS                 | gets controller log information
 GETSMARTSTATS           | gets the SMART statistics
 GETSTATUS               | displays the status of running tasks
 GETVERSION              | prints version information for all controllers
 IDENTIFY                | blinks LEDS on device(s) connected to a controller
 IMAGEUPDATE             | update physical device firmware
 KEY                     | installs a Feature Key onto a controller
 MODIFY                  | performs RAID Level Migration or Online Capacity Expansion
 RESCAN                  | checks for new or removed drives
 RESETSTATISTICSCOUNTERS | resets the controller statistics counters
 ROMUPDATE               | updates controller firmware
 SAVESUPPORTARCHIVE      | saves the support archive
 SETALARM                | controls the controller alarm, if present
 SETCACHE                | adjusts physical or logical device cache mode
 SETCONFIG               | restores the default configuration
 SETMAXCACHE             | adjusts MaxCache settings for physical or logical device
 SETNAME                 | renames a logical device given its logical device number
 SETNCQ                  | toggles the controller NCQ status
 SETPERFORM              | changes adapter settings based on application
 SETPOWER                | power settings for controller or logical device
 SETPRIORITY             | changes specific or global task priority
 SETSTATE                | manually sets the state of a physical or logical device
 SETSTATSDATACOLLECTION  | toggles the controller statistics data collection modes
 TASK                    | performs a task such as build/verify on a physical or logical device

Пока не пробовал. Машина боевая...

3

Re: Хорошая утилита для AACD RAID Adaptec

Нужно ехать менять диск №1

# arcconf GETCONFIG 1
Controllers found: 1
----------------------------------------------------------------------
Controller information
----------------------------------------------------------------------
   Controller Status                        : Optimal
   Channel description                      : SATA
   Controller Model                         : Adaptec 2420SA
   Controller Serial Number                 : CB7BAF
   Physical Slot                            : 5
   Installed memory                         : 128 MB
   Copyback                                 : Disabled
   Background consistency check             : Enabled
   Automatic Failover                       : Enabled
   Stayawake period                         : Disabled
   Spinup limit internal drives             : 0
   Spinup limit external drives             : 0
   Defunct disk drive count                 : 1
   Logical devices/Failed/Degraded          : 1/0/1
   --------------------------------------------------------
   Controller Version Information
   --------------------------------------------------------
   BIOS                                     : 5.2-0 (15611)
   Firmware                                 : 5.2-0 (15611)
   Driver                                   : 2.1-9 (1)
   Boot Flash                               : 5.2-0 (15611)
   --------------------------------------------------------
   Controller Battery Information
   --------------------------------------------------------
   Status                                   : Not Installed
----------------------------------------------------------------------
Logical device information
----------------------------------------------------------------------
Logical device number 1
   Logical device name                      : AR1
   RAID level                               : 1
   Status of logical device                 : Degraded
   Size                                     : 476160 MB
   Read-cache mode                          : Enabled
   Write-cache mode                         : Disabled (write-through)
   Write-cache setting                      : Enabled (write-back)
   Partitioned                              : Yes
   Protected by Hot-Spare                   : No
   Bootable                                 : Yes
   Failed stripes                           : No
   Power settings                           : Disabled
   --------------------------------------------------------
   Logical device segment information
   --------------------------------------------------------
   Segment 0                                : Present (Controller:1,Channel:0,Device:0)      WD-WMAYP2596886
   Segment 1                                : Missing
----------------------------------------------------------------------
Physical Device information
----------------------------------------------------------------------
   Channel #0:
      Transfer Speed                        : SATA 3.0 Gb/s
      Device #0
         Device is a Hard drive
         State                              : Online
         Supported                          : Yes
         Transfer Speed                     : SATA 3.0 Gb/s
         Reported Channel,Device(T:L)       : 0,0(0:0)
         Vendor                             : WDC WD50
         Model                              : 03ABYX-01WERA1
         Firmware                           : 01.0
         Serial number                      : WD-WMAYP2596886
         Size                               : 476940 MB
         Write Cache                        : Enabled (write-back)
         FRU                                : None
         S.M.A.R.T.                         : No
         S.M.A.R.T. warnings                : 0
         NCQ status                         : Disabled
      Device #1
         Device is a Hard drive
         State                              : Failed
         Failed logical device segments     : True
         Supported                          : Yes
         Transfer Speed                     : Failed
         Reported Channel,Device(T:L)       : 0,1(1:0)
         Vendor                             : WDC WD50
         Model                              : 03ABYX-01WERA1
         Firmware                           : 01.0
         Serial number                      : WD-WMAYP2481013
         Size                               : 0 MB
         Write Cache                        : Unknown
         FRU                                : None
         S.M.A.R.T.                         : Yes
         S.M.A.R.T. warnings                : 6268
         NCQ status                         : Disabled
Command completed successfully.