Discussion:
[Gluster-users] directory quotas non existing directory failing
Davide Obbi
2018-09-13 11:16:42 UTC
Permalink
Hi,

According to glusterdoc:

Note You can set the disk limit on the directory even if it is not created.
The disk limit is enforced immediately after creating that directory.
However if i try to set the limit on direcotries not exsiting on the volume
i get:

quota command failed : Failed to get trusted.gfid attribute on path
/rhomes/davide. Reason : No such file or directory

please enter the path relative to the volume

*glusterfs 4.1.2*

Based on this i hoped that would be possible to create some sort of
wildcard quota like:

gluster volume quota homes limit-usage /rhomes/* 20GB
Hari Gowtham
2018-09-14 05:12:11 UTC
Permalink
Hi,

Can you point to the right place in doc where it is mentioned as above?
Need to understand the context in which it was mentioned.

As far as I know, it is not possible to do so.
Quota's limits are stored on the directory itself.
Without the directory being there quota can't store the limit for
future directories.
Hi,
Note You can set the disk limit on the directory even if it is not created. The disk limit is enforced immediately after creating that directory.
quota command failed : Failed to get trusted.gfid attribute on path /rhomes/davide. Reason : No such file or directory
please enter the path relative to the volume
glusterfs 4.1.2
gluster volume quota homes limit-usage /rhomes/* 20GB
_______________________________________________
Gluster-users mailing list
https://lists.gluster.org/mailman/listinfo/gluster-users
--
Regards,
Hari Gowtham.
Davide Obbi
2018-09-14 06:04:48 UTC
Permalink
Here:
https://gluster.readthedocs.io/en/latest/Administrator%20Guide/Directory%20Quota/

Kr
Davide
Post by Hari Gowtham
Hi,
Can you point to the right place in doc where it is mentioned as above?
Need to understand the context in which it was mentioned.
As far as I know, it is not possible to do so.
Quota's limits are stored on the directory itself.
Without the directory being there quota can't store the limit for
future directories.
Post by Davide Obbi
Hi,
Note You can set the disk limit on the directory even if it is not
created. The disk limit is enforced immediately after creating that
directory.
Post by Davide Obbi
However if i try to set the limit on direcotries not exsiting on the
quota command failed : Failed to get trusted.gfid attribute on path
/rhomes/davide. Reason : No such file or directory
Post by Davide Obbi
please enter the path relative to the volume
glusterfs 4.1.2
Based on this i hoped that would be possible to create some sort of
gluster volume quota homes limit-usage /rhomes/* 20GB
_______________________________________________
Gluster-users mailing list
https://lists.gluster.org/mailman/listinfo/gluster-users
--
Regards,
Hari Gowtham.
--
Davide Obbi
System Administrator

Booking.com B.V.
Vijzelstraat 66-80 Amsterdam 1017HL Netherlands
Direct +31207031558
[image: Booking.com] <https://www.booking.com/>
The world's #1 accommodation site
43 languages, 198+ offices worldwide, 120,000+ global destinations,
1,550,000+ room nights booked every day
No booking fees, best price always guaranteed
Subsidiary of Booking Holdings Inc. (NASDAQ: BKNG)
Hari Gowtham
2018-09-14 06:43:48 UTC
Permalink
Hi,

Thanks for letting us know.
It is a mistake in the doc. will fix it.

It should be as follows:
You can set the disk limit on the directory even if files are not created.
The disk limit is enforced for all the files in that directory once they
are created.
Post by Davide Obbi
https://gluster.readthedocs.io/en/latest/Administrator%20Guide/Directory%20Quota/
Kr
Davide
Post by Hari Gowtham
Hi,
Can you point to the right place in doc where it is mentioned as above?
Need to understand the context in which it was mentioned.
As far as I know, it is not possible to do so.
Quota's limits are stored on the directory itself.
Without the directory being there quota can't store the limit for
future directories.
Post by Davide Obbi
Hi,
Note You can set the disk limit on the directory even if it is not
created. The disk limit is enforced immediately after creating that
directory.
Post by Davide Obbi
However if i try to set the limit on direcotries not exsiting on the
quota command failed : Failed to get trusted.gfid attribute on path
/rhomes/davide. Reason : No such file or directory
Post by Davide Obbi
please enter the path relative to the volume
glusterfs 4.1.2
Based on this i hoped that would be possible to create some sort of
gluster volume quota homes limit-usage /rhomes/* 20GB
_______________________________________________
Gluster-users mailing list
https://lists.gluster.org/mailman/listinfo/gluster-users
--
Regards,
Hari Gowtham.
--
Davide Obbi
System Administrator
Booking.com B.V.
Vijzelstraat 66-80 Amsterdam 1017HL Netherlands
Direct +31207031558
[image: Booking.com] <https://www.booking.com/>
The world's #1 accommodation site
43 languages, 198+ offices worldwide, 120,000+ global destinations,
1,550,000+ room nights booked every day
No booking fees, best price always guaranteed
Subsidiary of Booking Holdings Inc. (NASDAQ: BKNG)
--
Regards,
Hari Gowtham.
Davide Obbi
2018-09-14 06:50:17 UTC
Permalink
thanks for the clarification
Post by Hari Gowtham
Hi,
Thanks for letting us know.
It is a mistake in the doc. will fix it.
You can set the disk limit on the directory even if files are not created.
The disk limit is enforced for all the files in that directory once they
are created.
Post by Davide Obbi
https://gluster.readthedocs.io/en/latest/Administrator%20Guide/Directory%20Quota/
Kr
Davide
Post by Hari Gowtham
Hi,
Can you point to the right place in doc where it is mentioned as above?
Need to understand the context in which it was mentioned.
As far as I know, it is not possible to do so.
Quota's limits are stored on the directory itself.
Without the directory being there quota can't store the limit for
future directories.
Post by Davide Obbi
Hi,
Note You can set the disk limit on the directory even if it is not
created. The disk limit is enforced immediately after creating that
directory.
Post by Davide Obbi
However if i try to set the limit on direcotries not exsiting on the
quota command failed : Failed to get trusted.gfid attribute on path
/rhomes/davide. Reason : No such file or directory
Post by Davide Obbi
please enter the path relative to the volume
glusterfs 4.1.2
Based on this i hoped that would be possible to create some sort of
gluster volume quota homes limit-usage /rhomes/* 20GB
_______________________________________________
Gluster-users mailing list
https://lists.gluster.org/mailman/listinfo/gluster-users
--
Regards,
Hari Gowtham.
--
Davide Obbi
System Administrator
Booking.com B.V.
Vijzelstraat 66-80 Amsterdam 1017HL Netherlands
Direct +31207031558
[image: Booking.com] <https://www.booking.com/>
The world's #1 accommodation site
43 languages, 198+ offices worldwide, 120,000+ global destinations,
1,550,000+ room nights booked every day
No booking fees, best price always guaranteed
Subsidiary of Booking Holdings Inc. (NASDAQ: BKNG)
--
Regards,
Hari Gowtham.
--
Davide Obbi
System Administrator

Booking.com B.V.
Vijzelstraat 66-80 Amsterdam 1017HL Netherlands
Direct +31207031558
[image: Booking.com] <https://www.booking.com/>
The world's #1 accommodation site
43 languages, 198+ offices worldwide, 120,000+ global destinations,
1,550,000+ room nights booked every day
No booking fees, best price always guaranteed
Subsidiary of Booking Holdings Inc. (NASDAQ: BKNG)
Continue reading on narkive:
Search results for '[Gluster-users] directory quotas non existing directory failing' (Questions and Answers)
18
replies
Why does the KKK platform sound alot like the conservative platform?
started 2007-07-12 09:19:36 UTC
politics
Loading...