Currently i'm checking the % busy inodes in a nfs client but I have found that it exist a incongruent with the inodes numbers with busy space (df -h) and inode ocupation (df -i)
With one client the display information it seems coherence but with other client it's totally different.
With the client #1 it seems that display total files number from cluster (Previously run the LinCount job for that count all files) So I understand that this occupation it's with a cluster information.
I'm not sure why two clients are giving radically different answers if you're talking to the same cluster at the same time. I'm a bit concerned about the ".local" name. Are you sure the DNS is pointing at the same cluster here? The second client is reporting a different filesystem size, use and free space. That suggests it's pointing to a completely different cluster. If the export were different, the size could be explained by a container quota but not if it's the same path.
Aside from that, it is important to understand that the inode free stats are meaningless for OneFS because inodes are dynamically allocated and so you won't run out of inodes unless you run out of free space. Because of that, you should simply monitor free blocks/space and ignore the inode statistics because they are not helpful. But in this case, your total, used and free space numbers are completely different which strongly suggests they are two different clusters.
Hi Tim! Many thanks for the answer. Regarding ".local" name has been for hidden the real name in out environment. Really is the same smartconnect name that it has setting the isilon, a pool with DNS dynamic that is pointing at the same cluster. Both NFS exports has quota with "container =Yes" set.
Does it maybe this topic affect? That's why that they show different info for inodes.
directory DEFAULT /ifs/data/enterprise No 500.00G - - 131.909G directory DEFAULT /ifs/data/enterprise2 No 250.00G - - 205.307G
My question is, if the quota reach 100% their capacity. Does we loose the free inodes space too for that export?
In summary, this info meaningless when it has quotas set in differents resources (always I refer the same cluster). I'm wrong?
In OneFS 8.2 the inode reporting has been improved for directory "container" quotas:
The inode count in df is exactly the inode count from the quota domain (i.e. directory).
This can be useful for tracking file creation activity right from the Linux terminal or via simple shell scripts (no API needed), for example.
As @isi_tim said, there is no reserved space for inodes in OneFS, so the total and available inode counts shown by df are simply computed by OneFS as the number of 512-Byte inodes that would fit into the total and the available space respectively.
tenortim
36 Posts
3428
0
Posted February 18th, 2020 07:00
I'm not sure why two clients are giving radically different answers if you're talking to the same cluster at the same time. I'm a bit concerned about the ".local" name. Are you sure the DNS is pointing at the same cluster here? The second client is reporting a different filesystem size, use and free space. That suggests it's pointing to a completely different cluster. If the export were different, the size could be explained by a container quota but not if it's the same path.
Aside from that, it is important to understand that the inode free stats are meaningless for OneFS because inodes are dynamically allocated and so you won't run out of inodes unless you run out of free space. Because of that, you should simply monitor free blocks/space and ignore the inode statistics because they are not helpful. But in this case, your total, used and free space numbers are completely different which strongly suggests they are two different clusters.
Regards,
Tim