All of lore.kernel.org
 help / color / mirror / Atom feed
* statvfs() return large f_bavail on a 10TB drive
@ 2018-04-13  6:40 Kirubakaran Kaliannan
  2018-04-13 15:43 ` Darrick J. Wong
  0 siblings, 1 reply; 4+ messages in thread
From: Kirubakaran Kaliannan @ 2018-04-13  6:40 UTC (permalink / raw)
  To: linux-xfs

Hi All,

I have couple of  xfs filesystem  on a 10TB STAT drive.

After 50% of filesystem is full, the df –kH is returning a large f_bavail.


Filesystem                   Size  Used Avail Use% Mounted on
/dev/dm-4                     10T  -12T   22T    - /mnt/a
/dev/dm-3                     10T  -12T   22T    - /mnt/b

I tried statvfs() and got the same large f_bavail as well,

        total filesystem size = 9763506176 KB
        total Available size = 21279656740 KB
        total used size = -11516150564 KB

We are using Ubuntu 3.18.19 Linux kernel/xfs.

If I unmount and mount the filesysem back, the f_bavail values are back to
normal.

Can you please point me, if this is something a known issue got fixed in
XFS in the later version, or any lead may help.
It is difficult at this point of time to upgrade the XFS for this specific
issue.

Thanks,
-kiru

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-04-30 22:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-13  6:40 statvfs() return large f_bavail on a 10TB drive Kirubakaran Kaliannan
2018-04-13 15:43 ` Darrick J. Wong
2018-04-23  4:26   ` Kirubakaran Kaliannan
2018-04-30 22:26     ` Darrick J. Wong

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.