Hello all.

Is there a way to check inode limit from clients?
df -i /path/to/dir
seems to report values for all the volume, not just the dir.

For space it works as expected:

# gluster v quota cluster_data list
Path Hard-limit Soft-limit Used Available Soft-limit exceeded? Hard-limit exceeded?
-------------------------------------------------------------------------------------------------------------------------------
/astro 20.0TB 80%(16.0TB) 18.8TB 1.2TB Yes No
# df /mnt/scratch/astro
Filesystem               1K-blocks        Used  Available Use% Mounted on
clustor00:cluster_data 21474836480 20169918036 1304918444  94% /mnt/scratch

For inodes, instead:
# gluster v quota cluster_data list-objects
Path Hard-limit Soft-limit Files Dirs Available Soft-limit exceeded? Hard-limit exceeded?
-----------------------------------------------------------------------------------------------------------------------------------------------
/astro 100000 80%(80000) # df -i /mnt/scratch/astro
Filesystem                 Inodes  IUsed      IFree IUse% Mounted on
clustor00:cluster_data 4687500480 122689 4687377791    1% /mnt/scratch
99897       103           0             Yes                  Yes

Should report 100% use for "hard quota exceeded", IMO.

That's on Gluster 9.6.

--
Diego Zuccato
DIFA - Dip. di Fisica e Astronomia
Servizi Informatici
Alma Mater Studiorum - Università di Bologna
V.le Berti-Pichat 6/2 - 40127 Bologna - Italy
tel.: +39 051 20 95786
________



Community Meeting Calendar:

Schedule -
Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
Bridge: https://meet.google.com/cpu-eiue-hvk
Gluster-users mailing list
Gluster-users@gluster.org
https://lists.gluster.org/mailman/listinfo/gluster-users

Reply via email to