CLI Guide

Table Of Contents
data is not needed it can be cleared, in which case it will be lost and data will differ between the host
and disk. Unwritable cache is also called orphan data.
CAUTION: Only use this command when all disk groups are online and accessible from
the host. Clearing cache for a volume that is offline or quarantined could result in data
loss.
You can clear unwritable cache data for a specified volume or for all volumes
Minimum role manage
Syntax
clear cache
[volume volume]
Parameters
volume volume
Optional. The name or serial number of a specific volume for which to clear unwritable cache data.
A name that includes a space must be enclosed in double quotes. If this parameter is omitted,
unwritable cache data is cleared for all volumes.
Examples Clear unwritable cache data for volume V1 from both controllers.
# clear cache volume v1
See also
show unwritable-cache
show volumes
clear disk-metadata
Description
Clears metadata from leftover disks. For a leftover disk, the show disks command shows the
Usage value LEFTOVR.
CAUTION: Only use this command when all disk groups are online and leftover disks
exist. Improper use of this command may result in data loss.
NOTE: If you are uncertain whether to use this command, contact technical support for
assistance.
Each disk in a disk group has metadata that identifies the owning disk group, the other members of
the disk group, and the last time data was written to the disk group. The following situations cause a
disk to become a leftover:
Disk group 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 disk group, causing the disk group's health to become
Degraded or Fault, depending on the RAID level.
The disk's fault LED becomes illuminated.
If spares are available, and the health of the disk group is Degraded, the disk group will use spares
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 disk group 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.
Minimum role
manage
Syntax
clear disk-metadata
disks
40 Alphabetical list of commands