On Sat, May 09, 2015 at 10:58:44AM +0200, Tomasz Torcz wrote: > On Sat, May 09, 2015 at 09:03:04AM +0300, Милен Христов wrote: > > > > 1. Before the upgrade, the size of the entire array was reported as 9TB > > (roughly), both on the server (I use conky to monitor server status) and via > > samba on Windows clients. After the upgrade, the size is reduced to 4.55 TB > > which seems to better reflect what the actual usable space is, but is > > unexpected to me (I read some articles on the web about the difficulties in > > calculating free space on a btrfs filesystem). Is this expected? > > > This was changed in kernel 3.17: > https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=ba7b6e62f420f5a8832bc161ab0c7ba767f65b3d That's right. Before this patch, the space in df was reported in physical bytes, ie 9TB. The patch recalculates the space to the logical size according to the raid profiles, so it's 9/2 ~ 4.55 TB afterwards. -- 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
