Clear Disk-Metadata - HP P2000 G3 Cli Reference Manual

Msa system
Hide thumbs Also See for P2000 G3:
Table of Contents

Advertisement

clear disk-metadata

Description Clears metadata from leftover disks.
CAUTION:
Only use this command when all vdisks are online and leftover disks exist. Improper use of this
command may result in data loss.
Do not use this command when a vdisk is offline and one or more leftover disks exist.
If you are uncertain whether to use this command, contact technical support for further assistance.
Each disk in a vdisk has metadata that identifies the owning vdisk, the other members of the vdisk,
and the last time data was written to the vdisk. The following situations cause a disk to become a
leftover:
Vdisk members' timestamps do not match so the system designates members having an older
timestamp as leftovers.
A disk is not detected during a rescan, then is subsequently detected.
When a disk becomes a leftover, the following changes occur:
The disk's health becomes Degraded and its How Used state becomes LEFTOVR.
The disk is automatically excluded from the vdisk, causing the vdisk's health to become
Degraded or Fault, depending on the RAID level.
The disk's Fault/UID LED is illuminated amber.
If spares are available, and the health of the vdisk is Degraded, the vdisk will use them to start
reconstruction. When reconstruction is complete, you can clear the leftover disk's metadata. Clearing
the metadata will change the disk's health to OK and its How Used state to AVAIL, making the disk
available for use in a new vdisk or as a spare.
If spares are not available to begin reconstruction, or reconstruction has not completed, keep the
leftover disk so that you'll have an opportunity to recover its data.
This command clears metadata from leftover disks only. If you specify disks that are not leftovers, the
disks are not changed.
Syntax
clear disk-metadata disks
Parameters disks
IDs of the leftover disks to clear metadata from. For disk syntax, see
Example Show disk usage:
# show disks
Location ... How Used ...
----------------------...
1.1
1.2
...
Clear metadata from a leftover disk:
# clear disk-metadata 1.1
Info: Updating disk list...
Info: Disk disk_1.1 metadata was cleared. (2012-01-18 10:35:39)
Success: Command completed successfully. - Metadata was cleared. (2012-01-18
10:35:39)
... LEFTOVR
...
... VDISK
...
Command syntax
HP P2000 G3 MSA System CLI Reference Guide
on page 22.
39

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents