The repairvdiskcopy command detects and optionally, corrects any VDisk copies that are not identical.
>>-svctask-- --repairvdiskcopy-- --+------------+-- ------------> +- -medium---+ +- -resync---+ '- -validate-' >--+--------------------+--+-vdisk_name-+---------------------->< '- -startlba -- lba -' '-vdisk_id---'
The repairvdiskcopy command detects and optionally, corrects any VDisk copies that are not identical. The results are logged to the SAN Volume Controller error log. The -validate parameter compares synchronized online copies of the specified VDisk. The -medium parameter changes any sectors that are not identical into virtual medium errors. The -resync parameter copies any sectors that are not identical to the other VDisk copies. You must specify only one of the three parameters.
Use the -startlba parameter to specify a starting Logical Block Address (LBA). Enter an LBA value from 0 - full disk size minus one. The parameter logs the first error found and then stops the command. By repeating this parameter, you can collect all of the instances where the VDisk copies are not identical.
During repairvdiskcopy command operation, the VDisk remains online. The I/O and synchronization operations are allowed while the command is in progress.
The rate for the repairvdiskcopy command is controlled by the synchronization rate of the VDisk that is being repaired. To suspend the repair process, set the synchronization rate of the VDisk to 0 using the chvdisk command.
An invocation example
svctask repairvdiskcopy -resync vdisk8
The resulting output
No feedback