Repairing a thin-provisioned volume using the CLI

You can use the repairsevdiskcopy command from the command-line interface to repair the metadata on a thin-provisioned volume.

The repairsevdiskcopy command automatically detects and repairs corrupted metadata. The command holds the volume 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 volume copies in the configuration.

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

Attention: Use this command only to repair a thin-provisioned volume that has reported corrupt metadata.
Issue the following command to repair the metadata on a thin-provisioned volume:
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 thin-provisioned volume by using the CLI

Issue the lsrepairsevdiskcopyprogress command to list the repair progress for thin-provisioned volume copies of the specified volume. If you do not specify a volume, the command lists the repair progress for all thin-provisioned copies in the system.
Note: Only run this command after you run the repairsevdiskcopy command, which you must only run as required by the fix procedures recommended by your support team.