Bug 773528 - [4e40a7e48757feedc959c7982acf05c73f739a15]: df when limit-usage is set to numbers does not show mounts
Summary: [4e40a7e48757feedc959c7982acf05c73f739a15]: df when limit-usage is set to num...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: GlusterFS
Classification: Community
Component: quota
Version: 3.3-beta
Hardware: Unspecified
OS: Unspecified
high
low
Target Milestone: ---
Assignee: Raghavendra G
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-01-12 07:06 UTC by Rahul C S
Modified: 2015-12-01 16:45 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-04-08 14:28:18 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Rahul C S 2012-01-12 07:06:47 UTC
Description of problem:
root@Dagobah:~# gluster volume quota vol limit-usage / 500
limit set on /
root@Dagobah:~# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda5              46G   25G   20G  57% /
none                  1.9G  732K  1.9G   1% /dev
none                  1.9G  2.9M  1.9G   1% /dev/shm
none                  1.9G  396K  1.9G   1% /var/run
none                  1.9G     0  1.9G   0% /var/lock
/dev/sda9              37G   24G   13G  66% /misc
/dev/sda6              38G   27G   11G  72% /muzic
/dev/sda8              38G   36G  1.4G  97% /myst
/dev/sda7              94G   67G   27G  72% /tent

When the limit was set to 1GB it used to show the mountpoints.
But the processes are still running. So not a major issue. But there is no mounts seen.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Raghavendra G 2012-04-08 14:28:18 UTC

*** This bug has been marked as a duplicate of bug 773530 ***

Comment 2 Raghavendra G 2012-04-09 06:53:24 UTC
Strictly speaking this is not a bug. Since we've chosen to show the total volume size as the quota limit set on / (commit: 913b2162), any value less than the block size (which usually is 4096), will constitute to 0 blocks. df seems to ignore mounts which have 0 blocks.


Note You need to log in before you can comment on or make changes to this bug.