![]() |
< Previous | Next > |
Product: File System Manual Pages for Storage Foundation | |
Manual: Library Functions (3) |
vxfs_vol_resizeNAMEvxfs_vol_resize - resize a specific volume within 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_resize(int fd, char *volname, uint64_t newsize); AVAILABILITYDESCRIPTIONvxfs_vol_resize() changes the amount of space available to a file system in a component volume specified by the volume volname. The size of the new component volume must be at least newsize (specified in bytes). The file descriptor fd can be any file in the file system. NOTESIn the current implementation, if there is data in the part of the volume that is shrinking, the resize operation will fail. RETURN VALUESvxfs_vol_resize() returns zero on success, non-zero on failure. ERRORSThere was not enough space to expand the structural files to represent the new blocks in the device. The calling process does not have correct access privileges. An I/O error occurred during 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_remove (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 |