Veritas Access Appliance Administrator's Guide
- Section I. Introducing Access Appliance
- Section II. Configuring Access Appliance
- Managing users
- Configuring the network
- Configuring authentication services
- Configuring user authentication using digital certificates or smart cards
- Section III. Managing Access Appliance storage
- Configuring storage
- Managing disks
- Access Appliance as an iSCSI target
- Configuring storage
- Section IV. Managing Access Appliance file access services
- Configuring the NFS server
- Setting up Kerberos authentication for NFS clients
- Using Access Appliance as a CIFS server
- About configuring CIFS for Active Directory (AD) domain mode
- About setting trusted domains
- About managing home directories
- About CIFS clustering modes
- About migrating CIFS shares and home directories
- About managing local users and groups
- Using Access Appliance as an Object Store server
- Configuring the NFS server
- Section V. Managing Access Appliance security
- Section VI. Monitoring and troubleshooting
- Configuring event notifications and audit logs
- About alert management
- Appliance log files
- Configuring event notifications and audit logs
- Section VII. Provisioning and managing Access Appliance file systems
- Creating and maintaining file systems
- Considerations for creating a file system
- About managing application I/O workloads using maximum IOPS settings
- Modifying a file system
- Managing a file system
- Creating and maintaining file systems
- Section VIII. Provisioning and managing Access Appliance shares
- Creating shares for applications
- Creating and maintaining NFS shares
- About the NFS shares
- Creating and maintaining CIFS shares
- About the CIFS shares
- About managing CIFS shares for Enterprise Vault
- Integrating Access Appliance with Data Insight
- Section IX. Managing Access Appliance storage services
- Configuring episodic replication
- Episodic replication job failover and failback
- Configuring continuous replication
- How Access Appliance continuous replication works
- Continuous replication failover and failback
- Using snapshots
- Using instant rollbacks
- Configuring episodic replication
- Section X. Reference
Defragmenting a file system
You can either defragment a file system now or you can schedule a defragment job for a file system.
To defragment a file system
- To defragment a file system, enter the following:
Storage> fs defrag now fs_name time [defrag_level]
fs_name
Specifies the name of the file system that you want to defragment.
Note:
The specified file system must be online before attempting to defragment the file system.
time
Specifies the maximum time to run. The defragmentation options are processed until defragmentation is complete, or until the time limit expires. The time value should be larger than one minute.
Potential time value output and what the values mean:
10M - indicates 10 minutes
1H20M - indicates 1 hour and 20 minutes
Infinite - indicates the defragmentation process continues to run until the defragmentation process is done completely.
There is no limit time.
defrag_level
Specifies the defragmentation level such as
dir
,extent
, orall
.
To schedule a defragment job for a file system.
- Create a defrag schedule job for a file system that reoccurs once a week:
Storage> fs defrag schedule create sched_name sched_duration \ minute [hour] [day_of_the_month] \ [month] [day_of_the_week]
sched_name
Specifies the the name of the schedule.
sched_duration
Specifies the duration of the defragmenatation job.
minute
Specifies the minute (0-59).
hour
Specifies the hour (0-23).
day_of_the_month
Specifies the day of the month (1-31).
month
Specifies the month of the year (1-12).
day_of_the_week
Specifies the day of the week (0-6 with 0=Sunday).
For example:
Create a defrag schedule called
schedule1
that runs at 11:00 pm every Saturday for a duration of 2 hours.Storage> fs defrag schedule create schedule1 2 0 23 * * 6
The number 2 after schedule1 is the duration of how long the defrag schedule will run. 0 indicates minutes and 23 is the hour for which the defrag schedule will run.
- Show the defrag schedule details:
Storage> fs defrag schedule show sched_name
For example:
- Start the defrag schedule job for a file system:
Storage> fs defrag schedule start fs_name sched_name
- List the scheduled defrag job status for a file system:
Storage> fs defrag schedule list fs_name