HP Proliant Raid: различия между версиями
Материал из noname.com.ua
Перейти к навигацииПерейти к поискуSirmax (обсуждение | вклад) (→2) |
Sirmax (обсуждение | вклад) (→2) |
||
| Строка 191: | Строка 191: | ||
В моем случае ни к чему не привело - диск нашелся сам по себе |
В моем случае ни к чему не привело - диск нашелся сам по себе |
||
| + | ==Просмотр информации по отдельному диску == |
||
| − | ==2== |
||
| + | <PRE> |
||
| + | hpacucli ctrl slot=1 pd 2I:1:3 show detail |
||
| + | </PRE> |
||
| + | <PRE> |
||
| + | Smart Array P410 in Slot 1 |
||
| + | |||
| + | unassigned |
||
| + | |||
| + | physicaldrive 2I:1:3 |
||
| + | Port: 2I |
||
| + | Box: 1 |
||
| + | Bay: 3 |
||
| + | Status: OK |
||
| + | Drive Type: Unassigned Drive |
||
| + | Interface Type: SAS |
||
| + | Size: 300 GB |
||
| + | Rotational Speed: 10000 |
||
| + | Firmware Revision: HPD7 |
||
| + | Serial Number: 6XP5CLK80000B335CPL7 |
||
| + | Model: HP EG0300FBLSE |
||
| + | PHY Count: 2 |
||
| + | PHY Transfer Rate: 6.0Gbps, Unknown |
||
| + | </PRE> |
||
| + | |||
| + | Во многих примерах приводят <code>pd 2:3 </code> (2-х значный адрес) вместо <code>pd 2I:1:3</code> (3-х значный), возможно связано с версией контроллера или утилит. |
||
| + | <BR> |
||
| + | Сам адрес диска, если он не известен можно посмотреть в <code> hpacucli ctrl all show config detail </code> |
||
| + | <PRE> |
||
| + | physicaldrive 2I:1:3 |
||
| + | Port: 2I |
||
| + | Box: 1 |
||
| + | Bay: 3 |
||
| + | </PRE> |
||
| + | |||
==2== |
==2== |
||
==2== |
==2== |
||
Версия 10:32, 4 сентября 2023
Raid на серверах HP
DL180 G6
lspci | grep -i raid 09:00.0 RAID bus controller: Hewlett-Packard Company Smart Array G6 controllers (rev 01)
Утилиты
(я доставал файлы так как в пакете сломаны зависимости)
Сокращения, которые можно использовать в командах
chassisname=chcontroller=ctrllogicaldrive=ldphysicaldrive=pddrivewritecache=dwc
Просмотр конфигурации
hpacucli ctrl all show config
Smart Array P410 in Slot 1 (sn: PACCR9SYRIHU )
unassigned
physicaldrive 2I:1:3 (port 2I:box 1:bay 3, SAS, 300 GB, OK)
SEP (Vendor ID PMCSIERA, Model SRC 8x6G) 250 (WWID: 5001438006116C2F)
Тут в примере - один диск который включен но никак не настроен
Более детально:
Статус контроллера
hpacucli ctrl all show status Smart Array P410 in Slot 1 Controller Status: OK Cache Status: Not Configured
Управление кэшированием
hpacucli ctrl slot=1 modify dwc=disable
Error: This operation is not supported with the current configuration. Use the
"show" command on devices to show additional details about the
configuration.
Reason: Controller not configured
hpacucli ctrl slot=1 modify dwc=enable
Warning: Without the proper safety precautions, use of write cache on physical
drives could cause data loss in the event of power failure. To ensure
data is properly protected, use redundant power supplies and
Uninterruptible Power Supplies. Also, if you have multiple storage
enclosures, all data should be mirrored across them. Use of this
feature is not recommended unless these precautions are followed.
Continue? (y/n)
У меня не включился, думаю из-за
Battery/Capacitor Count: 0
Пересканировать устройства
Пересканировать устройства, добавленные с момента последнего сканирования
hpacucli rescandetects newly added devices since the last rescan
В моем случае ни к чему не привело - диск нашелся сам по себе
Просмотр информации по отдельному диску
hpacucli ctrl slot=1 pd 2I:1:3 show detail
Smart Array P410 in Slot 1
unassigned
physicaldrive 2I:1:3
Port: 2I
Box: 1
Bay: 3
Status: OK
Drive Type: Unassigned Drive
Interface Type: SAS
Size: 300 GB
Rotational Speed: 10000
Firmware Revision: HPD7
Serial Number: 6XP5CLK80000B335CPL7
Model: HP EG0300FBLSE
PHY Count: 2
PHY Transfer Rate: 6.0Gbps, Unknown
Во многих примерах приводят pd 2:3 (2-х значный адрес) вместо pd 2I:1:3 (3-х значный), возможно связано с версией контроллера или утилит.
Сам адрес диска, если он не известен можно посмотреть в hpacucli ctrl all show config detail
physicaldrive 2I:1:3
Port: 2I
Box: 1
Bay: 3