gluster-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gluster-devel] Determine volume size and usage


From: Shyamsundar Ranganathan
Subject: Re: [Gluster-devel] Determine volume size and usage
Date: Thu, 21 Nov 2013 23:42:20 -0500 (EST)

----- Original Message -----
> From: "Brad Childs" <address@hidden>
> To: address@hidden
> Sent: Friday, November 22, 2013 12:19:22 AM
> Subject: [Gluster-devel] 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
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/gluster-devel
> 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]