вторник, 11 апреля 2017 г.

Настройка RAID массивов на контроллере Adaptec через пакет arcconf

Описана настройка RAID массивов на контроллере Adaptec из консоли через arcconf
Где взять пакет arcconf
Пример как найти

Вывод всей конфигурации (по контроллеру с номером 1)
arcconf getconfig 1

Вывод конфигурации - Физические Диски
arcconf getconfig 1 PD
arcconf getconfig 1 PD |grep -E "Device|Channel|Vendor|Model|Total|SSD"
Physical Device information
      Device #0
         Device is a Hard drive
         Reported Channel,Device(T:L)       : 0,4(4:0)
         Reported Location                  : Connector 1, Device 0
         Vendor                             :
         Model                              : KINGSTON SV300S3
         Total Size                         : 57241 MB
         SSD                                : Yes
      Device #1
         Device is a Hard drive
         Reported Channel,Device(T:L)       : 0,5(5:0)
         Reported Location                  : Connector 1, Device 1
         Vendor                             :
         Model                              : KINGSTON SV300S3
         Total Size                         : 57241 MB
         SSD                                : Yes
      Device #2
         Device is a Hard drive
         Reported Channel,Device(T:L)       : 0,8(8:0)
         Vendor                             :
         Model                              : TOSHIBA THNSNJ51
         Total Size                         : 488386 MB
         SSD                                : Yes
      Device #3
         Device is a Hard drive
         Reported Channel,Device(T:L)       : 0,9(9:0)
         Vendor                             : HITACHI
         Model                              : HUS156060VLS600
         Total Size                         : 572325 MB
         SSD                                : No
      Device #4
         Device is a Hard drive
         Reported Channel,Device(T:L)       : 0,10(10:0)
         Vendor                             : HITACHI
         Model                              : HUS156060VLS600
         Total Size                         : 572325 MB
         SSD                                : No
      Device #5
         Device is a Hard drive
         Reported Channel,Device(T:L)       : 0,11(11:0)
         Vendor                             : HITACHI
         Model                              : HUS156060VLS600
         Total Size                         : 572325 MB
         SSD                                : No
      Device #6
         Device is a Hard drive
         Reported Channel,Device(T:L)       : 0,12(12:0)
         Vendor                             :
         Model                              : TOSHIBA THNSNJ51
         Total Size                         : 488386 MB
         SSD                                : Yes
      Device #7
         Device is a Hard drive
         Reported Channel,Device(T:L)       : 0,13(13:0)
         Vendor                             : HITACHI
         Model                              : HUS156060VLS600
         Total Size                         : 572325 MB
         SSD                                : No
      Device #8
         Device is a Hard drive
         Reported Channel,Device(T:L)       : 0,14(14:0)
         Vendor                             : HITACHI
         Model                              : HUS156060VLS600
         Total Size                         : 572325 MB
         SSD                                : No
      Device #9
         Device is a Hard drive
         Reported Channel,Device(T:L)       : 0,15(15:0)
         Vendor                             : HITACHI
         Model                              : HUS156060VLS600
         Total Size                         : 572325 MB
         SSD                                : No
      Device #10
         Device is a Hard drive
         Reported Channel,Device(T:L)       : 0,16(16:0)
         Vendor                             :
         Model                              : TOSHIBA THNSNJ51
         Total Size                         : 488386 MB
         SSD                                : Yes
      Device #11
         Device is a Hard drive
         Reported Channel,Device(T:L)       : 0,17(17:0)
         Vendor                             : HITACHI
         Model                              : HUS156060VLS600
         Total Size                         : 572325 MB
         SSD                                : No
      Device #12
         Device is a Hard drive
         Reported Channel,Device(T:L)       : 0,18(18:0)
         Vendor                             : HITACHI
         Model                              : HUS156060VLS600
         Total Size                         : 572325 MB
         SSD                                : No
      Device #13
         Device is a Hard drive
         Reported Channel,Device(T:L)       : 0,19(19:0)
         Vendor                             : HITACHI
         Model                              : HUS156060VLS600
         Total Size                         : 572325 MB
         SSD                                : No
      Device #14
         Device is a Hard drive
         Reported Channel,Device(T:L)       : 0,20(20:0)
         Vendor                             :
         Model                              : TOSHIBA THNSNJ51
         Total Size                         : 488386 MB
         SSD                                : Yes
      Device #15
         Device is a Hard drive
         Reported Channel,Device(T:L)       : 0,21(21:0)
         Vendor                             : HITACHI
         Model                              : HUS156060VLS600
         Total Size                         : 572325 MB
         SSD                                : No
      Device #16
         Device is a Hard drive
         Reported Channel,Device(T:L)       : 0,22(22:0)
         Vendor                             : HITACHI
         Model                              : HUS156060VLS600
         Total Size                         : 572325 MB
         SSD                                : No
      Device #17
         Device is a Hard drive
         Reported Channel,Device(T:L)       : 0,23(23:0)
         Vendor                             : HITACHI
         Model                              : HUS156060VLS600
         Total Size                         : 572325 MB
         SSD                                : No
      Device #18
         Device is an Enclosure services device
         Reported Channel,Device(T:L)       : 2,0(0:0)
         Vendor                             : LSILOGIC
         Model                              : SASX28 A.1

Вывод конфигурации - Логически Диски (RAID массивы)
arcconf getconfig 1 LD
arcconf getconfig 1 LD |grep -E "number|name|RAID|Read-cache"
Logical device number 0
   Logical device name                      : SYSTEM
   RAID level                               : 1
   Read-cache setting                       : Enabled
   Read-cache status                        : On
Logical device number 1
   Logical device name                      : SSD1TB
   RAID level                               : 10
   Read-cache setting                       : Disabled
   Read-cache status                        : Off
Logical device number 2
   Logical device name                      : SAS3,6T
   RAID level                               : 10
   Read-cache setting                       : Enabled
   Read-cache status                        : On

Создание RAID массивов

arcconf CREATE 1 LOGICALDRIVE NAME SAS3,6T Rcache RON Wcache WBB MAX 10 0 9 0 10 0 11 0 13 0 14 0 15 0 17 0 18 0 19 0 21 0 22 0 23

CREATE 1 - создать на контроллере 1
NAME SAS3,6T - имя массива
Rcache RON - кэш на чтение - включена
Wcache WBB - кэш на запись - включена
MAX  - использовать всё имеющееся пространство
10 - RAID10

0 9 0 10 0 11 0 13 0 14 0 15 0 17 0 18 0 19 0 21 0 22 0 23 - какие диски добавить в массив.
Берётся всё это вот откуда
У каждого диска есть следующие данные
Device #17
         Device is a Hard drive
         Reported Channel,Device(T:L)       : 0,23(23:0)
         Vendor                             : HITACHI
Собственно вы таким образом узнаёте по каждому диски Channel и Device номера и прописываете их с пробелами в строке создания массива

Комментариев нет:

Отправить комментарий