Hadmut Danisch wrote (ao):
> I currently don't see how to repair this afterwards without removing the
> uncompressed files and writing new ones, which on the other hand spoils
> hte memory saving effect of using snapshots instead of copies.

As also mentioned by Li Zefan, you can use defrag. But this will indeed
not work nicely with snapshots. And you need more free space than the
largest file on the filesystem.

find / -xdev -execdir btrfs filesystem defrag -czlib {} +

        Sander

-- 
Humilis IT Services and Solutions
http://www.humilis.net
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to