Veritas™ File System 5.0.1 Programmer's Reference Guide

To grow or shrink a volume
To grow or shrink a volume, use the following function call:
vxfs_vol_resize(fd, vol_name, new_vol_size);
To remove a volume from a file system
To remove a volume from a file system, use the following function call:
vxfs_vol_remove(fd, vol_name);
Add a volume to a file system
To add a volume to a file system, use the following function call:
vxfs_vol_add(fd, new_vol_name, new_vol_size);
Encapsulationg and de-encapsulating a volume
The following function calls encapsulate a volume.
To encapsulate a raw volume
To encapsulate an existing raw volume and make the volume contents appear
as a file in the file system, use the following function call:
vxfs_vol_encapsulate(encapsulate_name, vol_name, vol_size);
To de-encapsulate a raw volume
To de-encapsulate an existing raw volume to remove the file from the file
system, use the following function call:
vxfs_vol_deencapsulate(encapsulate_name);
See the Veritas File System Administrators Guide.
Allocation policy application programming interfaces
To make full use of multi-volume support features, VxFS supports allocation
policies that allow files or groups of files to be assigned to specified volumes within
the volume set.
An allocation policy specifies a list of volumes and the order in which to attempt
allocations. A policy can be assigned to a file, file system, or Storage Checkpoint
created from a file system. When policies are assigned to objects in the file system,
you must specify how the policy maps to both metadata and file data. For example,
Multi-volume support
Allocation policy application programming interfaces
54