linux – 惠普智能阵列;如何安全地从阵列中删除带有SMART预测故障的物理驱动器,以便可以更换?

hpacucli controller slot=1 ld 1 show detail

Smart Array P400 in Slot 1

   array A

      Logical Drive: 1
         Size: 273.3 GB
         Fault Tolerance: RAID 1+0
         Heads: 255
         Sectors Per Track: 32
         Cylinders: 65535
         Stripe Size: 128 KB
         Status: OK
         Array Accelerator: Enabled
         Unique Identifier: xxxx
         Disk Name: /dev/cciss/c0d0
         Mount Points: /boot 196 MB,/ 7.8 GB
         Logical Drive Label: xxxxx
         Mirror Group 0:
            physicaldrive 1I:1:8 (port 1I:box 1:bay 8,SAS,72 GB,Predictive Failure)
            physicaldrive 1I:1:7 (port 1I:box 1:bay 7,OK)
            physicaldrive 1I:1:6 (port 1I:box 1:bay 6,OK)
            physicaldrive 1I:1:5 (port 1I:box 1:bay 5,OK)
         Mirror Group 1:
            physicaldrive 2I:1:4 (port 2I:box 1:bay 4,OK)
            physicaldrive 2I:1:3 (port 2I:box 1:bay 3,OK)
            physicaldrive 2I:1:2 (port 2I:box 1:bay 2,OK)
            physicaldrive 2I:1:1 (port 2I:box 1:bay 1,OK)

hpacucli controller slot=1 show

Smart Array P400 in Slot 1
   Bus Interface: PCI
   Slot: 1
   Serial Number: xxxx
   Cache Serial Number: xxxx
   RAID 6 (ADG) Status: Disabled
   Controller Status: OK
   Chassis Slot:
   Hardware Revision: Rev D
   Firmware Version: 4.06
   Rebuild Priority: Medium
   Expand Priority: Medium
   Surface Scan Delay: 15 secs
   Post Prompt Timeout: 0 secs
   Cache Board Present: True
   Cache Status: OK
   Accelerator Ratio: 100% Read / 0% Write
   Drive Write Cache: Disabled
   Total Cache Size: 256 MB
   Battery Pack Count: 0
   SATA NCQ Supported: True

运行这一系列命令是否安全?

hpacucli controller slot=1 array A remove drives=1:8
hpacucli controller slot=1 pd 1:8 modify led=on

伸出手来取下驱动器并更换.然后运行:

hpacucli controller slot=1 array A add drives=1:8

这会让阵列安全地重建吗?

解决方法

运行这些命令是安全的.镜像组可以在没有一个磁盘的情况下存活.它应该自动重建,但是如果它没有,你已经识别的命令将启动它.

相关文章

linux常用进程通信方式包括管道(pipe)、有名管道(FIFO)、...
Linux性能观测工具按类别可分为系统级别和进程级别,系统级别...
本文详细介绍了curl命令基础和高级用法,包括跳过https的证书...
本文包含作者工作中常用到的一些命令,用于诊断网络、磁盘占满...
linux的平均负载表示运行态和就绪态及不可中断状态(正在io)的...
CPU上下文频繁切换会导致系统性能下降,切换分为进程切换、线...