无法从HP P400删除逻辑驱动器/阵列


8

这是我在此的头一篇博文。预先感谢您对此事的任何帮助。

我正在尝试从Smart Array P400中删除逻辑驱动器(逻辑驱动器2)和阵列(阵列“ B”)。主机是运行64位Red Hat Enterprise Linux Server 5.7(Tikanga)的DL580 G5。我无法使用hpacucli或cpqacuxe删除阵列。我相信是因为“操作系统状态:已锁定”。驻留在该阵列上的文件系统已被卸载。我不想重启主机。有什么办法可以“释放”此逻辑驱动器,以便删除阵列?请注意,我不需要将数据保留在逻辑驱动器2上。我打算从计算机上物理删除驱动器,并用更大的驱动器替换它们。

我正在使用Red Hat 5.7附带的cciss内核模块。

以下是有关主机和P400配置的一些信息:

[root@gort ~]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.7 (Tikanga)



[root@gort ~]# uname -a
Linux gort 2.6.18-274.el5 #1 SMP Fri Jul 8 17:36:59 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux



[root@gort ~]# rpm -qa | egrep '^(hp|cpq)'
cpqacuxe-9.30-15.0
hp-health-9.25-1551.7.rhel5
hpsmh-7.1.2-3
hpdiags-9.3.0-466
hponcfg-3.1.0-0
hp-snmp-agents-9.25-2384.8.rhel5
hpacucli-9.30-15.0

[root@gort ~]# hpacucli
HP Array Configuration Utility CLI 9.30.15.0
Detecting Controllers...Done.
Type "help" for a list of supported commands.
Type "exit" to close the console.

=> ctrl all show config detail

Smart Array P400 in Slot 0 (Embedded)
   Bus Interface: PCI
   Slot: 0
   Cache Serial Number: PA82C0J9SVW34U
   RAID 6 (ADG) Status: Enabled
   Controller Status: OK
   Hardware Revision: D
   Firmware Version: 7.22
   Rebuild Priority: Medium
   Expand Priority: Medium
   Surface Scan Delay: 15 secs
   Surface Scan Mode: Idle
   Wait for Cache Room: Disabled
   Surface Analysis Inconsistency Notification: Disabled
   Post Prompt Timeout: 0 secs
   Cache Board Present: True
   Cache Status: OK
   Cache Ratio: 25% Read / 75% Write
   Drive Write Cache: Disabled
   Total Cache Size: 256 MB
   Total Cache Memory Available: 208 MB
   No-Battery Write Cache: Disabled
   Cache Backup Power Source: Batteries
   Battery/Capacitor Count: 1
   Battery/Capacitor Status: OK
   SATA NCQ Supported: True


      Logical Drive: 1
         Size: 136.7 GB
         Fault Tolerance: RAID 1
         Heads: 255
         Sectors Per Track: 32
         Cylinders: 35132
         Strip Size: 128 KB
         Full Stripe Size: 128 KB
         Status: OK
         Caching:  Enabled
         Unique Identifier: 600508B100184A395356573334550002
         Disk Name: /dev/cciss/c0d0
         Mount Points: /boot 101 MB, /tmp 7.8 GB, /usr 3.9 GB, /usr/local 2.0 GB, /var 3.9 GB, / 2.0 GB, /local 113.2 GB
         OS Status: LOCKED
         Logical Drive Label: A0027AA78DEE
         Mirror Group 0:
            physicaldrive 1I:1:2 (port 1I:box 1:bay 2, SAS, 146 GB, OK)
         Mirror Group 1:
            physicaldrive 1I:1:1 (port 1I:box 1:bay 1, SAS, 146 GB, OK)
         Drive Type: Data
   Array: A
      Interface Type: SAS
      Unused Space: 0  MB
      Status: OK
      Array Type: Data



      physicaldrive 1I:1:1
         Port: 1I
         Box: 1
         Bay: 1
         Status: OK
         Drive Type: Data Drive
         Interface Type: SAS
         Size: 146 GB
         Rotational Speed: 10000
         Firmware Revision: HPDE
         Serial Number: 3NM57RF40000983878FX
         Model: HP      DG146BB976
         Current Temperature (C): 29
         Maximum Temperature (C): 35
         PHY Count: 2
         PHY Transfer Rate: Unknown, Unknown

      physicaldrive 1I:1:2
         Port: 1I
         Box: 1
         Bay: 2
         Status: OK
         Drive Type: Data Drive
         Interface Type: SAS
         Size: 146 GB
         Rotational Speed: 10000
         Firmware Revision: HPDE
         Serial Number: 3NM55VQC000098388524
         Model: HP      DG146BB976
         Current Temperature (C): 29
         Maximum Temperature (C): 36
         PHY Count: 2
         PHY Transfer Rate: Unknown, Unknown


      Logical Drive: 2
         Size: 546.8 GB
         Fault Tolerance: RAID 5
         Heads: 255
         Sectors Per Track: 32
         Cylinders: 65535
         Strip Size: 64 KB
         Full Stripe Size: 256 KB
         Status: OK
         Caching:  Enabled
         Parity Initialization Status: Initialization Completed
         Unique Identifier: 600508B100184A395356573334550003
         Disk Name: /dev/cciss/c0d1
         Mount Points: None
         OS Status: LOCKED
         Logical Drive Label: A5C9C6F81504
         Drive Type: Data

   Array: B
      Interface Type: SAS
      Unused Space: 0  MB
      Status: OK
      Array Type: Data



      physicaldrive 1I:1:3
         Port: 1I
         Box: 1
         Bay: 3
         Status: OK
         Drive Type: Data Drive
         Interface Type: SAS
         Size: 146 GB
         Rotational Speed: 10000
         Firmware Revision: HPDE
         Serial Number: 3NM2H5PE00009802NK19
         Model: HP      DG146ABAB4
         Current Temperature (C): 30
         Maximum Temperature (C): 37
         PHY Count: 1
         PHY Transfer Rate: Unknown

      physicaldrive 1I:1:4
         Port: 1I
         Box: 1
         Bay: 4
         Status: OK
         Drive Type: Data Drive
         Interface Type: SAS
         Size: 146 GB
         Rotational Speed: 10000
         Firmware Revision: HPDE
         Serial Number: 3NM28YY400009750MKPJ
         Model: HP      DG146ABAB4
         Current Temperature (C): 31
         Maximum Temperature (C): 36
         PHY Count: 1
         PHY Transfer Rate: 3.0Gbps

      physicaldrive 2I:1:5
         Port: 2I
         Box: 1
         Bay: 5
         Status: OK
         Drive Type: Data Drive
         Interface Type: SAS
         Size: 146 GB
         Rotational Speed: 10000
         Firmware Revision: HPDE
         Serial Number: 3NM2FGYV00009802N3GN
         Model: HP      DG146ABAB4
         Current Temperature (C): 30
         Maximum Temperature (C): 38
         PHY Count: 1
         PHY Transfer Rate: Unknown

      physicaldrive 2I:1:6
         Port: 2I
         Box: 1
         Bay: 6
         Status: OK
         Drive Type: Data Drive
         Interface Type: SAS
         Size: 146 GB
         Rotational Speed: 10000
         Firmware Revision: HPDE
         Serial Number: 3NM8AFAK00009920MMV1
         Model: HP      DG146BB976
         Current Temperature (C): 31
         Maximum Temperature (C): 41
         PHY Count: 2
         PHY Transfer Rate: Unknown, Unknown

      physicaldrive 2I:1:7
         Port: 2I
         Box: 1
         Bay: 7
         Status: OK
         Drive Type: Data Drive
         Interface Type: SAS
         Size: 146 GB
         Rotational Speed: 10000
         Firmware Revision: HPDE
         Serial Number: 3NM2FJQD00009801MSHQ
         Model: HP      DG146ABAB4
         Current Temperature (C): 29
         Maximum Temperature (C): 39
         PHY Count: 1
         PHY Transfer Rate: Unknown

您要删除阵列还是删除阵列?如果你对数据不再在乎我,该方法比,如果你需要保留在阵列B的数据不同
ewwhite

我不需要保留数据。我将卸下驱动器,并用更大的驱动器替换它们。如何“解锁”逻辑磁盘,以便可以删除它和阵列?
Myles 2012年

我今天晚些时候再回答。
ewwhite 2012年

Answers:


3

您将要下载该实用程序的较旧版本hpacucli。我对您的建议是使用hpacucli工具的9.0.24.0版本。完整的应用程序更改日志在此处

运行rpm -e hpacucli删除现有副本,然后手动安装下载的版本。

当前hpacucli状态的RPM安装说明:
锁定注意:从9.10.XX版本开始的锁定机制与该应用程序的先前版本不兼容。因此,不建议混合使用各种应用程序(ACU,HPACUCLI,HPACUSCRIPTING)的旧版本和新版本。

我在准备测试环境时注意到了此消息。我注意到,我的旧系统没有在逻辑驱动器上显示锁定状态。显然,这是在2012年6月修订的中更改的hpacucli。回到较早的版本,您应该能够删除未安装的卷/阵列。

类似的东西:hpacucli controller slot=0 array B delete应该从那里开始工作。


谢谢!我明天会试一下并更新此线程。
Myles 2012年

仍然没有喜悦。hpacucli 9.0.24.0报告逻辑驱动器2的“操作系统状态:已锁定”,我无法将其删除。我想知道blockdev --rmparts / dev / cciss / c0d1是否可以释放它?
迈尔斯(Myles)2012年

然后转到之前版本。我链接到完整的下载列表。另外,service hp-snmp-agents stop在尝试执行此操作之前,请停止HP SNMP Agents 。
ewwhite 2012年

我认为只要/dev/cciss/c0d1p1出现在中/proc/partitions,就不可能。删除分区/dev/cciss/c0d1p1没有任何效果,因为由于某种原因,无法将更改通知内核:BLKRRPART: Device or resource busy
Myles 2012年

您确定没有任何引用旧文件系统的信息吗?你检查过lsof吗?什么partprobe输出?
ewwhite 2012年
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.