linux-xfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Recently-formatted XFS filesystems reporting negative used space
@ 2018-07-10 13:43 Filippo Giunchedi
  2018-07-10 21:39 ` Eric Sandeen
  0 siblings, 1 reply; 11+ messages in thread
From: Filippo Giunchedi @ 2018-07-10 13:43 UTC (permalink / raw)
  To: linux-xfs

Hello,
a little background: at Wikimedia Foundation we are running a 30-hosts
Openstack Swift cluster to host user media uploads, each host has 12
spinning disks formatted individually with xfs.

Some of the recently-formatted filesystems have started reporting
negative usage upon hitting around 70% usage, though some filesystems
on the same host kept reporting as expected:

/dev/sdn1       3.7T  -14T   17T    - /srv/swift-storage/sdn1
/dev/sdh1       3.7T  -13T   17T    - /srv/swift-storage/sdh1
/dev/sdc1       3.7T  3.0T  670G  83% /srv/swift-storage/sdc1
/dev/sdk1       3.7T  3.1T  643G  83% /srv/swift-storage/sdk1

We have experienced this bug only on the last four machines to be put
in service and formatted with xfsprogs 4.9.0+nmu1 from Debian Stretch.
The remaining hosts were formatted in the past with xfsprogs 3.2.1 or
older.
We have also a standby cluster in another datacenter with similar
configuration and hosts that received write traffic only but not read
traffic; the standby cluster hasn't experienced the bug and all
filesystems report the correct usage.
As far as I can tell the difference in xfsprogs version used for
formatting means defaults have changed, (e.g. crc is enabled on the
affected filesystems). Have you seen this issue before and do you know
how to fix it?

I would love to help debugging this issue, we've been detailing the
work done so far at https://phabricator.wikimedia.org/T199198

thanks in advance!
Filippo

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

end of thread, other threads:[~2018-07-31  1:19 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-10 13:43 Recently-formatted XFS filesystems reporting negative used space Filippo Giunchedi
2018-07-10 21:39 ` Eric Sandeen
2018-07-10 22:40   ` Dave Chinner
2018-07-13 17:44     ` Bill O'Donnell
2018-07-11  8:31   ` Filippo Giunchedi
2018-07-16  9:29     ` Filippo Giunchedi
2018-07-17  9:26       ` Carlos Maiolino
2018-07-20 10:20         ` Filippo Giunchedi
2018-07-22  0:03           ` Eric Sandeen
2018-07-30 10:02             ` Filippo Giunchedi
2018-07-30 23:42               ` Eric Sandeen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).