Bug 1005104 - quota: alert does not occur for a subdir
Summary: quota: alert does not occur for a subdir
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat
Component: glusterd
Version: 2.1
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
: ---
Assignee: Amar Tumballi
QA Contact: Sudhir D
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-06 08:45 UTC by Saurabh
Modified: 2016-01-19 06:12 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-09-06 10:36:55 UTC
Target Upstream Version:


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

Description Saurabh 2013-09-06 08:45:48 UTC
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 08:53:09 UTC
Created attachment 794621 [details]
sosreport-from-node1


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