Thanks Niels, I've opened https://github.com/gluster/glusterfs-coreutils/issues/32
Prashanth, afaik "details" only shows disk space (free/total) of the underlying partition. I've got loads of volumes on the same partition. -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro ----- Original Message ----- > From: "Niels de Vos" <[email protected]> > To: "Nux!" <[email protected]> > Cc: "Mohammed" <[email protected]>, "gluster-users" > <[email protected]>, "Gluster Devel" > <[email protected]> > Sent: Wednesday, 26 April, 2017 10:45:02 > Subject: Re: [Gluster-devel] Finding size of volume > On Wed, Apr 26, 2017 at 10:29:09AM +0100, Nux! wrote: >> Hello, >> >> No, not as client. I want to get the size of all the volumes on my cluster. >> I had hoped "gluster volume status detail" would tell me this, but it does >> not. >> I need to mount all the volumes and run df to find out. >> >> I am not a coder, not sure how to use gfapi. > > If glusterfs-coreutils does not provide a "df" functionality yet, it > should be easy to add it. You can request it through a GitHub issue on > https://github.com/gluster/glusterfs-coreutils/ > > Thanks, > Niels > > >> >> -- >> Sent from the Delta quadrant using Borg technology! >> >> Nux! >> www.nux.ro >> >> ----- Original Message ----- >> > From: "Mohammed Rafi K C" <[email protected]> >> > To: "Nux!" <[email protected]>, "gluster-users" <[email protected]> >> > Cc: "Gluster Devel" <[email protected]> >> > Sent: Wednesday, 26 April, 2017 10:26:35 >> > Subject: Re: [Gluster-devel] Finding size of volume >> >> > I assume that you want to get the size from a client machine, rather >> > than nodes from trusted storage pools. If so, you can use gfapi to do a >> > fstat and can get the size of the volume. >> > >> > >> > Regards >> > >> > Rafi KC >> > >> > >> > On 04/26/2017 02:17 PM, Nux! wrote: >> >> Hello, >> >> >> >> Is there a way with gluster tools to show size of a volume? >> >> I want to avoid mounting volumes and running df. >> >> >> >> -- >> >> Sent from the Delta quadrant using Borg technology! >> >> >> >> Nux! >> >> www.nux.ro >> >> _______________________________________________ >> >> Gluster-devel mailing list >> >> [email protected] >> > > http://lists.gluster.org/mailman/listinfo/gluster-devel >> _______________________________________________ >> Gluster-devel mailing list >> [email protected] > > http://lists.gluster.org/mailman/listinfo/gluster-devel _______________________________________________ Gluster-users mailing list [email protected] http://lists.gluster.org/mailman/listinfo/gluster-users
