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)
Содержание P2000 G3
Страница 1: ...HP P2000 G3 MSA System CLI Reference Guide Part number 500912 009 First edition February 2014 ...
Страница 14: ...14 About this guide ...
Страница 30: ...30 Categorical list of commands ...
Страница 96: ...96 Alphabetical list of commands exit Description Log off and exit the CLI session Syntax exit ...
Страница 159: ...HP P2000 G3 MSA System CLI Reference Guide 159 See also set host parameters show iscsi parameters ...
Страница 199: ...HP P2000 G3 MSA System CLI Reference Guide 199 See also set cache parameters show volumes ...
Страница 217: ...HP P2000 G3 MSA System CLI Reference Guide 217 Basetypes drives enclosure list status See also show vdisks ...
Страница 223: ...HP P2000 G3 MSA System CLI Reference Guide 223 Basetypes email parameters status See also set email parameters ...
Страница 230: ...230 Alphabetical list of commands See also clear events set snmp parameters show snmp parameters ...
Страница 288: ...288 Alphabetical list of commands Basetypes snapshots status See also show master volumes show snap pools ...
Страница 292: ...292 Alphabetical list of commands Basetypes system unhealthy component status See also set system ...
Страница 294: ...294 Alphabetical list of commands See also set volume set vdisk ...
Страница 338: ...338 Alphabetical list of commands Basetypes remote links See also show remote systems verify remote link ...
Страница 340: ...340 Alphabetical list of commands Basetypes remote links See also show remote systems verify links ...
Страница 424: ...424 XML API basetype properties PROPERTY name utility priority numeric type string 0 PROPERTY OBJECT ...
Страница 469: ...HP P2000 G3 MSA System CLI Reference Guide 469 PROPERTY name status type string OK PROPERTY OBJECT ...
Страница 494: ...494 XML API basetype properties PROPERTY name sample time numeric type string 1329397200 PROPERTY OBJECT ...
Страница 498: ...498 XML API basetype properties PROPERTY name mrc version type uint8 0 PROPERTY OBJECT ...
Страница 510: ...510 XML API basetype properties PROPERTY name reserve type numeric type string 0 PROPERTY OBJECT ...
Страница 524: ...524 Glossary ...
Страница 532: ...532 Index ...