----- Original Message ----- > From: "Brad Childs" <bdc@xxxxxxxxxx> > To: gluster-devel@xxxxxxxxxx > Sent: Friday, November 22, 2013 12:19:22 AM > Subject: Determine volume size and usage > > How can I figure out the total space and used space (or free space) on a > Gluster Volume? The 'df' command returns a value for mounted volumes, so > its go to be available somewhere. But I don't want to FUSE mount the volume > just to figure out its size. > > Bonus points if this can be done through libgfapi. glfs_statvfs should help from a libgfapi perspective. Returns statvfs buffer with relevant data (man 3 statvfs) Shyam > > -bc > > > _______________________________________________ > Gluster-devel mailing list > Gluster-devel@xxxxxxxxxx > https://lists.nongnu.org/mailman/listinfo/gluster-devel >