LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-25-2010, 02:08 AM   #1
langner
LQ Newbie
 
Registered: Aug 2010
Location: Netherlands
Distribution: Debian
Posts: 9

Rep: Reputation: 0
Glusterfs free space with df


Irrelevant of the amoung of data in the volume, for some reason I always see zero usage of my glusterfs volume using df:

Code:
me@machine:~$ df -h | grep gluster
glusterfs#/etc/glusterfs/glusterfs.vol
                      8.9T     0  8.9T   0% /glusterfs
I am using the 'distribute' mode. Is this normal, or can it be mu configuration? Has anyone else had this problem?

Last edited by langner; 11-02-2010 at 01:56 AM. Reason: formatting
 
Old 11-01-2010, 11:25 AM   #2
quanta
Member
 
Registered: Aug 2007
Location: Vietnam
Distribution: RedHat based, Debian based, Slackware, Gentoo
Posts: 724

Rep: Reputation: 101Reputation: 101
Please give us the output of `gluster volume info` command? Did you try to test by listing the content of mount dir?
 
Old 11-02-2010, 01:55 AM   #3
langner
LQ Newbie
 
Registered: Aug 2010
Location: Netherlands
Distribution: Debian
Posts: 9

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by quanta View Post
Please give us the output of `gluster volume info` command? Did you try to test by listing the content of mount dir?
I tested before, yes. And 'du' for example shows more than 1T of data:
Code:
me@machine# du -h --max-depth=1
80K     ./dir1
80K     ./dir2
80K     ./dir3
46G     ./dir4
1.1T    ./dir5
1.1T    .
While 'df -h' still gives a 0% reading, the inodes are counted up:
Code:
me@machine# df -ih | grep gluster
glusterfs#/etc/glusterfs/glusterfs.vol
                        1.2G    1.4M    1.2G    1% /glusterfs
I now realize that I have compiled glusterfs 2.0.9 and not 3.0.x, and I do not have the 'gluster' command. Is that new to 3.0.x? I suppose I should compile the new version to se if this behavior persists.
 
Old 11-02-2010, 02:43 AM   #4
quanta
Member
 
Registered: Aug 2007
Location: Vietnam
Distribution: RedHat based, Debian based, Slackware, Gentoo
Posts: 724

Rep: Reputation: 101Reputation: 101
Quote:
Originally Posted by langner View Post
I now realize that I have compiled glusterfs 2.0.9 and not 3.0.x, and I do not have the 'gluster' command. Is that new to 3.0.x? I suppose I should compile the new version to se if this behavior persists.
I've searched glusterfs available in CentOS repo and found the below:
Code:
glusterfs-client.i386 : GlusterFS Client
glusterfs-common.i386 : GlusterFS common files for both the client and the server
glusterfs-devel.i386 : GlusterFS Development Libraries
glusterfs-server.i386 : GlusterFS Server
Those have version 2.0.x. The package name is different from homepage. Therefore, I suppose that there are many changes from 2.0.x to the latest version - 3.1. In the 2.0.x there are only 3 commands: glusterfs, glusterfsd, glusterfs-volgen while the latest version added: gluster, glusterd, glusterfs-defrag. I suggest you install the latest version and let me know if it works.
 
Old 11-03-2010, 04:31 AM   #5
langner
LQ Newbie
 
Registered: Aug 2010
Location: Netherlands
Distribution: Debian
Posts: 9

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by quanta View Post
I've searched glusterfs available in CentOS repo and found the below:
Code:
glusterfs-client.i386 : GlusterFS Client
glusterfs-common.i386 : GlusterFS common files for both the client and the server
glusterfs-devel.i386 : GlusterFS Development Libraries
glusterfs-server.i386 : GlusterFS Server
Those have version 2.0.x. The package name is different from homepage. Therefore, I suppose that there are many changes from 2.0.x to the latest version - 3.1. In the 2.0.x there are only 3 commands: glusterfs, glusterfsd, glusterfs-volgen while the latest version added: gluster, glusterd, glusterfs-defrag. I suggest you install the latest version and let me know if it works.
Exactly, I am in fact using CentOS. I will try to compile and use a newer version.
 
Old 11-09-2010, 06:21 AM   #6
langner
LQ Newbie
 
Registered: Aug 2010
Location: Netherlands
Distribution: Debian
Posts: 9

Original Poster
Rep: Reputation: 0
I compiled version 3.1.0 and saw exactly the same behavior. I haven't been able to fix it, but I now know it is caused by the features/quota translator. After turning that off the disk usage is reported correctly. Googling shows others that have found this problem, but no solution besides disable quota.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
partition space and disk space usage and free don't match nsic Linux - Newbie 3 02-22-2013 12:57 PM
Help removing free space to create Raw free space nightmare55 Linux - Newbie 11 10-01-2009 03:07 AM
Not enough free space on hard drive with 50g of free space??? auoq SUSE / openSUSE 5 10-13-2004 08:21 PM
Not enough space for root directory on a drive with 50g free space??? auoq Linux - Newbie 1 10-13-2004 12:44 PM
Formating free space: WinXP pro and RH9 dualboot with free space on 3rd drive Vermicious Linux - General 2 03-22-2004 05:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration