CONTENTS Title Page Copyright Page Preface 1 Overview 1.1 Product Description 1.1.1 Features 1.1.2 Operational Overview 1.1.3 User Interface 1.1.3.1 Scheduling Database and Database Interface 1.1.3.2 Scheduler 1.1.3.3 Defragmentation Process 1.2 Basic File and File System Concepts 1.2.1 File Header Information 1.2.2 Extent Mapping Windows 1.2.3 Cathedral Window 1.3 Discovering File Fragmentation 1.4 File Defragmentation and VMS Backup 2 Installation 2.1 Preinstallation Checklist 2.2 Installation Variants 2.3 Required VMS Version 2.4 License Registration 2.5 VAXcluster System Considerations 2.6 Installation Procedure Requirements 2.6.1 Privileges and Disk Space 2.7 Minimum System Parameter Values 2.8 Process Account Quotas 2.9 The Installation Procedure 2.10 Error Recovery 2.11 After Installing the DEC File Optimizer 2.12 Running the IVP Separately 2.13 Editing the System Startup/Shutdown Files 2.14 User Account Requirements 2.15 Reporting Problems 2.16 Sample Installation 2.17 Files Added to System by the DEC File Optimizer 2.18 Logical Names 3 Using the DEC File Optimizer 3.1 General Guidelines 3.2 Scripts 3.2.1 Script Naming Conventions 3.2.2 Creating and Using Scripts 3.3 Examples of Creating and Using Scripts 3.3.1 Creating Log Files 3.3.2 Analyzing Your Disk 3.3.3 Creating a Named, Periodic Script 3.3.4 Copying Scripts 3.3.5 Modifying Scripts 3.3.6 Linking Scripts 3.3.7 Saving Database Contents 3.3.8 Re-creating the Database 3.3.9 Using Hotfiles Information 3.3.10 Cluster Management 3.4 Error Recovery Procedures 4 Commands 4.1 DEC File Optimizer Command Set DEFRAGMENT ABORT DEFRAGMENT CANCEL DEFRAGMENT DISABLE DEFRAGMENT ENABLE DEFRAGMENT MONITOR DEFRAGMENT REMOVE DEFRAGMENT SET DEFRAGMENT SHOW DEFRAGMENT START DEFRAGMENT VOLUME A Brief Log File Example B Full Log File Example C Design Overview C.1 Introduction C.2 Software Components Overview C.3 DCL Interface C.4 DFG$DEFRAGMENT C.5 Scheduling Database C.5.1 Main Relations C.5.1.1 ENGINE_PROPERTIES Relation C.5.1.2 GENERAL_INFO Relation C.5.1.3 QUEUE Relation C.5.1.4 SCRIPTS Relation C.5.2 Auxiliary Relations C.5.2.1 Name Translation Relations C.5.2.2 List Relations C.6 Scheduler C.7 Global Section C.7.1 Format of the Global Section C.7.2 Data Stored in the Global Section C.8 Monitor C.9 Defragmentation Process C.9.1 General Information C.9.2 Defragmentation Process Phases C.9.2.1 File Evaluation C.9.2.2 Defragmentation Preprocessing C.9.2.3 File Defragmentation and Placement C.10 Functional Overview D Callable Interface DFG$DEFRAGMENT E Defragmentation Messages E.1 General Message Information E.1.1 Linked Messages E.1.2 Recovery Procedures E.1.3 Recovering from Command Entry Errors E.1.4 Reporting System Software or Hardware Errors E.2 DEC File Optimizer Messages EXAMPLES 1-1 Viewing Retrieval Pointers Using the Dump Utility 2-1 Sample Installation 4-1 MYOPTFILE.OPT File Contents A-1 Brief Log File B-1 Full Log File D-1 Calling DFG$DEFRAGMENT from VAX MACRO D-2 Calling DFG$DEFRAGMENT from VAX C D-3 Calling DFG$DEFRAGMENT from VAX FORTRAN FIGURES 1-1 Command Operation 1-2 File Fragmentation Example 1-3 Allocating Fragmented Files 4-1 Process Display 4-2 Device Display 4-3 Process Display with Message Display C-1 Global Section General Format D-1 ITEM_LIST_3 Descriptor D-2 Creating a DFG$K_XXXX Item with Descriptor List D-3 Flags and Inherit Enable D-4 Show Script Data Buffer TABLES 1-1 Features 2-1 Differences in Installation Variants 2-2 Disk Space Requirements 2-3 Minimum System Parameter Values 2-4 Process Account Quotas for the Installing Account 2-5 Logical Names 3-1 Sample Time Interval 4-1 DEC File Optimizer Command Summary C-1 Scheduler Actions and Action-Type Field E-1 Severity Indicators