recovervdisk

Use the recovervdisk command to acknowledge volume data loss and brings the volume back online.

Syntax

recovervdisk [ -copy copy_id ] { vdisk_name | vdisk_id }

Parameters

vdisk_name | vdisk_id
(Required) Specifies the volume to recover.
-copycopy_id
(Optional) Specifies the ID of the copy to recover.

Description

The specified volume, and all copies if mirrored, are recovered and brought back online. If the volume is thin-provisioned or has thin-provisioned copies, this command triggers the thin-provisioned repair process. If the volume is mirrored, the recovervdisk command triggers a resynchronization from a synchronized copy. The progress of the resynchronization can be monitored using the lsvdisksyncprogress command. The volume remains online during the resynchronization process.

The recovervdisk command also starts the repair of any thin-provisioned copies that have a fast_write_state of corrupt. The progress of the repair process can be monitored using the lsrepairsevdiskcopyprogress command.

A volume that is still offline because it is being repaired following the recovervdisk command has a fast_write_state of repairing. The volume is brought online when the repair process is complete.

An invocation example (to recover volume 45)

recovervdisk vdisk45

An invocation example (to recover copy 0 of volume 45) :

recovervdisk -copy 0 vdisk45