Displaying and removing a dead partition – HP NetRAID-4M Controller User Manual
Page 67
4-17
Working with Disks
the R/W column shows that the partitions on SCSI devices (2:01:0)
and (2:02:0) are read/write (RW) accessible.
HPN0> disk show partition
Executing: disk show partition
Scsi Partition Container MultiLevel
C:ID:L Offset:Size Num Type Num Type R/W
------ ------------- --- ------ --- ------ ---
2:01:0 64.0KB: 100MB 62 Mirror 0 Stripe RW
2:02:0 64.0KB: 100MB 63 Mirror 0 Stripe RW
2:03:0 64.0KB: 100MB 63 Mirror 0 Stripe RW
2:04:0 64.0KB: 100MB 62 Mirror 0 Stripe RW
To change the accessibility of a partition, use the
container
readonly
command or the
container readwrite
command.
See the
container readonly
and
container readwrite
commands in Chapter 9, Modifying Containers.
Displaying and Removing a Dead Partition
The
dead partition
attribute indicates that a partition cannot be
used by a container, because it is either logically or physically bad.
See the
disk remove dead_partitions
command in the
Command Line Interface Reference Guide for more information on dead
partitions.
Typically, you use this command only under specific circumstances.
For example, if you remove a disk from a redundant container and
then later add the disk to a different controller, the partition on the
reinserted disk (which was previously part of the redundant
container) is no longer useful. In this case, you use the
disk
remove dead_partitions
command to remove the dead
partitions on the disk that was readded to the controller.
To determine whether a partition is dead, use the
disk show
partition
command, as in the following example. In the example,
an exclamation point (!)in the Partition Offset:Size column
indicates that a partition is dead. In the example, the partition on
device (2,1,0) is dead. The partition on device (2,2,0) is not dead.
HPN0> disk show partition
Executing: disk show partition