Read the man pages more carefully.

What's the data type of these block count fields?

Now, how many blocks do you have?

Amit

On Mar 23, 12:05 pm, Amar (ಅಮರ್ ತುಂಬಳ್ಳಿ) <[email protected]> wrote:
> Hi,
>  I have a 110TB storage, which shows up properly on GNU/Linux system using
> our fuse based filesystem. But when i use the same setup in mac over
> macfuse, I noticed that 'df' (rather statfs) has some issues. (All other
> fops are fine).
>
> Output on Linux :
>
> [r...@brick1 ~]# df -k /glusterfs ; df -h /glusterfs
> Filesystem           1K-blocks      Used Available Use% Mounted on
> glusterfs            115997615104    754688 112336020480   1% /glusterfs
> Filesystem            Size  Used Avail Use% Mounted on
> glusterfs             109T  737M  105T   1% /glusterfs
>
> Output on Mac:
>
> r...@macbook:~# df -k /mnt ; df -h /mnt
> Filesystem 1024-blocks   Used  Available Capacity  Mounted on
> glusterfs  12918400716 754392 9256805384     1%    /mnt
> Filesystem   Size   Used  Avail Capacity  Mounted on
> glusterfs    12Ti  737Mi  8.6Ti     1%    /mnt
>
> Upon further testing, I noticed that in mac, I am getting rounded off at
> 16TB (2 ^ 44) for f_blkcnt_t variables (f_bavail,f_bfree,f_blocks). I went
> through the man pages of both 'statfs' and 'statvfs' and nowhere I see the
> limit on these variables. So, my question is that, if this limitation is
> from the macfuse part or from the darwin OS part.
>
> Any info on this would be helpful.
>
> Thanks and Regards,
>
> --
> Amar Tumballi
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"MacFUSE" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/macfuse?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to