Please enter search query.
Search <book_title>...
Veritas™ File System Programmer's Reference Guide - Solaris
Last Published:
2018-08-24
Product(s):
InfoScale & Storage Foundation (7.2)
Platform: Solaris
- Veritas File System software developer's kit
- File Change Log
- About the File Change Log file
- Record types
- File Change Log tunables
- Application programming interface for File Change Log
- API functions
- File Change Log record
- Copying File Change Log records
- Veritas File System and File Change Log upgrade and downgrade
- Reverse path name lookup
- Multi-volume support
- Named data streams
- Veritas File System I/O
- Caching advisories
- Extents
- Thin Reclamation
Creating and assigning policies
The following function calls create and assign a policy using the multi-volume API.
To define a policy for a file system, use the following function call:
vxfs_ap_define(fd, fsap_info_ptr, 0);
To assign a policy to a file system, use the following function call:
vxfs_ap_assign_fs(fd, data_policy, meta_policy);
To assign a policy to a file or directory, use the following function call:
vxfs_ap_assign_file(fd, data_policy, meta_policy, 0);
To assign a policy to a Storage Checkpoint, use the following function call:
vxfs_ap_assign_ckpt(fd, checkpoint_name, data_policy, meta_policy);
To assign a policy to all Storage Checkpoints, use the following function call:
vxfs_ap_assign_ckptchain(fd, data_policy, meta_policy);
To set the default allocation policies for newly created Storage Checkpoints, use the following function call:
vxfs_ap_assign_ckptdef(fd, data_policy, meta_policy);