On 16 July 2015 at 11:35, Chris Murphy <li...@colorremedies.com> wrote: > On Wed, Jul 15, 2015 at 6:11 PM, Johannes Ernst > <johannes.er...@gmail.com> wrote: > >> Cleaning this all up is a bit of pain, and >> btrfs subvolume delete -r dir >> would solve it nicely.
[snip] > How is all of this backed up properly? How is it restored properly? I > think recursive snapshotting and subvolume deletion is not a good > idea. I think it's a complicated and inelegant work around for > improper subvolume organization. I for one would love to see authoritative documentation on "proper" subvolume organization. I was completely lost when writing snazzer and have so far received very little guidance or even offers of opinions on this ML. I've had to create my own logic in my scripts that automatically walk all subvolumes on all filesystems for the simple reason that explicitly enumerating it all for dozens of servers becomes a significant administration burden. I have different retention needs for /var (particularly /var/cache) than I do for /home, for example, so carving up my snapshots so that I can easily drop them from those parts of my filesystems which have a high churn rate (= more unique extents, occupying a lot of disk) and yet aren't as important (I need to retain fewer of them) is very useful. -- 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