Veritas Access 7.3 Administrator's Guide
- Section I. Introducing Veritas Access
- Section II. Configuring Veritas Access
- Adding users or roles
- Configuring the network
- Configuring authentication services
- Section III. Managing Veritas Access storage
- Configuring storage
- About Flexible Storage Sharing
- Configuring data integrity with I/O fencing
- Configuring ISCSI
- Configuring storage
- Section IV. Managing Veritas Access file access services
- Configuring your NFS server
- Setting up Kerberos authentication for NFS clients
- Using Veritas Access as a CIFS server
- About Active Directory (AD)
- 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
- Configuring Veritas Access to work with Oracle Direct NFS
- Configuring an FTP server
- Configuring your NFS server
- Section V. Managing the Veritas Access Object Store server
- Section VI. Monitoring and troubleshooting
- Section VII. Provisioning and managing Veritas Access file systems
- Creating and maintaining file systems
- Considerations for creating a file system
- Modifying a file system
- Managing a file system
- Creating and maintaining file systems
- Section VIII. Configuring cloud storage
- Configuring the cloud gateway
- Configuring cloud as a tier
- About policies for scale-out file systems
- Section IX. Provisioning and managing Veritas Access shares
- Creating shares for applications
- Creating and maintaining NFS shares
- Creating and maintaining CIFS shares
- Using Veritas Access with OpenStack
- Section X. Managing Veritas Access storage services
- Deduplicating data
- Compressing files
- About compressing files
- Compression tasks
- Configuring SmartTier
- Configuring SmartIO
- Configuring replication
- Replication job failover and failback
- Using snapshots
- Using instant rollbacks
- Configuring Veritas Access with the NetBackup client
- Section XI. Reference
Setting file system alerts
For a file system to run efficiently, you should always reserve some space for the file system rather than using 100% of the space. You can set file system alerts based on file system or snapshot usage. You can set the alert based on the number of inodes used, file system space used, or snapshot usage.
File system alerts can be displayed by using the Report> showevents command.
To set file system alerts
- To set file system alerts, enter the following:
Storage> fs alert set numinodes | numspace | fullspace | fullinodes value [fs_name,...] [snapshot_name]
numinodes | When setting the alert for numinodes, value is the number of inodes used. The default alert value for numinodes is set at 0. An alert will not be sent until you set it to a different value. |
numspace | When setting the alert for numspace, value is the percentage you want to set to trigger the alert. By default, the alert is sent at 80%. If you do not specify a file system name, the default value is modified. |
fullspace | fullspace is the tunable for setting an alert if the file system becomes full. When file system usage is above the limit set by the fullspace tunable, all the NFS/CIFS shares on the file system are automatically changed to read-only to prevent the file system from becoming full again. When you grow the file system or delete some files to free up space, the NFS/CIFS shares are automatically changed back to read-write (there might be a delay of up to five minutes) for the change to occur. Note: The file system size is checked every five minutes. During this five-minute interval, if the usage of the file system grows to more than 80%, the NFS/CIFS shares are changed to read-only. If the file system is small and write I/O is fast, then the file system can be filled up to 100% before being changed to read-only. This is by design. By default, the fullspace tunable is set to 0, which means that the fullspace tunable is disabled. |
fullinodes | fullinodes is the tunable for setting an alert if the file system becomes full. When inodes on a file system reach the limit of fullinodes, the NFS/CIFS shares on the file system are automatically changed to read-only. After the file system is changed to read-only, you need to delete some files from the file system, and a remount of the file system may be required for the NFS/CIFS shares to be changed to read-write. By default, the fullinodes tunable is set to 0, which indicates that the fullinodes tunable is disabled. |
fs_name | Name of the file system for which you want to set the file system alerts. fs_name is optional. To specify multiple file systems, use commas to separate the file system names. |
snapshot_name | Name of the snapshot for which you want to set the file system alert. Note: The following are reserved words for snapshot_name: flags, ctime, and mtime. |
Examples of alerts:
NUMSPACE alerts in Report> showevents
2011 Nov 14 23:55:02 [CLUS_01,alert,master] [[fs alert]] numspace set at 70(%) crossed for File System fs1, current usage 98(%)
NUMINODES alert in Report> showevents
2011 Nov 15 00:05:22 [CLUS_01,alert,master] [[fs alert]] numinodes set at 2000 crossed for File System fs1, current usage 7768
Examples for setting alerts that are file-system specific:
Storage> fs alert set numinodes 2M fs1 ACCESS fs SUCCESS V-288-663 Alert of type [ numinodes ] set to 2M on the file system fs1
Storage> fs alert set numinodes 2M ACCESS fs SUCCESS V-288-663 Default Alert on the file systems of type [ numinodes ] set to 2M
Examples for default alerts:
Storage> fs alert set numspace 80 fs1 ACCESS fs SUCCESS V-288-663 Alert of type [ numspace ] set to 80 on the file system fs1
Storage> fs alert set numspace 60 ACCESS fs SUCCESS V-288-663 Default Alert on the file systems of type [ numspace ] set to 60
Example for setting a fullspace alert:
Storage> fs alert set fullspace 98 ACCESS fs SUCCESS V-288-1805 Default Alert on the file systems of type [ fullspace ] set to 98 Storage> fs alert unset fullspace ACCESS fs SUCCESS V-288-1740 Alert of type [ fullspace ] set to default value 0 (%)
Example for setting a fullinodes alert:
storage> fs alert set fullinodes 50000000 ACCESS fs SUCCESS V-288-1805 Default Alert on the file systems of type [ fullinodes ] set to 50000000 Storage> fs alert show File System Alert Type Value Current Usage ==================== ========== ========= ============= fs2 numspace 85% (D) 75% fs2 numinodes 0 (D) 110215 fs2 fullspace 98% (D) 75% fs2 fullinodes 50000000 (D) 110215 share1 numspace 85% (D) 80% share1 numinodes 0 (D) 8044 share1 fullspace 98% (D) 80% share1 fullinodes 50000000 (D) 8044