btrfs fi du is unreliable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

[chris@f25s ~]$ uname -r
4.8.11-300.fc25.x86_64
[chris@f25s ~]$ rpm -q btrfs-progs
btrfs-progs-4.8.5-1.fc26.x86_64


I'm not finding any pattern to this so far, but it's definitely not
always reliable. Here is today's example.

[chris@f25s ~]$ sudo btrfs fi du -s /mnt/second/jackson.2015/
     Total   Exclusive  Set shared  Filename
 111.67GiB   111.67GiB       0.00B  /mnt/second/jackson.2015/

Super. This is correct. The jackson.2015 subvolume contains only
exclusively used data, there are no snapshots, and there are no
reflinks involved for any files.


[chris@f25s ~]$ sudo btrfs send  /mnt/second/jackson.2015/ | sudo
btrfs receive /mnt/int/

Send the subvolume to a different btrfs volume. This is not an
incremental send. After completion however:


[chris@f25s ~]$ sudo btrfs fi du -s /mnt/int/jackson.2015/
     Total   Exclusive  Set shared  Filename
 111.67GiB    37.20GiB    29.93GiB  /mnt/int/jackson.2015/

That makes zero sense. What's going on here?


Chris Murphy
--
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




[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux