[root@centosgluster1 ~]# df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/VolGroup00-LogVol00 42G 3.2G 36G 9% / /dev/sda1 99M 21M 74M 22% /boot tmpfs 12G 0 12G 0% /dev/shm localhost:/nfs 9.4T -2.4P 2.4P - /mnt/nfs [root@centosgluster1 ~]# -ve value is shown for used space here is the bug: nfs3-helpers.c:nfs3_fill_fsstat3res() ... resok.fbytes = (size3)(fsbuf->f_bsize * fsbuf->f_bfree); resok.abytes = (size3)(fsbuf->f_bsize * fsbuf->f_bavail); ... fsbuf->f_bsize is being used instead of fsbuf->f_frsize after fixing it: [root@centosgluster1 ~]# df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/VolGroup00-LogVol00 42G 3.2G 36G 9% / /dev/sda1 99M 21M 74M 22% /boot tmpfs 12G 0 12G 0% /dev/shm localhost:/nfs 9.4T 102G 9.3T 2% /mnt/nfs [root@centosgluster1 ~]#
PRoblem seen on lInux as nfs server and solaris as the brick.
*** Bug 1016 has been marked as a duplicate of this bug. ***
Is this a problem over fuse mount too? Is fix proposed by kris sufficient?
(In reply to comment #3) > Is this a problem over fuse mount too? Is fix proposed by kris sufficient? Err..wait. why is this assigned to you? Not sure about the fix proposed by Kris yet. Havent reached the point of running validation tests with Solaris. That will happen next week. This wont occur over fuse, I think.
reducing the priority of bug as we are not working on solaris yet, and this is not the case over fuse mount or NFS on Linux..
Shehjar, Not sure if its still valid. Check and close it..
(In reply to comment #6) > Shehjar, Not sure if its still valid. Check and close it.. yes. still valid. The info above does not mention but the bricks were solaris. Waiting for a requirement to arise for proper qualification of nfs for solaris.
PATCH: http://patches.gluster.com/patch/5705 in master (Solaris: df -h returned invalid size)
Internal enhancement, User need not be bothered