Bvm 18
asked on
statvfs api couldn't fetch files and free details for mounted path
Hi,
I tried to find the free space on mounted volume which is aws elastic filesystem. used statvfs api to find, but statvfs_obj.f_bavail and statvfs_obj.f_blocks are 13digit numbers, statvfs_obj.f_files and statvfs_obj.f_ffree are zeros.
How to retrieve correct details from mounted aws efs on linux by using statvfs( mounted_filesys_path, &statvfs_struct_obj). Th path looks like /mnt/efs_mounted_from_xx_c ity.
OS: RHEL7.4,
mount details: nfs4, rw,relatime,vers=4.1,rsize =1048576,w size=10485 76,namlen= 255,hard,n oresvport, proto=tcp, timeo=600, retrans=2, sec=sys,cl ientaddr=x xxx,local_ lock=none, addr=xxxxx 0 0
Thanks,
Bvm
I tried to find the free space on mounted volume which is aws elastic filesystem. used statvfs api to find, but statvfs_obj.f_bavail and statvfs_obj.f_blocks are 13digit numbers, statvfs_obj.f_files and statvfs_obj.f_ffree are zeros.
How to retrieve correct details from mounted aws efs on linux by using statvfs( mounted_filesys_path, &statvfs_struct_obj). Th path looks like /mnt/efs_mounted_from_xx_c
OS: RHEL7.4,
mount details: nfs4, rw,relatime,vers=4.1,rsize
Thanks,
Bvm
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
https://iosutron.wordpress