Re: Btrfs occupies more space than du reports...

2018-02-28 Thread Andrei Borzenkov
On Wed, Feb 28, 2018 at 2:26 PM, Shyam Prasad N wrote: > Hi, > > Thanks for the reply. > >> * `df` calls `statvfs` to get it's data, which tries to count physical >> allocation accounting for replication profiles. In other words, data in >> chunks with the dup, raid1, and

Re: Btrfs occupies more space than du reports...

2018-02-28 Thread Shyam Prasad N
Hi, Thanks for the reply. > * `df` calls `statvfs` to get it's data, which tries to count physical > allocation accounting for replication profiles. In other words, data in > chunks with the dup, raid1, and raid10 profiles gets counted twice, data in > raid5 and raid6 chunks gets counted with a

Re: Btrfs occupies more space than du reports...

2018-02-23 Thread Austin S. Hemmelgarn
On 2018-02-23 06:21, Shyam Prasad N wrote: Hi, Can someone explain me why there is a difference in the number of blocks reported by df and du commands below? = # df -h /dc Filesystem Size Used Avail Use% Mounted on /dev/drbd1 746G 519G 225G 70% /dc # btrfs

Btrfs occupies more space than du reports...

2018-02-23 Thread Shyam Prasad N
Hi, Can someone explain me why there is a difference in the number of blocks reported by df and du commands below? = # df -h /dc Filesystem Size Used Avail Use% Mounted on /dev/drbd1 746G 519G 225G 70% /dc # btrfs filesystem df -h /dc/ Data, single: