I am using btrfs, But I am seeing du -sh and df -h showing huge size
difference on ssd.
mount:
/dev/drbd1 on /dc/fileunifier.datacache type btrfs
(rw,noatime,nodiratime,flushoncommit,discard,nospace_cache,recovery,commit=5,subvolid=5,subvol=/)
du -sh /dc/fileunifier.datacache/ - 331G
df -h
/dev/drbd1 746G 346G 398G 47% /dc/fileunifier.datacache
btrfs fi usage /dc/fileunifier.datacache/
Overall:
Device size: 745.19GiB
Device allocated: 368.06GiB
Device unallocated: 377.13GiB
Device missing: 0.00B
Used: 346.73GiB
Free (estimated): 396.36GiB (min: 207.80GiB)
Data ratio: 1.00
Metadata ratio: 2.00
Global reserve: 176.00MiB (used: 0.00B)
Data,single: Size:365.00GiB, Used:345.76GiB
/dev/drbd1 365.00GiB
Metadata,DUP: Size:1.50GiB, Used:493.23MiB
/dev/drbd1 3.00GiB
System,DUP: Size:32.00MiB, Used:80.00KiB
/dev/drbd1 64.00MiB
Unallocated:
/dev/drbd1 377.13GiB
Even if we consider 6G metadata its 331+6 = 337.
where is 9GB used?
Please explain.
Vinayak
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html