![]() |
< Previous | Next > |
Product: File System Manual Pages for Storage Foundation | |
Manual: Library Functions (3) |
vxfs_vol_removeNAMEvxfs_vol_remove - remove a volume from a multi-volume file system SYNOPSIScc -I /opt/VRTS/include -L /opt/VRTS/lib -l vxfsutil -ldld #include <sys/types.h> #include <vxfsutil.h> int vxfs_vol_remove(int fd, char *volname); AVAILABILITYDESCRIPTIONvxfs_vol_remove() removes the component volume with the specified volume volname from the file system. The file descriptor fd can specify any file in the file system. CLUSTER FILE SYSTEM ISSUESFor a cluster mounted file system, you must call vxfs_vol_remove() from the primary node of the cluster, and the primary must be mounted with read and write access. vxfs_vol_remove() fails if called from one of the secondary mounts. You can use the fsclustadm showprimary mount_point command to determine which cluster node is the primary before you call vxfs_vol_remove(). NOTESIn the current implementation, the specified volume must be empty before it can be removed. RETURN VALUESvxfs_vol_remove() returns zero on success, non-zero on failure. ERRORSThere was insufficient space to perform the operation. The calling process does not have correct access privileges. An I/O error occurred during the operation. SEE ALSOvxfs_ap_assign_ckpt (3), vxfs_ap_assign_file (3), vxfs_ap_assign_fs (3), vxfs_ap_define (3), vxfs_ap_remove (3), vxfs_ap_enforce_file (3), vxfs_ap_enumerate (3), vxfs_ap_query (3), vxfs_ap_query_ckpt (3), vxfs_ap_query_file (3), vxfs_ap_query_fs (3), vxfs_vol_add (3), vxfs_vol_deencapsulate (3), vxfs_vol_encapsulate (3), vxfs_vol_enumerate (3), vxfs_vol_resize (3), vxfs_vol_stat (3) |
^ Return to Top | < Previous | Next > |
Product: File System Manual Pages for Storage Foundation | |
Manual: Library Functions (3) | |
VERITAS Software Corporation
www.veritas.com |