HP P2000 G3 MSA System CLI Reference Guide
39
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
Command syntax
on page 22.
Example
Show disk usage:
# show disks
Location ... How Used ...
----------------------...
1.1 ... LEFTOVR ...
1.2 ... VDISK ...
...
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)
Summary of Contents for P2000 G3
Page 1: ...HP P2000 G3 MSA System CLI Reference Guide Part number 500912 009 First edition February 2014 ...
Page 14: ...14 About this guide ...
Page 30: ...30 Categorical list of commands ...
Page 199: ...HP P2000 G3 MSA System CLI Reference Guide 199 See also set cache parameters show volumes ...
Page 294: ...294 Alphabetical list of commands See also set volume set vdisk ...
Page 498: ...498 XML API basetype properties PROPERTY name mrc version type uint8 0 PROPERTY OBJECT ...
Page 524: ...524 Glossary ...
Page 532: ...532 Index ...