![]() |
< Previous |
Product: File System Manual Pages for Storage Foundation | |
Manual: Library Functions (3) |
vxfs_vol_statNAMEvxfs_vol_stat - return free space information about a component 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_stat(int fd, char *volname, struct fsdev_info *infop); AVAILABILITYDESCRIPTIONvxfs_vol_stat() returns information on the specified volume of a multi-volume file system. Information is returned on the total number of bytes available to VxFS in the component volume with volume volname. vxfs_vol_stat() also returns the number of bytes not yet allocated to files. The size of the device available is returned in sizep and the amount of available free space is returned in freep. The file descriptor fd must specify any file in the file system. EXAMPLESstruct fsdev_info { int dev_id; uint64_t dev_size; uint64_t dev_free; uint64_t dev_avail; char dev_name[FSDEV_NAMESZ]; }; RETURN VALUESvxfs_vol_stat() returns zero on success, non-zero on failure. ERRORSThe specified volume name does not exist. 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_resize (3) |
^ Return to Top | < Previous |
Product: File System Manual Pages for Storage Foundation | |
Manual: Library Functions (3) | |
VERITAS Software Corporation
www.veritas.com |