Repairing a space-efficient VDisk using the CLI

You can use the repairsevdiskcopy command from the command-line interface to repair the metadata on a space-efficient virtual disk (VDisk).

The repairsevdiskcopy command automatically detects and repairs corrupted metadata. The command holds the VDisk offline during the repair, but does not prevent the disk from being moved between I/O groups.

If a repair operation completes successfully and the volume was previously offline because of corrupted metadata, the command brings the volume back online. The only limit on the number of concurrent repair operations is the number of virtual disk copies in the configuration.

When you issue the repairsevdiskcopy command, you must specify the name or ID of the VDisk to be repaired as the last entry on the command line. Once started, a repair operation cannot be paused or cancelled; the repair can only be terminated by deleting the copy.

Attention: Use this command only to repair a space-efficient VDisk that has reported corrupt metadata.
Issue the following command to repair the metadata on a space-efficient VDisk:
svctask repairsevdiskcopy vdisk8

After you issue the command, no output is displayed.

Notes:
  1. Because the volume is offline to the host, any I/O that is submitted to the volume while it is being repaired fails.
  2. When the repair operation completes successfully, the corrupted metadata error is marked as fixed.
  3. If the repair operation fails, the volume is held offline and an error is logged.

Checking the progress of the repair of a space-efficient VDisk using the CLI

Issue the lsrepairsevdiskcopyprogress command to list the repair progress for space-efficient VDisk copies of the specified VDisk. If you do not specify a VDisk, the command lists the repair progress for all space-efficient copies in the cluster.
Note: Only run this command after you run the svctask repairsevdiskcopy command, which you must only run as required by the Directed Maintenance Procedures or by IBM® support.
Library | Support | Terms of use | Feedback
© Copyright IBM Corporation 2003, 2009. All Rights Reserved.