Bug 1005104 - quota: alert does not occur for a subdir
quota: alert does not occur for a subdir
Status: CLOSED NOTABUG
Product: Red Hat Gluster Storage
Classification: Red Hat
Component: glusterd (Show other bugs)
2.1
x86_64 Linux
unspecified Severity medium
: ---
: ---
Assigned To: Amar Tumballi
Sudhir D
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2013-09-06 04:45 EDT by Saurabh
Modified: 2016-01-19 01:12 EST (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-09-06 06:36:55 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
sosreport-from-node1 (6.01 MB, application/x-xz)
2013-09-06 04:53 EDT, Saurabh
no flags Details

  None (edit)
Description Saurabh 2013-09-06 04:45:48 EDT
Description of problem:
I have volume with alert-time option set to 1 seconds.
still for the subdirectory I was not able to get the alert message in the logs for that subdirectory

Version-Release number of selected component (if applicable):
glusterfs-3.4.0.31rhs-1.el6rhs.x86_64
glusterfs-rdma-3.4.0.31rhs-1.el6rhs.x86_64
samba-glusterfs-3.6.9-160.3.el6rhs.x86_64
glusterfs-libs-3.4.0.31rhs-1.el6rhs.x86_64
glusterfs-geo-replication-3.4.0.31rhs-1.el6rhs.x86_64
glusterfs-server-3.4.0.31rhs-1.el6rhs.x86_64
glusterfs-api-3.4.0.31rhs-1.el6rhs.x86_64
glusterfs-fuse-3.4.0.31rhs-1.el6rhs.x86_64


How reproducible:
always

Steps to Reproduce:
1. create a volume, start it
2. enable quota
3. mount over nfs
4. create dirs on nfs mountpoint
   mkdir -p /dir1/dir2
5. set quota on /dir1/dir2 to 1GB
6. start creating data inside the dir2.

Actual results:
[root@rhsauto032 ~]# gluster volume quota dr1 list
                  Path                   Hard-limit Soft-limit   Used  Available
--------------------------------------------------------------------------------
/                                         10.0GB       50%       4.0GB   6.0GB
/dir3                                      1.0GB       50%       1.0GB  0Bytes
/dir1/dir2                                 1.0GB       80%    1016.8MB   7.2MB


after 80% of limit is crossed the bricks dont't display any log messages for "Alert"

Expected results:
The alert should be there for subdirs also.
Whereas the soft-limit related message works fine for "root of the volume" or "first level directory"

Additional info:
Comment 1 Saurabh 2013-09-06 04:53:09 EDT
Created attachment 794621 [details]
sosreport-from-node1

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