The UNSCRATCHVOL command unscratches a volume that was previously scratched and is in the SCRATCH state. The only time you would use this command is when you have unintentionally scratched (erased) a volume that has necessary information on it. This command allows the user to undo the effects of a SCRATCHVOL command.
Task |
 |
Removes a volume from the SCRATCH state.
Capability |
 |
CV, create mountable volume set.
Syntax |
 |
Parameters |
 |
- ldev
A number from 1 to 100 specifying the logical device number of the volume to be unscratched. Only volumes in the SCRATCH state can be unscratched. Required.
Example |
 |
This example shows how to use the UNSCRATCHVOL command to undo the SCRATCHVOL command and place a volume in the LONER state.
volutil: UNSCRATCHVOL LDEV=23
*Verify: Unscratch volume on ldev 23 [Y/N] ? Y
*Note: Scratched volume has been unscratched on ldev 23
volutil: :DSTAT ALL
LDEV-TYPE STATUS VOLUME (VOLUME SET - GEN)
--------- ------- ---------------------------
1-079350 MASTER MEMBER1 (MPEXL_SYSTEM_VOLUME_SET-0)
2-079350 MEMBER MEMBER2 (MPEXL_SYSTEM_VOLUME_SET-0)
21-079330 LONER BVOL1 (BSET-0)
22-079350 LONER BVOL2 (BSET-0)
23-079350 LONER BVOL3 (BSET-0)
|