如何在 HP 智能阵列上强制重建阵列(ssacli)

如何在 HP 智能阵列上强制重建阵列(ssacli)

我最近更换了家用服务器上 HW RAID 5 阵列上的一个故障驱动器。我正在运行一台定制机器(即:由我认为可能适合的任何部件组装而成)。HW RAID 控制器是 HP P420 卡,运行 5x8TB RAID 5 阵列,带有一个备用驱动器(计划运行 RAID 6,但我需要订阅)

在我的驱动器发生故障后,我更换了它。我现在正在检查阵列,发现它“准备重建”但不是重建。有什么方法可以命令阵列开始重建?或者能给我提供任何诊断信息?

其他一些答案说其他一些驱动器可能有问题。目前卷运行正常,我没有发现任何数据丢失或性能下降(这是我的家用 NAS)

我也尝试过使用 ssaoffline.iso 工具直接启动到 ssa 的 GUI 版本,如果我只是将 .iso 的内容转储到 FAT32 驱动器上(手册说将内容转储到 Windows USB 驱动器上),它就可以工作,但是系统在启动时挂起,因为它无法挂载“cdrom”文件系统。

感谢您的帮助

替换前的情况如下:

=> ctrl slot=2 pd all show

Smart Array P420 in Slot 2

   Array A
  physicaldrive 1I:0:5 (port 1I:box 0:bay 5, SATA HDD, 8 TB, OK)
  physicaldrive 1I:0:6 (port 1I:box 0:bay 6, SATA HDD, 8 TB, OK)
  physicaldrive 2I:0:2 (port 2I:box 0:bay 2, SATA HDD, 8 TB, OK)
  physicaldrive 2I:0:3 (port 2I:box 0:bay 3, SATA HDD, 8 TB, OK)
  physicaldrive 2I:0:4 (port 2I:box 0:bay 4, SATA HDD, 8 TB, Failed)
  physicaldrive 1I:0:7 (port 1I:box 0:bay 7, SATA HDD, 8 TB, OK, active spare for 2I:0:4)

=> ctrl slot=2 pd 2I:0:4 show

Smart Array P420 in Slot 2

   Array A
  physicaldrive 2I:0:4
     Port: 2I
     Box: 0
     Bay: 4
     Status: Failed
     Last Failure Reason: Write retries failed
     Drive Type: Data Drive
     Interface Type: SATA
     Size: 8 TB
     Drive exposed to OS: False
     Logical/Physical Block Size: 512/4096
     Rotational Speed: 7200
     Firmware Revision: SC60
     Serial Number: WSD3L542
     WWID: 3000000000000003
     Model: ATA     ST8000VN004-2M21
     SATA NCQ Capable: True
     SATA NCQ Enabled: True
     Maximum Temperature (C): 76
     PHY Count: 1
     PHY Transfer Rate: 6.0Gbps
     PHY Physical Link Rate: Unknown
     PHY Maximum Link Rate: Unknown
     Drive Authentication Status: Not Applicable
     Sanitize Erase Supported: False
     Shingled Magnetic Recording Support: None

这是我更换故障驱动器后的情况:

=> ctrl slot=2 pd all show

Smart Array P420 in Slot 2

   Array A
      physicaldrive 1I:0:5 (port 1I:box 0:bay 5, SATA HDD, 8 TB, OK)
      physicaldrive 1I:0:6 (port 1I:box 0:bay 6, SATA HDD, 8 TB, OK)
      physicaldrive 2I:0:2 (port 2I:box 0:bay 2, SATA HDD, 8 TB, OK)
      physicaldrive 2I:0:3 (port 2I:box 0:bay 3, SATA HDD, 8 TB, OK)
      physicaldrive 2I:0:4 (port 2I:box 0:bay 4, SATA HDD, 8 TB, OK)
      physicaldrive 1I:0:7 (port 1I:box 0:bay 7, SATA HDD, 8 TB, OK, active spare for `2I:0:4)`

=> ctrl slot=2 pd 2I:0:4 show

Smart Array P420 in Slot 2

   Array A

  physicaldrive 2I:0:4
     Port: 2I
     Box: 0
     Bay: 4
     Status: OK
     Drive Type: Data Drive
     Interface Type: SATA
     Size: 8 TB
     Drive exposed to OS: False
     Logical/Physical Block Size: 512/4096
     Rotational Speed: 7200
     Firmware Revision: EN01
     Serial Number: WSD9NV7Y
     WWID: 3000000000000003
     Model: ATA     ST8000NE001-2M71
     SATA NCQ Capable: True
     SATA NCQ Enabled: True
     Current Temperature (C): 23
     Maximum Temperature (C): 28
     PHY Count: 1
     PHY Transfer Rate: 6.0Gbps
     PHY Physical Link Rate: Unknown
     PHY Maximum Link Rate: Unknown
     Drive Authentication Status: Not Applicable
     Sanitize Erase Supported: True
     Unrestricted Sanitize Supported: True
     Shingled Magnetic Recording Support: None

=> ctrl slot=2 array A show


Smart Array P420 in Slot 2

Array: A
  Interface Type: SATA
  Unused Space: 0 MB (0.00%)
  Used Space: 36.39 TB (100.00%)
  Status: OK
  Array Type: Data
  Spare Type: dedicated
  Smart Path: disable


=> ctrl slot=2 ld 1 show

Smart Array P420 in Slot 2

   Array A
  Logical Drive: 1
     Size: 29.11 TB
     Fault Tolerance: 5
     Heads: 255
     Sectors Per Track: 32
     Cylinders: 65535
     Strip Size: 256 KB
     Full Stripe Size: 1024 KB
     Status: Ready for Rebuild
     Unrecoverable Media Errors: None
     Caching:  Enabled
     Parity Initialization Status: Initialization Completed
     Unique Identifier: 600508B1001C778F77DA1A0B335E94DE
     Disk Name: /dev/sde
     Mount Points: 29.1 TiB Partition   0 /mnt/bindmounts/RAID
     Disk Partition Information
        Partition   0: Basic, 29.1 TiB, /mnt/bindmounts/RAID
     Logical Drive Label: 02A8315DPBKTU0ARH3S0EUA873
     Drive Type: Data
     LD Acceleration Method: Controller Cache

根据要求,配置:

Smart Array P420 in Slot 2
   Bus Interface: PCI
   Slot: 2
   Serial Number: PBKTU0ARH3S0EU
   Cache Serial Number: PBKUC0BRH5E25W
   Controller Status: OK
   Hardware Revision: B
   Firmware Version: 3.22
   Firmware Supports Online Firmware Activation: False
   Rebuild Priority: High
   Expand Priority: Medium
   Surface Scan Delay: 3 secs
   Surface Scan Mode: Idle
   Parallel Surface Scan Supported: No
   Queue Depth: Automatic
   Monitor and Performance Delay: 60  min
   Elevator Sort: Enabled
   Degraded Performance Optimization: Disabled
   Wait for Cache Room: Disabled
   Surface Analysis Inconsistency Notification: Disabled
   Post Prompt Timeout: 15 secs
   Cache Board Present: True
   Cache Status: OK
   Cache Ratio: 10% Read / 90% Write
   Drive Write Cache: Disabled
   Total Cache Size: 1.0
   Total Cache Memory Available: 0.8
   Battery Backed Cache Size: 0.8
   No-Battery Write Cache: Disabled
   Cache Backup Power Source: Capacitors
   Battery/Capacitor Count: 1
   Battery/Capacitor Status: OK
   SATA NCQ Supported: True
   Spare Activation Mode: Activate on physical drive failure (default)
   Number of Ports: 2 Internal only
   Encryption: Not Set
   Driver Name: hpsa
   Driver Version: 3.4.20
   Driver Supports SSD Smart Path: True
   PCI Address (Domain:Bus:Device.Function): 0000:2C:00.0
   Port Max Phy Rate Limiting Supported: False
   Host Serial Number: CN&6190AKn
   Sanitize Erase Supported: False
   Primary Boot Volume: None
   Secondary Boot Volume: None


   Port Name: 1I
         Port ID: 1
         Port Connection Number: 1
         SAS Address: 5001438024ECFB14
         Port Location: Internal

   Port Name: 2I
         Port ID: 0
         Port Connection Number: 0
         SAS Address: 5001438024ECFB10
         Port Location: Internal

   Array: A
      Interface Type: SATA
      Unused Space: 0 MB (0.00%)
      Used Space: 36.39 TB (100.00%)
      Status: OK
      Array Type: Data
      Spare Type: dedicated
      Smart Path: disable


      Logical Drive: 1
         Size: 29.11 TB
         Fault Tolerance: 5
         Heads: 255
         Sectors Per Track: 32
         Cylinders: 65535
         Strip Size: 256 KB
         Full Stripe Size: 1024 KB
         Status: Ready for Rebuild
         Unrecoverable Media Errors: None
         Caching:  Enabled
         Parity Initialization Status: Initialization Completed
         Unique Identifier: 600508B1001C778F77DA1A0B335E94DE
         Disk Name: /dev/sdc
         Mount Points: 29.1 TiB Partition   0 /mnt/bindmounts/RAID
         Disk Partition Information
            Partition   0: Basic, 29.1 TiB, /mnt/bindmounts/RAID
         Logical Drive Label: 02A8315DPBKTU0ARH3S0EUA873
         Drive Type: Data
         LD Acceleration Method: Controller Cache


      physicaldrive 1I:0:5
         Port: 1I
         Box: 0
         Bay: 5
         Status: OK
         Drive Type: Data Drive
         Interface Type: SATA
         Size: 8 TB
         Drive exposed to OS: False
         Logical/Physical Block Size: 512/4096
         Rotational Speed: 7200
         Firmware Revision: SC60
         Serial Number: WSD30X6E
         WWID: 3000000000000004
         Model: ATA     ST8000VN004-2M21
         SATA NCQ Capable: True
         SATA NCQ Enabled: True
         Current Temperature (C): 42
         Maximum Temperature (C): 81
         PHY Count: 1
         PHY Transfer Rate: 6.0Gbps
         PHY Physical Link Rate: Unknown
         PHY Maximum Link Rate: Unknown
         Drive Authentication Status: Not Applicable
         Sanitize Erase Supported: True
         Unrestricted Sanitize Supported: True
         Shingled Magnetic Recording Support: None

      physicaldrive 1I:0:6
         Port: 1I
         Box: 0
         Bay: 6
         Status: OK
         Drive Type: Data Drive
         Interface Type: SATA
         Size: 8 TB
         Drive exposed to OS: False
         Logical/Physical Block Size: 512/4096
         Rotational Speed: 7200
         Firmware Revision: SC60
         Serial Number: WSD3LYC9
         WWID: 3000000000000005
         Model: ATA     ST8000VN004-2M21
         SATA NCQ Capable: True
         SATA NCQ Enabled: True
         Current Temperature (C): 45
         Maximum Temperature (C): 81
         PHY Count: 1
         PHY Transfer Rate: 6.0Gbps
         PHY Physical Link Rate: Unknown
         PHY Maximum Link Rate: Unknown
         Drive Authentication Status: Not Applicable
         Sanitize Erase Supported: True
         Unrestricted Sanitize Supported: True
         Shingled Magnetic Recording Support: None

      physicaldrive 2I:0:2
         Port: 2I
         Box: 0
         Bay: 2
         Status: OK
         Drive Type: Data Drive
         Interface Type: SATA
         Size: 8 TB
         Drive exposed to OS: False
         Logical/Physical Block Size: 512/4096
         Rotational Speed: 7200
         Firmware Revision: SC60
         Serial Number: WSD3JHLV
         WWID: 3000000000000001
         Model: ATA     ST8000VN004-2M21
         SATA NCQ Capable: True
         SATA NCQ Enabled: True
         Current Temperature (C): 41
         Maximum Temperature (C): 68
         PHY Count: 1
         PHY Transfer Rate: 6.0Gbps
         PHY Physical Link Rate: Unknown
         PHY Maximum Link Rate: Unknown
         Drive Authentication Status: Not Applicable
         Sanitize Erase Supported: True
         Unrestricted Sanitize Supported: True
         Shingled Magnetic Recording Support: None

      physicaldrive 2I:0:3
         Port: 2I
         Box: 0
         Bay: 3
         Status: OK
         Drive Type: Data Drive
         Interface Type: SATA
         Size: 8 TB
         Drive exposed to OS: False
         Logical/Physical Block Size: 512/4096
         Rotational Speed: 7200
         Firmware Revision: SC60
         Serial Number: WSD31XSL
         WWID: 3000000000000002
         Model: ATA     ST8000VN004-2M21
         SATA NCQ Capable: True
         SATA NCQ Enabled: True
         Current Temperature (C): 45
         Maximum Temperature (C): 76
         PHY Count: 1
         PHY Transfer Rate: 6.0Gbps
         PHY Physical Link Rate: Unknown
         PHY Maximum Link Rate: Unknown
         Drive Authentication Status: Not Applicable
         Sanitize Erase Supported: True
         Unrestricted Sanitize Supported: True
         Shingled Magnetic Recording Support: None

      physicaldrive 2I:0:4
         Port: 2I
         Box: 0
         Bay: 4
         Status: OK
         Drive Type: Data Drive
         Interface Type: SATA
         Size: 8 TB
         Drive exposed to OS: False
         Logical/Physical Block Size: 512/4096
         Rotational Speed: 7200
         Firmware Revision: EN01
         Serial Number: WSD9NV7Y
         WWID: 3000000000000003
         Model: ATA     ST8000NE001-2M71
         SATA NCQ Capable: True
         SATA NCQ Enabled: True
         Current Temperature (C): 43
         Maximum Temperature (C): 44
         PHY Count: 1
         PHY Transfer Rate: 6.0Gbps
         PHY Physical Link Rate: Unknown
         PHY Maximum Link Rate: Unknown
         Drive Authentication Status: Not Applicable
         Sanitize Erase Supported: True
         Unrestricted Sanitize Supported: True
         Shingled Magnetic Recording Support: None

      physicaldrive 1I:0:7
         Port: 1I
         Box: 0
         Bay: 7
         Status: OK
         Drive Type: Spare Drive
         Interface Type: SATA
         Size: 8 TB
         Drive exposed to OS: False
         Logical/Physical Block Size: 512/4096
         Rotational Speed: 7200
         Firmware Revision: SC60
         Serial Number: WSD31ZK6
         WWID: 3000000000000006
         Model: ATA     ST8000VN004-2M21
         SATA NCQ Capable: True
         SATA NCQ Enabled: True
         Current Temperature (C): 48
         Maximum Temperature (C): 78
         PHY Count: 1
         PHY Transfer Rate: 6.0Gbps
         PHY Physical Link Rate: Unknown
         PHY Maximum Link Rate: Unknown
         Drive Authentication Status: Not Applicable
         Sanitize Erase Supported: True
         Unrestricted Sanitize Supported: True
         Shingled Magnetic Recording Support: None


   SEP (Vendor ID PMCSIERA, Model SRCv8x6G) 380
      Device Number: 380
      Firmware Version: RevB
      WWID: 5001438024ECFB1F
      Vendor ID: PMCSIERA
      Model: SRCv8x6G

相关内容