[Gluster-users] Verify limit-objects from clients in Gluster9 ?

Strahil Nikolov hunter86_bg at yahoo.com
Tue Nov 21 18:06:08 UTC 2023


What do you mean by dir ?Usually inode max value is per File System.
Best Regards,Strahil Nikolov 
 
 
  On Mon, Nov 6, 2023 at 12:58, difa.csi<difa.csi at unibo.it> wrote:   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 at gluster.org
https://lists.gluster.org/mailman/listinfo/gluster-users
  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20231121/9e28e53b/attachment.html>


More information about the Gluster-users mailing list