From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from userp2130.oracle.com ([156.151.31.86]:50678 "EHLO userp2130.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750824AbeDMPnQ (ORCPT ); Fri, 13 Apr 2018 11:43:16 -0400 Date: Fri, 13 Apr 2018 08:43:13 -0700 From: "Darrick J. Wong" Subject: Re: statvfs() return large f_bavail on a 10TB drive Message-ID: <20180413154313.GC32099@magnolia> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Sender: linux-xfs-owner@vger.kernel.org List-ID: List-Id: xfs To: Kirubakaran Kaliannan Cc: linux-xfs@vger.kernel.org On Fri, Apr 13, 2018 at 12:10:19PM +0530, Kirubakaran Kaliannan wrote: > 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 21279656740KB = 0x100000000000 | (about 50% of the space) ? Bitflip? --D > 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 > -- > To unsubscribe from this list: send the line "unsubscribe linux-xfs" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html