I have a Centos 6.5 and Solaris 5 machines. I'm trying to get the information about block size of a filesystem in the member f_frsize of statvfs. I tried first from Centos but when the filesystem is mounted in nfs, i got a value like 32768 or 65536. I think this value is the nfs data block size and not the block size.
And when i try to get the block size info of the same nfs filesystem but from Sun Solaris, i get a value like 1024.
So why did i get a different block size (f_frsize) when calling statvfs from Solaris and from Linux ?
Is there a way to get the f_frsize info of the nfs filesystem and not this nfs data block size ? i don't know if what i want is possible, but i would like more informations about this.