HP Proliant Raid: различия между версиями

Материал из noname.com.ua
Перейти к навигацииПерейти к поиску
Строка 158: Строка 158:
 
</PRE>
 
</PRE>
   
  +
==Управление кэшированием==
==2==
 
  +
<PRE>
  +
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
  +
</PRE>
  +
<PRE>
  +
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)
  +
</PRE>
  +
 
==2==
 
==2==
 
==2==
 
==2==

Версия 11:16, 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 = ch
  • controller = ctrl
  • logicaldrive = ld
  • physicaldrive = pd
  • drivewritecache = 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)

2

2

2

2

2

2