On Wed, Apr 29, 2020 at 08:39:37PM +0200, Stefanie Leisestreichler wrote: > On 29.04.20 20:33, Hugo Mills wrote: > > Don't use snapshots, or don't use nodatacow. > > > > Set autodefrag and don't use nodatacow would be my recommendation. > > Thanks for this smart tip. > > I guess, the same applies to a subvolume which will hold images of virtual > machines, right? Correct. > Do you have more recommendations, especially for these two use cases > (qemu-images and databases)? At least for the VM images, use raw files, not qcow2, and it's probably best to not use btrfs inside the image -- you want to reduce the number of layers of CoW. Hugo. -- Hugo Mills | Once is happenstance; twice is coincidence; three hugo@... carfax.org.uk | times is enemy action. http://carfax.org.uk/ | PGP: E2AB1DE4 |
