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 be terminated only by deleting the copy.
repairsevdiskcopy vdisk8
After you issue the command, no output is displayed.
- Because the volume is offline to the host, any I/O that is submitted to the volume while it is being repaired fails.
- When the repair operation completes successfully, the corrupted metadata error is marked as fixed.
- If the repair operation fails, the volume is held offline and an error is logged.