| United States-English |
|
|
|
![]() |
HP XC System Software : Administration Guide > Chapter 21 Servicing the HP XC SystemSoftware RAID Disk Replacement |
|
Replacing a RAID disk requires that you mark the partitions faulty, remove the partitions, remove the disk itself, and perform maintenance on the boot block. Before you can replace a failed disk in a software RAID set, you must first mark each RAID partition as faulty and remove it. Use the mdadm command with the -f option to mark the partition faulty, and use the -r option to remove it. Two SATA disk drives, /dev/sda and /dev/sdb are shown in this example. Follow these steps to replace the RAID disk:
Commands for single array can be combined, for example:
The fdisk(8), sfdisk(8), and parted(8) manpages provide information on examining a disk and partitioning a new disk. For more information about Software RAID implemented on the HP XC system, see Chapter 18. To ensure that the disk can be booted, and because the whole disk was replaced, you must write a boot block to the new disk. The method to use varies by the platform. For CP6000 SystemsFollow these steps for CP6000 systems:
For CP4000 SystemsYou need to update the boot order using the GRand Unified Bootloader, also known as grub. Enter a command like the following. If you do not use IDE disks /dev/hda and /dev/hdb for your boot disk, you need to adjust this command.
In this example, the first instance of root and setup apply to the first disk; /dev/hda and the second instance of root and setup apply to the second disk, /dev/hdb. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||