Назад | Перейти на главную страницу

Adaptec 5405 не восстанавливает массив для измененных дисков

У меня была конфигурация RAID 10 с 4 дисками (как 2 логических массива) на одном из моих серверов, и я заметил, что сервер не работает. Когда я его перезагружаю, одного диска не хватало.

Поговорили с центром обработки данных, и они заменили неисправный диск, потому что он был полностью мертв. Я надеялся, что карта RAID примет диск и автоматически восстановит массив, но этого не произошло. Проверено, если функция автоматического переключения при отказе была включена, и уже пыталась инициализировать диск, но все равно не повезло.

Я не уверен, что делаю что-то не так, поэтому мне нужен совет. Что происходит и как я могу проверить, проблема с массивом RAID или с диском. Теперь я не могу перестроить массив ни с помощью Adaptec Card Utility, ни с помощью инструмента arrconf.

перед

root@rescue ~ # arcconf GETCONFIG 1 LD
Controllers found: 1
----------------------------------------------------------------------
Logical device information
----------------------------------------------------------------------
Logical device number 0
    Logical device name                      : ESXi
    RAID level                               : 10
    Status of logical device                 : Failed
    Size                                     : 1494016 MB
    Stripe-unit size                         : 256 KB
    Read-cache mode                          : Enabled
    MaxCache preferred read cache setting    : Disabled
    MaxCache read cache setting              : Disabled
    Write-cache mode                         : Disabled (write-through)
    Write-cache setting                      : Disabled (write-through)
    Partitioned                              : Unknown
    Protected by Hot-Spare                   : No
    Bootable                                 : Yes
    Failed stripes                           : No
    Power settings                           : Disabled
    --------------------------------------------------------
    Logical device segment information
    --------------------------------------------------------
    Group 0, Segment 0                       : Missing
    Group 0, Segment 1                       : Present (Controller:1,Connector:0,Device:0)             9VS4DAWW
    Group 1, Segment 0                       : Present (Controller:1,Connector:0,Device:2)             9VS4C646
    Group 1, Segment 1                       : Present (Controller:1,Connector:0,Device:3)             9VS4C6Z6

Logical device number 1
    Logical device name                      :
    RAID level                               : 10
    Status of logical device                 : Failed
    Size                                     : 1362942 MB
    Stripe-unit size                         : 256 KB
    Read-cache mode                          : Enabled
    MaxCache preferred read cache setting    : Disabled
    MaxCache read cache setting              : Disabled
    Write-cache mode                         : Disabled (write-through)
    Write-cache setting                      : Disabled (write-through)
    Partitioned                              : Unknown
    Protected by Hot-Spare                   : No
    Bootable                                 : No
    Failed stripes                           : No
    Power settings                           : Disabled
    --------------------------------------------------------
    Logical device segment information
    --------------------------------------------------------
    Group 0, Segment 0                       : Missing
    Group 0, Segment 1                       : Present (Controller:1,Connector:0,Device:0)             9VS4DAWW
    Group 1, Segment 0                       : Present (Controller:1,Connector:0,Device:2)             9VS4C646
    Group 1, Segment 1                       : Present (Controller:1,Connector:0,Device:3)             9VS4C6Z6


    root@rescue ~ # arcconf GETCONFIG 1 PD
Controllers found: 1
----------------------------------------------------------------------
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                             :
        Model                              : ST31500341AS
        Firmware                           : CC1H
        Serial number                      : 9VS4DAWW
        Size                               : 1430799 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
        MaxCache Capable                   : No
        MaxCache 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,2(2:0)
        Reported Location                  : Connector 0, Device 2
        Vendor                             :
        Model                              : ST31500341AS
        Firmware                           : CC1H
        Serial number                      : 9VS4C646
        Size                               : 1430799 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
        MaxCache Capable                   : No
        MaxCache 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,3(3:0)
        Reported Location                  : Connector 0, Device 3
        Vendor                             :
        Model                              : ST31500341AS
        Firmware                           : CC1H
        Serial number                      : 9VS4C6Z6
        Size                               : 1430799 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
        MaxCache Capable                   : No
        MaxCache Assigned                  : No
        NCQ status                         : Enabled

после (исправлено, вставьте не тот перед)

root@rescue ~ # arcconf GETCONFIG 1 LD
Controllers found: 1
----------------------------------------------------------------------
Logical device information
----------------------------------------------------------------------
Logical device number 0
    Logical device name                      : ESXi
    RAID level                               : 10
    Status of logical device                 : Failed
    Size                                     : 1494016 MB
    Stripe-unit size                         : 256 KB
    Read-cache mode                          : Enabled
    MaxCache preferred read cache setting    : Disabled
    MaxCache read cache setting              : Disabled
    Write-cache mode                         : Disabled (write-through)
    Write-cache setting                      : Disabled (write-through)
    Partitioned                              : Unknown
    Protected by Hot-Spare                   : No
    Bootable                                 : Yes
    Failed stripes                           : No
    Power settings                           : Disabled
    --------------------------------------------------------
    Logical device segment information
    --------------------------------------------------------
    Group 0, Segment 0                       : Missing
    Group 0, Segment 1                       : Present (Controller:1,Connector:0,Device:0)             9VS4DAWW
    Group 1, Segment 0                       : Present (Controller:1,Connector:0,Device:2)             9VS4C646
    Group 1, Segment 1                       : Present (Controller:1,Connector:0,Device:3)             9VS4C6Z6

Logical device number 1
    Logical device name                      :
    RAID level                               : 10
    Status of logical device                 : Failed
    Size                                     : 1362942 MB
    Stripe-unit size                         : 256 KB
    Read-cache mode                          : Enabled
    MaxCache preferred read cache setting    : Disabled
    MaxCache read cache setting              : Disabled
    Write-cache mode                         : Disabled (write-through)
    Write-cache setting                      : Disabled (write-through)
    Partitioned                              : Unknown
    Protected by Hot-Spare                   : No
    Bootable                                 : No
    Failed stripes                           : No
    Power settings                           : Disabled
    --------------------------------------------------------
    Logical device segment information
    --------------------------------------------------------
    Group 0, Segment 0                       : Missing
    Group 0, Segment 1                       : Present (Controller:1,Connector:0,Device:0)             9VS4DAWW
    Group 1, Segment 0                       : Present (Controller:1,Connector:0,Device:2)             9VS4C646
    Group 1, Segment 1                       : Present (Controller:1,Connector:0,Device:3)             9VS4C6Z6



Command completed successfully.
root@rescue ~ # arcconf GETCONFIG 1 PD
Controllers found: 1
----------------------------------------------------------------------
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                             :
            Model                              : ST31500341AS
            Firmware                           : CC1H
            Serial number                      : 9VS4DAWW
            Size                               : 1430799 MB
            Write Cache                        : Enabled (write-back)
            FRU                                : None
            S.M.A.R.T.                         : Yes
            S.M.A.R.T. warnings                : 3
            Power State                        : Full rpm
            Supported Power States             : Full rpm,Powered off
            SSD                                : No
            MaxCache Capable                   : No
            MaxCache Assigned                  : No
            NCQ status                         : Enabled
        Device #1
            Device is a Hard drive
            State                              : Ready
            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                             :
            Model                              : SAMSUNG HD154UI
            Firmware                           : 1AG01118
            Serial number                      : S1Y6J90B202833
            Size                               : 1430799 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,Reduced rpm
            SSD                                : No
            MaxCache Capable                   : No
            MaxCache 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                             :
            Model                              : ST31500341AS
            Firmware                           : CC1H
            Serial number                      : 9VS4C646
            Size                               : 1430799 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
            MaxCache Capable                   : No
            MaxCache 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                             :
            Model                              : ST31500341AS
            Firmware                           : CC1H
            Serial number                      : 9VS4C6Z6
            Size                               : 1430799 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
            MaxCache Capable                   : No
            MaxCache Assigned                  : No
            NCQ status                         : Enabled


Command completed successfully.
root@rescue ~ #

Не особо знаком с Adaptec, но с большинством RAID-контроллеров только диск, обозначенный как «горячий» резерв, автоматически используется для восстановления массива после сбоя одного из активных дисков.

Замена вышедшего из строя диска новым обычно не приводит к автоматическому восстановлению массива. Для этого требуется ввод администратора.

Быстрый взгляд на руководство указывает, что вам нужно сделать что-то вроде:

                  -------  Controller # 
                 |  -----  Channel #  : from reported location
                 | |  ---  Device #   : from reported location
                 | | |  -  set status : RBL for rebuild
                 | | | |
 HRCONF SETSTATE 1 0 1 RBL