So, I've noticed an interesting behavior. My FreeNAS reports a huge number of inodes (~4B) for one of my filesystems, but my NFS client shows a much smaller number. At one point yesterday a tool that I'm using reported that the filesystem had 100% of it's inodes used. That appeared to be a transient issue as the number of available inodes reported when I checked are shown below.
The number of available inodes as reported by FreeNAS is larger and 2^32, and seems a bit arbitrary since the 'available' and 'ifree' numbers reported by 'df' are the same on the FreeNAS device.
I'm wondering if anyone else has observed this issue, and if they know of a workaround to have a more accurate reporting of inodes via NFSv4?
Thanks.
Diagnostic info:
FreeNAS: FreeNAS-11.2-RELEASE-U1
share is NFSv4
volume 'backups' has a quota of 6TiB, with 4TIB used, and is allocated out of a larger pool that is roughly 32TiB
Client : OL7 (RHEL7).
root@MYFREENAS:~ # df -iP /mnt/MYVOL_00/backups
Filesystem 512-blocks Used Avail Capacity iused ifree %iused Mounted on
MYVOL_00/backups 12884901888 8523810702 4361091186 66% 72440515 4361091186 2% /mnt/MYVOL_00/backups
[frush@NFS_CLIENT ~]$ df -iP /mnt/backups/
Filesystem Inodes IUsed IFree IUse% Mounted on
MYFREENAS:/mnt/MYVOL_00/backups 138564405 72440515 66123890 53% /mnt/backups
[frush@NFS_CLIENT ~]$ mount
MYFREENAS:/mnt/MYVOL_00/backups on /mnt/backups type nfs4 (rw,relatime,vers=4.1,rsize=131072,wsize=131072,namlen=255,hard,proto=tcp,port=0,timeo=600,retrans=2,sec=sys,clientaddr=xxx.yy.zzz.42,local_lock=none,addr=xxx.yy.zzz.218)
---
Ray Frush
Colorado State University
The number of available inodes as reported by FreeNAS is larger and 2^32, and seems a bit arbitrary since the 'available' and 'ifree' numbers reported by 'df' are the same on the FreeNAS device.
I'm wondering if anyone else has observed this issue, and if they know of a workaround to have a more accurate reporting of inodes via NFSv4?
Thanks.
Diagnostic info:
FreeNAS: FreeNAS-11.2-RELEASE-U1
share is NFSv4
volume 'backups' has a quota of 6TiB, with 4TIB used, and is allocated out of a larger pool that is roughly 32TiB
Client : OL7 (RHEL7).
root@MYFREENAS:~ # df -iP /mnt/MYVOL_00/backups
Filesystem 512-blocks Used Avail Capacity iused ifree %iused Mounted on
MYVOL_00/backups 12884901888 8523810702 4361091186 66% 72440515 4361091186 2% /mnt/MYVOL_00/backups
[frush@NFS_CLIENT ~]$ df -iP /mnt/backups/
Filesystem Inodes IUsed IFree IUse% Mounted on
MYFREENAS:/mnt/MYVOL_00/backups 138564405 72440515 66123890 53% /mnt/backups
[frush@NFS_CLIENT ~]$ mount
MYFREENAS:/mnt/MYVOL_00/backups on /mnt/backups type nfs4 (rw,relatime,vers=4.1,rsize=131072,wsize=131072,namlen=255,hard,proto=tcp,port=0,timeo=600,retrans=2,sec=sys,clientaddr=xxx.yy.zzz.42,local_lock=none,addr=xxx.yy.zzz.218)
---
Ray Frush
Colorado State University