Инструмент arcconf используется для управления контроллером на интерфейсе командной строки, его используют, чтобы проверить состояние Adaptec RAID в сервере Linux из командной строки. В этом теме я покажу вам, как можно узнать статус Adaptec RAID с помощью команды arcconf.
Для начала войдите как рут и введите эти следующие команды:
wget https://download.adaptec.com/raid/storage_manager/asm_linux_x64_v6_50_18579.tgz
tar -zxf asm_linux_x64_v6_50_18579.tgz
rm -f asm_linux_x64_v6_50_18579.tgz
cd cmdline/
chmod +x arcconf
Если у Вас выдаст ошибку, когда вы хотели запустить arcconf:
./arcconf: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory (. / arcconf: ошибка при загрузке разделяемых библиотек:. libstdc + + so.5: невозможно открыть файл объекта: Нет такого файла или каталога).
Введите следующую команду, чтобы исправить это:
yum -y install compat-libstdc++-33
Далее, просматривать и изменять другую программу использования конфигурации RAID arcconf, чтобы посмотреть состояние RAID. Просто, войдите из под root и выполните эту команду:
./arcconf GETCONFIG 1
Controllers found: 1
———————————————————————-
Controller information
———————————————————————-
Controller Status : Optimal
Channel description : SAS/SATA
Controller Model : Adaptec 5405
Controller Serial Number : 9D33112BCB8
Physical Slot : 16
Temperature : 61 C/ 141 F (Normal)
Installed memory : 256 MB
Copyback : Disabled
Background consistency check : Enabled
Automatic Failover : Enabled
Global task priority : Low
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/0
SSDs assigned to MaxIQ Cache pool : 0
Maximum SSDs allowed in MaxIQ Cache pool : 8
MaxIQ Read Cache Pool Size : 0.000 GB
MaxIQ cache fetch rate : 0
MaxIQ Cache Read, Write Balance Factor : 3,1
NCQ status : Enabled
Statistics data collection mode : Enabled
———————————————————
Controller Version Information
———————————————————
BIOS : 5.2-0 (18948)
Firmware : 5.2-0 (18948)
Driver : 1.1-7 (28000)
Boot Flash : 5.2-0 (18948)
———————————————————
Controller Battery Information
———————————————————
Status : Optimal
Over temperature : No
Capacity remaining : 99 percent
Time remaining (at current draw) : 3 days, 1 hours, 11 minutes———————————————————————-
Logical device information
———————————————————————-
Logical device number 0
Logical device name : hdd
RAID level : 10
Status of logical device : Optimal
Size : 952310 MB
Stripe-unit size : 256 KB
Read-cache mode : Enabled
MaxIQ preferred cache setting : Disabled
MaxIQ cache setting : Disabled
Write-cache mode : Enabled (write-back)
Write-cache setting : Enabled (write-back) when protected by battery/ZMM
Partitioned : Yes
Protected by Hot-Spare : No
Bootable : Yes
Failed stripes : No
Power settings : Enabled
Slow down after(Minutes) : never
Power off after(Minutes) : never
Verify after(Hours) : never
Power State : Active
———————————————————
Logical device segment information
———————————————————
Group 0, Segment 0 : Present (0,0) WD-WCAV93495056
Group 0, Segment 1 : Present (0,1) WD-WCAV93861502
Group 1, Segment 0 : Present (0,2) WD-WCAV93787216
Group 1, Segment 1 : Present (0,3) WD-WCAV92973866———————————————————————-
Physical Device information
———————————————————————-
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)
Reported Location : Connector 0, Device 0
Vendor : WDC
Model : WD5000AADS-0
Firmware : 01.00A01
Serial number : WD-WCAV93495056
Size : 476940 MB
Write Cache : Enabled (write-back)
FRU : None
S.M.A.R.T. : No
S.M.A.R.T. warnings : 0
Power State : Full rpm
Supported Power States : Full rpm,Powered off
SSD : No
MaxIQ Cache Capable : No
MaxIQ Cache Assigned : No
NCQ status : Enabled
Device #1
Device is a Hard drive
State : Online
Supported : Yes
Transfer Speed : SATA 3.0 Gb/s
Reported Channel,Device(T:L) : 0,1(1:0)
Reported Location : Connector 0, Device 1
Vendor : WDC
Model : WD5000AADS-0
Firmware : 01.00A01
Serial number : WD-WCAV93861502
Size : 476940 MB
Write Cache : Enabled (write-back)
FRU : None
S.M.A.R.T. : No
S.M.A.R.T. warnings : 0
Power State : Full rpm
Supported Power States : Full rpm,Powered off
SSD : No
MaxIQ Cache Capable : No
MaxIQ Cache Assigned : No
NCQ status : Enabled
Device #2
Device is a Hard drive
State : Online
Supported : Yes
Transfer Speed : SATA 3.0 Gb/s
Reported Channel,Device(T:L) : 0,2(2:0)
Reported Location : Connector 0, Device 2
Vendor : WDC
Model : WD5000AADS-0
Firmware : 01.00A01
Serial number : WD-WCAV93787216
Size : 476940 MB
Write Cache : Enabled (write-back)
FRU : None
S.M.A.R.T. : No
S.M.A.R.T. warnings : 0
Power State : Full rpm
Supported Power States : Full rpm,Powered off
SSD : No
MaxIQ Cache Capable : No
MaxIQ Cache Assigned : No
NCQ status : Enabled
Device #3
Device is a Hard drive
State : Online
Supported : Yes
Transfer Speed : SATA 3.0 Gb/s
Reported Channel,Device(T:L) : 0,3(3:0)
Reported Location : Connector 0, Device 3
Vendor : WDC
Model : WD5000AADS-0
Firmware : 01.00A01
Serial number : WD-WCAV92973866
Size : 476940 MB
Write Cache : Enabled (write-back)
FRU : None
S.M.A.R.T. : No
S.M.A.R.T. warnings : 0
Power State : Full rpm
Supported Power States : Full rpm,Powered off
SSD : No
MaxIQ Cache Capable : No
MaxIQ Cache Assigned : No
NCQ status : EnabledCommand completed successfully.