|
VMS Help DEFRAGMENT, OFFLINE_VOLUME, Examples *Conan The Librarian |
The following examples illustrate how to use the OFFLINE_VOLUME
subcommand and its qualifiers.
1.$ DEFRAGMENT OFFLINE_VOLUME $1$DKB100:-
/SCRIPT=DEFRAG_OFFLINE_USER1-
/NOAFTER
$ DISMOUNT/CLUSTER $1$DKB100:
$ MOUNT/OVER=ID $1$DKB100:
$ ANALYZE/DISK_STRUCTURE $1$DKB100:
$ DISMOUNT $1$DKB100:
$ DEFRAGMENT START DEFRAG_OFFLINE_USER1
$ MOUNT/OVER=ID $1$DKB100:
$ ANALYZE/DISK_STRUCTURE $1$DKB100:
$ DISMOUNT $1$DKB100:
$ MOUNT/CLUSTER $1$DKB100: USER1
In this example, the following is performed:
1. Create script to defragment INDEXF.SYS on volume
2. Dismount volume from the cluster
3. Mount volume privately to analyze disk structure
4. Check volume for readability and validity of Files-11
structure information
5. Dismount volume to defragment INDEXF.SYS
6. Start OFFLINE_VOLUME script
7. Mount volume privately to analyze disk structure
8. Check volume for readability and validity of Files-11
structure information
9. Dismount volume
10. Mount volume into the cluster
|
|