Modifying a volume within a file system
The following function calls modify a volume within a file system.
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);