Does btrfs-zero-log work only on a single partition or can it handle BTRFS filesystems spanned across several devices?
 LVM functionality is only partially replaced by BTRFS
One thing about LVM Volumes in contrast to btrfs sub volumes is quota's. Every LVM VOlume has a hard quota and if it runs out of space other volumes are not running out of disk space. This is one functionality that btrfs has not (yet) implemeted.
For this reasson I stil use LVM, but with btrfs filesystems in the volumes and not with ext4 (anymore).
 SHow free blocks in btrfs
The other day I had a btrfs FS that was running out of disk space. But df -h showed that there was still 20% free (subvolumes a presumably not calculated since they are seperately mounted?). And du -s works the other way around (this also calculated subvolumes and sums, so it counts the unaltered blocks in snapshot sunbvolumes extra). Is there a way to find out how much free blocks there are available in a btrfs filesystem?
 wrong mount command
# mount -o subvolid=0 /mnt
# mount -o subvolid=0 / /mnt
 Question about possibly mistaking or outdated explanation.
In my Btrfs v0.20-rc1 the
btrfs subvolume list command lists always all subvolumes of the whole filesystem (not only the "visble" from the current subvolume) and is no way to determine in which subvolume we currently are in. If so the following part of the section makes no sense:
... btrfs subvolume list /mnt ID 256 top level 5 path before-updating-2011-05-24No doubt possible :-) ...
Has this behavior changed or am I missing something?