[Gluster-devel] The "df" command again

Amar S. Tumballi amar at zresearch.com
Fri May 2 00:59:17 UTC 2008


On Thu, May 1, 2008 at 5:37 PM, Brandon Lamb <brandonlamb at gmail.com> wrote:

> Was there an option added somewhere to be able to choose whether to
> dispaly the least or most amount of disk space? I added info on this
> to the AFR things to know on the wiki, but I was wondering if maybe
> there was actually an option of how glusterfs displays that info.
>
There is no behavior option for 'df' in glusterfs. Its a question of what is
right. For example,
* unify shows unified space.
* stripe shows unified space.
* afr shows 'df' from one node.

So, here we don't have any doubts about what to show in case of unify and
stripe. But in afr the question of which subvolume comes. Earlier as user
had the option of 'option replicate *' in afr, showing the df of first
subvolume made sense. But with uniform distribution of afr data now, we have
to show the 'df' from the subvolume which had minimum free disk.

Currently 1.3.8 shows df from first subvolume. But, the patch to show the
'df' from the subvolume with min free disk space has gone into archive.

Regards,

-- 
Amar Tumballi
Gluster/GlusterFS Hacker
[bulde on #gluster/irc.gnu.org]
http://www.zresearch.com - Commoditizing Super Storage!



More information about the Gluster-devel mailing list