Title and Copyright Information
 
About This Manual
Audience
New and Changed Features
Organization
Related Documentation
Reader's Comments
Conventions
 
1    Configuring the File System
1.1    What is AdvFS?
1.2    License Registration
1.3    File System Design
1.3.1    Filesets, Domains, and Volumes
1.3.2    Transaction log file
1.3.3    File Storage Allocation
1.4    Setting Up an AdvFS File System
1.5    Volumes
1.5.1    Volume Attributes
1.6    Domains
1.6.1    Configuring Domains
1.6.2    The /etc/fdmns Directory
1.6.3    Version 5.0 Domains
1.6.3.1    Creating a Domain with DVN4
1.6.3.2    Upgrading a Domain to DVN4
1.6.4    Displaying Domain Information
1.6.5    Creating a Domain
1.6.6    Increasing the Size of a Domain
1.6.7    Reducing the Size of a Domain
1.6.8    Removing a Domain
1.6.9    Renaming a Domain
1.7    Filesets
1.7.1    Configuring Filesets
1.7.2    Designating Filesets in the /etc/fstab File
1.7.3    Displaying Fileset Information
1.7.4    Creating a Fileset
1.7.5    Upgrading a Fileset
1.7.6    Mounting a Fileset
1.7.7    Unmounting a Fileset
1.7.8    Removing a Fileset
1.7.9    Renaming a Fileset
1.7.10    Changing the Characteristics of a Fileset
1.7.11    AdvFS Fileset Clones
1.7.11.1    Creating an AdvFS Fileset Clone
1.7.11.2    Mounting and Unmounting an AdvFS Fileset Clone
1.7.11.3    Removing an AdvFS Fileset Clone
1.7.11.4    Renaming an AdvFS Fileset Clone
1.8    Setting Up Trashcans
1.9    Configuring an AdvFS root File System
1.9.1    Mounting the root File System in Single-User Mode
1.9.2    Changing the Name of the root Domain
1.9.3    Changing the Name of the root Fileset
1.10    Using AdvFS with LSM
1.10.1    Setting Up AdvFS Using LSM Volumes
1.10.2    Using LSM for Data Redundancy
1.10.3    Striping LSM Volumes and Striping AdvFS Files
 
2    Managing Quotas
2.1    Introducing Quotas
2.1.1    Quota Limits
2.1.2    Grace Period
2.2    User and Group Quotas
2.2.1    Quota Files
2.2.2    Setting Quotas and Grace Periods
2.2.2.1    Setting User Quotas
2.2.2.2    Setting the User Grace Period
2.2.2.3    Setting Group Quotas
2.2.2.4    Setting the Group Grace Period
2.2.3    Setting Quotas for Multiple Users and Groups
2.2.3.1    Setting Quotas for Multiple Users
2.2.3.2    Setting Quotas for Multiple Groups
2.2.4    Verifying File and Disk Space Usage
2.2.4.1    Printing the Tag and Full Pathname for Each File
2.2.4.2    Summarizing Fileset Ownership
2.2.4.3    Displaying Disk Usage and Limits
2.2.4.4    Verifying Quota Consistency
2.2.4.5    Summarizing Quotas by Fileset
2.2.5    Activating Quotas at System Start-Up
2.2.6    Activating Quotas Manually
2.2.7    Deactivating Quotas
2.3    Fileset Quotas
2.3.1    Quota Files
2.3.2    Setting Quotas and Grace Periods
2.3.2.1    Setting Fileset Quotas
2.3.2.2    Setting the Grace Period
2.3.3    Setting Quotas for Multiple Filesets
2.3.4    Verifying File and Disk Space Usage
2.3.4.1    Displaying Fileset Space
2.3.4.2    Displaying Fileset Limits
2.3.4.3    Displaying Domain Space
2.3.4.4    Displaying Domain and Fileset Space
2.3.5    Activating Quotas
2.3.6    Deactivating Quotas
 
3    Backing Up and Restoring Data
3.1    Overview
3.2    Backing Up Data
3.2.1    Unique Features of the vdump Command
3.2.2    Backup Level
3.2.3    Dumping to Tape
3.2.4    Dumping to Standard Output
3.2.5    Dumping Subdirectories
3.2.6    Dumping to a File or Disk Partition
3.2.7    Compressing Savesets
3.2.8    Dumping with Error Protection
3.2.9    Listing Saved Files
3.2.10    Dumping and Restoring Files Remotely
3.3    Cloning for Online Backup
3.4    Cloning to Back Up Databases
3.5    Restoring Data
3.5.1    Unique Features of the vrestore Command
3.5.2    Restoring Files
3.5.3    Restoring Quotas
3.5.4    Restoring from a Tape with Many Savesets
3.6    AdvFS and NetWorker
 
4    Optimizing and Tuning the AdvFS File System
4.1    Monitoring Performance
4.2    Improving Performance by Disabling the Frag File
4.3    Improving Transaction Log File Performance
4.4    Improving Data Consistency
4.4.1    Asynchronous I/O
4.4.2    Asynchronous Atomic-Write Data Logging I/O
4.4.2.1    Persistent Atomic-Write Data Logging
4.4.2.2    Temporary Atomic-Write Data Logging
4.4.3    Synchronous I/O
4.4.4    Synchronous Atomic-Write Data Logging I/O
4.5    Data Cache Tuning
4.6    Improving Data Transfer Rate with Direct I/O
4.7    Changing Attributes to Improve System Performance
4.8    Defragmenting a Domain
4.8.1    Choosing to Defragment
4.8.2    Defragmenting Example
4.9    Defragmenting a File
4.10    Balancing a Multivolume Domain
4.10.1    Choosing to Balance
4.10.2    Balance Example
4.11    Moving Filesets to Different Volumes
4.12    Migrating Files to Different Volumes
4.12.1    Choosing to Migrate
4.12.2    Migrate Example
4.13    Striping Files
4.13.1    Choosing to Use AdvFS Striping on a File
4.13.2    AdvFS Stripe Example
4.13.3    Removing AdvFS Striping
4.14    Controlling Domain Panic Information
 
5    Troubleshooting
5.1    Checking Free Space and Disk Usage
5.2    Preventative Maintenance
5.2.1    Failing Disks
5.2.2    Verifying File System Consistency
5.3    Increasing the Size of an AdvFS root Domain
5.3.1    Installing a New Disk for the root Domain
5.3.2    Configuring a Device for Use as the root Volume
5.3.3    Backing up the Current root Domain
5.3.4    Recreating the root Domain on a Different Volume
5.4    Disk File Structure Incompatibility
5.4.1    Utility Incompatibility
5.4.2    Avoiding Metadata Incompatibility
5.5    Memory Mapping, Direct I/O, and Data Logging Incompatibility
5.6    Invalid or Corrupt Saveset Format
5.7    Improving Poor Performance
5.8    Fixing Disk Problems
5.8.1    Reusing Space
5.8.2    Limiting Disk Space Usage
5.8.3    Fixing On-Disk Metadata Corruptions
5.8.4    Recovering File Data from a Corrupted Domain
5.8.4.1    Salvaging Data to Disk
5.8.4.2    Salvaging Data to Tape
5.8.4.3    Salvaging Data from a Corrupted root Domain
5.8.4.4    Salvaging Data Block by Block
5.8.5    "Can't Clear a Bit Twice" Error Message
5.8.6    Recovering from a Domain Panic
5.8.7    Recovering from Filesets That are Mounted Read-Only
5.9    Restoring the /etc/fdmns Directory
5.9.1    Reconstructing the /etc/fdmns Directory Manually
5.9.2    Reconstructing the /etc/fdmns Directory Using advscan
5.10    Recovering from Corruption of a Domain
5.11    Recovering from Corruption of an AdvFS root Domain
5.11.1    Identifying the Hardware Resources
5.11.1.1    SRM Console Names for CD-ROM Drive or Network Interface Device
5.11.1.2    SRM Console Boot Device Name
5.11.1.3    UNIX Device Names
5.11.2    Applying the Procedure
5.12    Restoring a Multivolume usr Domain
5.13    Recovering from a System Crash
5.13.1    Saving Copies of System Metadata
5.13.2    Physically Moving an AdvFS Disk
5.13.3    Log File Inconsistency
5.13.4    Recovering from Problems Removing Volumes
 
A    Accessing File System Information with the SysMan Menu
 
B    AdvFS Commands
B.1    AdvFS Base System Commands
B.2    AdvFS Utilities Commands
B.3    Comparison of AdvFS and UFS Commands
 
C    Converting File Systems
C.1    Converting a /usr File System to AdvFS
C.1.1    Using a Backup Tape
C.1.2    Using an Intermediate File
C.1.3    Using a Second Disk
C.2    Converting the root File System to AdvFS
C.3    Converting a Data File System to AdvFS
C.3.1    Using a Backup Tape
C.3.2    Using an Intermediate File
C.3.3    Using a Second Disk
C.3.4    Using a Second System
C.4    Converting from AdvFS to UFS
C.4.1    Converting the root File System to UFS
C.4.2    Converting a Fileset to UFS
 
D    Graphical User Interfaces
D.1    Installing the AdvFS GUI
D.2    Components of the GUI
D.2.1    GUI Agent (advfsd)
D.2.2    AdvFS GUI (dtadvfs)
D.2.2.1    GUI Security
D.2.2.2    Ignoring Disks
D.2.2.3    Log Files
D.2.2.4    Help
D.2.2.5    Monitoring Remote File Systems
D.2.2.6    Managing LSM Volumes
D.3    Displaying File System Information
D.3.1    Choosing Units for Displaying Information
D.3.2    Main Window
D.3.3    Devices and Volumes Window
D.4    Performing File System Operations
D.4.1    Operations on a Domain
D.4.1.1    Creating a Domain
D.4.1.2    Setting a Free Space Alert for a Domain
D.4.1.3    Enlarging a Domain
D.4.1.4    Removing a Domain
D.4.1.5    Renaming a Domain
D.4.2    Operations on a Fileset
D.4.2.1    Creating a Fileset
D.4.2.2    Mounting a Fileset
D.4.2.3    Unmounting a Fileset
D.4.2.4    Setting a Free Space Alert for a Fileset
D.4.2.5    Setting Fileset Quotas
D.4.2.6    Removing a Fileset
D.4.2.7    Renaming a Fileset
D.4.3    Operations on an AdvFS Fileset Clone
D.4.3.1    Creating an AdvFS Fileset Clone
D.4.3.2    Mounting a Clone
D.4.3.3    Unmounting a Clone
D.4.3.4    Removing a Clone
D.4.4    Operations on a Volume
D.4.4.1    Setting a Free Space Alert for a Volume
D.4.4.2    Adding a Volume
D.4.4.3    Removing a Volume
D.4.5    Maintaining AdvFS
D.4.5.1    Balancing a Multivolume Domain
D.4.5.2    Defragmenting a Domain
D.5    GUI Operation
 
E    Using Controller-Based Cloning and Snapshotting
 
Glossary
 
Figures
1-1    AdvFS File System Design
1-2    Single-Volume Domain
1-3    Enlarging a Domain
1-4    Cloning a Fileset
4-1    Balancing a Domain
4-2    Migrating Files
 
Tables
1-1    Trashcan Commands
2-1    Quota Size Limits
2-2    User and Group Usage Commands
5-1    Disk Space Usage Commands
5-2    Fileset Anomalies and Corrections - Links Not Equal
5-3    Fileset Anomalies and Corrections - Domain Volume Count Not Equal
5-4    Fileset Anomalies and Corrections - Number of Partitions Not Equal
B-1    AdvFS Configuration Commands
B-2    AdvFS Information Display Commands
B-3    AdvFS Backup Commands
B-4    AdvFS Check and Repair Commands
B-5    AdvFS Quota Commands
B-6    AdvFS Disk Structure Commands
B-7    AdvFS Utilities Commands
B-8    Comparison of AdvFS and UFS Commands
D-1    AdvFS GUI Subsets
D-2    Disk Space Requirements for the AdvFS GUI
D-3    GUI Troubleshooting
 
Index