All of lore.kernel.org
 help / color / mirror / Atom feed
* How to reliably measure fs usage with reflinks enabled?
@ 2018-05-14 20:02 Tarik Ceylan
  2018-05-14 22:02 ` Eric Sandeen
  0 siblings, 1 reply; 12+ messages in thread
From: Tarik Ceylan @ 2018-05-14 20:02 UTC (permalink / raw)
  To: linux-xfs

How can one reliably measure filesystem usage on partitions that were 
compiled with -m reflink=1 ?
Here are some numbers i am measuring with df -h (on different partitions 
holding the same data):
7.7G of 36G  (-b size=512  -m crc=0 )
8.6G of 36G  (-b size=4096 -m crc=1 )
11G  of 36G  (-b size=1024 -m crc=1,reflink=1,rmapbt=1 -i sparse=1 )
32G  of 864G (-b size=4096 -m crc=1,reflink=1 )

I already ruled out fragmentation as a cause. The data does not contain 
many duplicates (roughly 200mb could be freed by deduplicating). Since 
measuring fs usage on btrfs also isn't trivial, i would suspect that 
there are similar problems happening here. But i could not find any 
information on how to measure fs usage properly when using xfs with 
reflinks. Kernel in use is 4.14.40.

Tarik Ceylan

(I am not subscribed to this list, i'd be grateful if you could CC me in 
your reply)

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

end of thread, other threads:[~2018-05-20  0:10 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-14 20:02 How to reliably measure fs usage with reflinks enabled? Tarik Ceylan
2018-05-14 22:02 ` Eric Sandeen
2018-05-14 22:57   ` Dave Chinner
2018-05-14 23:37     ` Tarik Ceylan
2018-05-15  1:29       ` Dave Chinner
2018-05-15 13:52         ` Mike Fleetwood
2018-05-16  0:13           ` Dave Chinner
2018-05-18 14:43             ` Mike Fleetwood
2018-05-18 14:56               ` Eric Sandeen
2018-05-19  8:36                 ` Mike Fleetwood
2018-05-18 14:58         ` Darrick J. Wong
2018-05-20  0:10           ` Dave Chinner

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.