The DSECTORSVOL command finds defective disk sectors and lists them in the bad sector table. Sectors in the bad sector table will be recovered at system startup or whenever a volume is mounted. Execute this command when you get read and write errors on the volume.
 |
 |  |
 |
 | CAUTION: Use this command when there is no system activity and when the only user is the system manager. |
 |
 |  |
 |
Task |
 |
Finds defective sectors on a disk.
Capability |
 |
SM, system manager
Syntax |
 |
DSECTORSVOL [VOL=] {ldev
[sname:]vname}
|
Parameters |
 |
- ldev
A number from 1 to 100 specifying the logical device number of the volume that will be processed. Optional.
- sname
The volume set containing the volume to be processed. If omitted, the current default volume set is used. Optional.
- vname
The volume to be processed. The volume must already be initialized. Optional.
Example |
 |
This example shows how to recover defective disk sectors.
Use the DSTAT ALL command to verify that the volumes are online in the MASTER or MEMBER state.
Use the DSECTORSVOL command to check MEMBER1 for files that span defective sectors.
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 MASTER BVOL1 (BSET-0)
22-079330 MEMBER BVOL2 (BSET-0)
23-079350 MEMBER BVOL6 (BSET-0)
volutil: DSECTORSVOL MPEXL_SYSTEM_VOLUME_SET:MEMBER1
|