Категория “Администрирование” Какие диски в MegaRAID?Чтобы узнать какие жесткие диски собраны в RAID-контроллере нам понадобится программа MegaCLI.
Скачаем ее и распакуем:
wget http://www.lsi.com/sep/Documents/oracle/files/Linux_MegaCli_8.02.21.zip
unzip Linux_MegaCli_8.02.21.zip
unzip MegaCliLin.zip
Установим rpm-ки:
rpm -ivh MegaCli-8.02.21-1.noarch.rpm Lib_Utils-1.00-09.noarch.rpm
Сделаем символьные ссылки в /usr/bin для MegaCLI:
ln -s /opt/MegaRAID/MegaCli/MegaCli64 /usr/bin/MegaCli
Проверим работу MegaCLI:
MegaCli -v
MegaCLI SAS RAID Management Tool Ver 8.02.21 Oct 21, 2011
(c)Copyright 2011, LSI Corporation, All Rights Reserved.
Exit Code: 0x00
Получаем список всех дисков в Hardware RAID с помощью команды:
MegaCli -pdlist -aALL -NoLog
Adapter #0
Enclosure Device ID: 32
Slot Number: 0
Drive's postion: DiskGroup: 0, Span: 0, Arm: 0
Enclosure position: 0
Device Id: 0
WWN: 5000C50042BB03B0
Sequence Number: 2
Media Error Count: 0
Other Error Count: 0
Predictive Failure Count: 0
Last Predictive Failure Event Seq Number: 0
PD Type: SAS
Raw Size: 279.396 GB [0x22ecb25c Sectors]
Non Coerced Size: 278.896 GB [0x22dcb25c Sectors]
Coerced Size: 278.875 GB [0x22dc0000 Sectors]
Firmware state: Online, Spun Up
Device Firmware Level: 0008
Shield Counter: 0
Successful diagnostics completion on : N/A
SAS Address(0): 0x5000c50042bb03b1
SAS Address(1): 0x0
Connected Port Number: 0(path0)
Inquiry Data: SEAGATE ST3300657SS 00086SJ389PB
FDE Enable: Disable
Secured: Unsecured
Locked: Unlocked
Needs EKM Attention: No
Foreign State: None
Device Speed: 6.0Gb/s
Link Speed: 6.0Gb/s
Media Type: Hard Disk Device
Drive: Not Certified
Drive Temperature :38C (100.40 F)
PI Eligibility: No
Drive is formatted for PI information: No
PI: No PI
Drive's write cache : Disabled
Port-0 :
Port status: Active
Port's Linkspeed: 6.0Gb/s
Port-1 :
Port status: Active
Port's Linkspeed: Unknown
Drive has flagged a S.M.A.R.T alert : No
Thursday, 21 August 2014, 19:23Прочитано 40 раз Ссылка на страницу:
comments powered by
|