linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* How does "btrfs fi show" show full?
@ 2014-05-05  0:54 Marc MERLIN
  2014-05-05  4:11 ` Brendan Hide
  0 siblings, 1 reply; 9+ messages in thread
From: Marc MERLIN @ 2014-05-05  0:54 UTC (permalink / raw)
  To: linux-btrfs

More slides, more questions, sorry :)
(thanks for the other answers, I'm still going through them)

If I have:
gandalfthegreat:~# btrfs fi show
Label: 'btrfs_pool1'  uuid: 873d526c-e911-4234-af1b-239889cd143d
	Total devices 1 FS bytes used 214.44GB
	devid    1 size 231.02GB used 231.02GB path /dev/dm-0

I'm a bit confused.

It tells me
1) FS uses 214GB out of 231GB
2) Device uses 231GB out of 231GB

I understand how the device can use less than the FS if you have
multiple devices that share a filesystem.
But I'm not sure how a filesystem can use less than what's being used on
a single device.

Similarly, my current laptop shows:
legolas:~# btrfs fi show
Label: btrfs_pool1  uuid: 4850ee22-bf32-4131-a841-02abdb4a5ba6
	Total devices 1 FS bytes used 442.17GiB
	devid    1 size 865.01GiB used 751.04GiB path /dev/mapper/cryptroot

So, am I 100GB from being full, or am I really only using 442GB out of 865GB?

If so, what does the device used value really mean if it can be that
much higher than the filesystem used value?

Thanks,
Marc
-- 
"A mouse is a device used to point at the xterm you want to type in" - A.S.R.
Microsoft is to operating systems ....
                                      .... what McDonalds is to gourmet cooking
Home page: http://marc.merlins.org/                         | PGP 1024R/763BE901

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

end of thread, other threads:[~2014-05-07 12:40 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-05  0:54 How does "btrfs fi show" show full? Marc MERLIN
2014-05-05  4:11 ` Brendan Hide
2014-05-05  5:50   ` Marc MERLIN
2014-05-05  7:48     ` Brendan Hide
2014-05-06 20:10     ` Duncan
2014-05-07  7:59       ` Marc MERLIN
2014-05-07 10:53         ` Brendan Hide
2014-05-07 11:30           ` Marc MERLIN
     [not found]           ` <yzWd1n0292w7UQp01zWf8e>
2014-05-07 12:40             ` 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).