nexenta 및 hotswap sas 디스크. cfgadm이 제대로 작동하지 않습니다

nexenta 및 hotswap sas 디스크. cfgadm이 제대로 작동하지 않습니다

핫스왑 SAS 드라이브에 문제가 있습니다.

초기 데이터: Nexenta 4.0.2 서버 기반 Supermicro(MB S5520HC, 내부 RAID 컨트롤러 RMS2LL080/LSI 2008), 12 HDD SAS 300G 10 HDD SATA 1T, 2 SSD 160G.

디스크는 세 가지 풀로 나뉩니다.

  • 시스템 SAS 2x300 미러
  • SAS 드라이브의 "빠른" 어레이 10(9 + 1 예비)
  • "느린" SATA 어레이 10개 드라이브

어떤 시점에서 두 개의 SAS 드라이브가 고장났습니다.

NAME                         STATE     READ WRITE CKSUM
        sas                          DEGRADED     0     0     0
          raidz1-0                   DEGRADED     0     0     0
            c1t5000C50007DCF821d0    ONLINE       0     0     0
            c1t5000CCA0052FFDD5d0    ONLINE       0     0     0
            c1t5000CCA005349D15d0    ONLINE       0     0     0
            spare-3                  FAULTED      0     0     0
              c1t5000CCA00534D625d0  FAULTED      0     0     0  external device fault
              c1t5000CCA0053658B5d0  ONLINE       0     0     0
            c1t5000CCA00534F2D5d0    ONLINE       0     0     0
            c1t5000CCA00534F33Dd0    ONLINE       0     0     0
            c1t5000CCA00534F471d0    ONLINE       0     0     0
            c1t5000CCA0053571D1d0    ONLINE       0     0     0
            c1t5000CCA00535A3A5d0    ONLINE       0     0     0
        logs
          c0t500151795950C847d0      ONLINE       0     0     0
        spares
          c1t5000CCA0053658B5d0      INUSE     currently in use



  pool: syspool
 state: DEGRADED
status: One or more devices are faulted in response to persistent errors.
        Sufficient replicas exist for the pool to continue functioning in a
        degraded state.
action: Replace the faulted device, or use 'zpool clear' to mark the device
        repaired.
  scan: scrub repaired 0 in 0h3m with 0 errors on Sun Oct  4 03:03:56 2015
config:

        NAME                         STATE     READ WRITE CKSUM
        syspool                      DEGRADED     0     0     0
          mirror-0                   DEGRADED     0     0     0
            c1t5000C500072BB235d0s0  FAULTED      1    20     0  external device fault
            c1t5000C500072BE655d0s0  ONLINE       0     0     0

다음으로 각 디스크에 대해 교체 절차 zpool 오프라인/분리 및 cfgadm -c unconfigure를 수행합니다. 하나의 드라이브(이 경우 syspool)를 설치하면 로그에서 다음을 볼 수 있습니다.

Oct  9 18:28:43 nxstor genunix: [ID 408114 kern.info] /pci@0,0/pci8086,3a40@1c/pci8086,350e@0/iport@ff/disk@w5000c50007dcf7ed,0 (sd26) online
Oct  9 18:28:43 nxstor pcplusmp: [ID 805372 kern.info] pcplusmp: pci-ide (pci-ide) instance 0 irq 0x12 vector 0x41 ioapic 0x8 intin 0x12 is bound to cpu 14
Oct  9 18:28:43 nxstor pcplusmp: [ID 805372 kern.info] pcplusmp: pci-ide (pci-ide) instance 1 irq 0x15 vector 0x42 ioapic 0x8 intin 0x15 is bound to cpu 15
Oct  9 18:28:43 nxstor pcplusmp: [ID 805372 kern.info] pcplusmp: pci-ide (pci-ide) instance 0 irq 0x12 vector 0x41 ioapic 0x8 intin 0x12 is bound to cpu 0
Oct  9 18:28:43 nxstor pcplusmp: [ID 805372 kern.info] pcplusmp: pci-ide (pci-ide) instance 1 irq 0x15 vector 0x41 ioapic 0x8 intin 0x15 is bound to cpu 1
Oct  9 18:39:53 nxstor genunix: [ID 888150 kern.warning] WARNING: Device not found in device tree. Skipping device unretire: /pci@0,0/pci8086,3a40@1c/pci8086,350e@0/iport@ff/disk@w5000c500072bb235,0
Oct  9 18:39:53 nxstor genunix: [ID 484473 kern.notice] NOTICE: Not retired: /pci@0,0/pci8086,3a40@1c/pci8086,350e@0/iport@ff/disk@w5000c500072bb235,0
Oct  9 18:39:53 nxstor genunix: [ID 888150 kern.warning] WARNING: Device not found in device tree. Skipping device unretire: /pci@0,0/pci8086,3a40@1c/pci8086,350e@0/iport@ff/disk@w5000cca00534d625,0

디스크 및 디스크 @ w5000cca00534d625,0 디스크 @ w5000c500072bb235,0은 문제가 있는 두 개의 디스크로, 시스템에서 제거되었습니다.

설치된 HDD 정의 cfgadm:

root@nxstor:/volumes# cfgadm -al
Ap_Id                          Type         Receptacle   Occupant     Condition
Slot2                          sas/hp       connected    configured   ok
c1                             scsi-sas     connected    configured   unknown
c1::dsk/c1t5000C50007DCF7EDd0  disk         connected    configured   unknown
<cut>

그러나 이 디스크 형식에는 fdisk 유틸리티도 표시되지 않습니다.

root@nxstor:/volumes# fdisk /dev/rdsk/c1t5000C50007DCF7EDd0
fdisk: Cannot stat device /dev/rdsk/c1t5000C50007DCF7EDd0.
root@nxstor:/volumes# 
root@nxstor:/volumes# ls -la /dev/rdsk/c1t5000C50007DCF7EDd0
/dev/rdsk/c1t5000C50007DCF7EDd0: No such file or directory

또한 NMS는 다음을 참조합니다.

Trigger Name: nms-fmacheck
           Fault ID: 5
 Error Repeat Count: 5
     Error Severity: CRITICAL
    Error TimeStamp: Tue Oct 13 14:21:54 2015

Description:
FMA Module: ereport.io.scsi.disk.attach-failure

Details:

List of last errors :
Oct 13 13:48:02.6970 ereport.io.scsi.cmd.disk.tran   
<cut>  
Oct 13 14:21:05.7075 ereport.io.scsi.cmd.disk.tran   
Oct 13 14:21:53.6196 ereport.io.scsi.cmd.disk.dev.rqs.derr
Oct 13 14:21:53.6197 ereport.io.scsi.disk.attach-failure

List of last errors :
=========: Event Details :========
SOURCE: ereport.io.scsi.disk.attach-failure
nvlist version: 0
    class = ereport.io.scsi.disk.attach-failure
    ena = 0x58420a3d24100401
    detector = (embedded nvlist)
    nvlist version: 0
        version = 0x0
        scheme = dev
        device-path = /pci@0,0/pci8086,3a40@1c/pci8086,350e@0/iport@ff/disk@w5000c50007dcf7ed,0
        devid = id1,sd@n5000c50007dcf7ef
    (end detector)

    devid = id1,sd@n5000c50007dcf7ef
    __ttl = 0x1
    __tod = 0x561cdb41 0x24f05942

=========

새 드라이브에도 결함이 있다고 가정하고 다른 드라이브에 넣으면 더욱 이상한 결과가 나타납니다. 로그 설치 디스크가 전혀 나타나지 않습니다. 그러나 디스크를 꺼내면 정보가 표시됩니다.

Oct 13 14:50:26 nxstor scsi: [ID 107833 kern.notice] /pci@0,0/pci8086,3a40@1c/pci8086,350e@0 (mpt_sas0):
Oct 13 14:50:26 nxstor   PhysDiskNum 2 with DevHandle 0x23 in slot 0 for enclosure with handle 0x0 is now offline

경험적으로 문제는 SAS 드라이브에만 적용되는 것으로 나타났습니다. 이것은 차례로 MPxIO 드라이버 및 mpt_sas가 있는 cfgadm의 문제에 대해 암시했습니다(이것은 알려진 문제인 솔라리스이며 해결되었다고 썼지만 오픈솔라리스에서 전달되었는지 여부는 확실하지 않습니다).

다음에 무엇을할지? 비슷한 문제를 겪은 적이 있는 사람은 누구입니까?

드라이버 및 펌웨어 SAS 컨트롤러: MPTSAS HBA 드라이버 00.00.00.24 펌웨어 버전 5.40.1.0 SAS는 Hitachi Ultrastar 15K300 HUS153030VLS300 및 Seagate Cheetah 15K.5 ST3300655SS라는 두 종을 드라이브합니다.

관련 정보