linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* True size of btrfs data chunk
@ 2016-11-29 14:32 Timofey Titovets
  2016-11-29 14:58 ` Austin S. Hemmelgarn
  0 siblings, 1 reply; 3+ messages in thread
From: Timofey Titovets @ 2016-11-29 14:32 UTC (permalink / raw)
  To: linux-btrfs

Hi, as wiki say https://btrfs.wiki.kernel.org/index.php/Glossary:
A part of a block group. Chunks are either 1 GiB in size (for data) or
256 MiB (for metadata).

Btrfs tools show me that allocated size is not 1GiB aligned, things
are changes? I miss something?

# btrfs fi df /; btrfs fi usage /;
Data, single: total=1.41GiB, used=704.47MiB
System, single: total=32.00MiB, used=16.00KiB
Metadata, single: total=256.00MiB, used=54.30MiB
GlobalReserve, single: total=32.00MiB, used=0.00B
Overall:
   Device size:                   4.00GiB
   Device allocated:              1.69GiB
   Device unallocated:            2.31GiB
   Device missing:                  0.00B
   Used:                        758.79MiB
   Free (estimated):              3.03GiB      (min: 3.03GiB)
   Data ratio:                       1.00
   Metadata ratio:                   1.00
   Global reserve:               32.00MiB      (used: 0.00B)

Data,single: Size:1.41GiB, Used:704.47MiB
  /dev/sda1       1.41GiB

Metadata,single: Size:256.00MiB, Used:54.30MiB
  /dev/sda1     256.00MiB

System,single: Size:32.00MiB, Used:16.00KiB
  /dev/sda1      32.00MiB

Unallocated:
  /dev/sda1       2.31GiB

Thanks.
-- 
Have a nice day,
Timofey.

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

end of thread, other threads:[~2016-11-30  2:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-29 14:32 True size of btrfs data chunk Timofey Titovets
2016-11-29 14:58 ` Austin S. Hemmelgarn
2016-11-30  2:13   ` Duncan

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).