Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Understanding btrfs filesystem output

Dude!Oct 29 2012 — edited Oct 30 2012
Could someone please explain the following output:

It seems to me that btrfs fi df does not show the the total and available size disk space. What does the output actually mean? What is total, used and DUP?


[root@vm004 ~]# btrfs filesystem df /
Data: total=4.01GB, used=2.67GB
System, DUP: total=8.00MB, used=4.00KB
System: total=4.00MB, used=0.00
Metadata, DUP: total=1.00GB, used=141.72MB
Metadata: total=8.00MB, used=0.00


What does the following tell us. I guess 2.67GB + 142 MB = 2.81 GB?

[root@vm004 ~]# btrfs fi show
Label: 'root' uuid: e88be872-eb9b-482f-bac2-7bde7235d946
Total devices 1 FS bytes used 2.81GB
devid 1 size 15.84GB used 6.04GB path /dev/sda3

Why 6.04 GB used?

[root@vm004 ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda3 16G 3.0G 12G 21% /
tmpfs 1004M 0 1004M 0% /dev/shm
/dev/sda1 485M 119M 341M 26% /boot

Thanks!
This post has been answered by Avi Miller-Oracle on Oct 29 2012
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 27 2012
Added on Oct 29 2012
3 comments
4,047 views