Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #244697
| From | Andy Smith <andy@strugglers.net> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: Btrfs best practices: defrag? |
| Date | 2022-01-27 23:20 +0100 |
| Message-ID | <DKlhw-51b-9@gated-at.bofh.it> (permalink) |
| References | <Dv2A9-6R3-5@gated-at.bofh.it> <DJXfc-6gi-7@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Hello, On Wed, Jan 26, 2022 at 08:38:41PM +0000, piorunz wrote: > My current fstab mounting: > > noatime,space_cache=v2,compress-force=zstd:3 0 2 > > Will autodefrag break COW files? Like I copy paste a file and I save > space, but defrag with destroy this space saving? Yes, I believe so. That is, if you have files sharing extents (like if you de-duplicated them or did a "cp --reflink=always") and defrag touches those files, it will undo the extent sharing. > Also, will autodefrag compress files automatically, as mount option > enforces (compress-force=zstd:3)? Yes. > Any suggestions welcome. If you're not relying on extent sharing then I'd think that automated defrag is okay. Cheers, Andy -- https://bitfolk.com/ -- No-nonsense VPS hosting
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Btrfs best practices "Jorge P. de Morais Neto" <jorge+list@disroot.org> - 2021-12-16 18:20 +0100
Re: Btrfs best practices Eduardo M KALINOWSKI <eduardo@kalinowski.com.br> - 2021-12-16 19:00 +0100
Re: Btrfs best practices Jorge P. de Morais Neto <jorge+list@disroot.org> - 2021-12-16 19:20 +0100
Re: Btrfs best practices Jorge P. de Morais Neto <jorge+list@disroot.org> - 2021-12-16 19:20 +0100
Re: Btrfs best practices: defrag? piorunz <piorunz@gmx.com> - 2022-01-26 21:40 +0100
Re: Btrfs best practices: defrag? Andy Smith <andy@strugglers.net> - 2022-01-27 23:20 +0100
Re: Btrfs best practices Jorge P. de Morais Neto <jorge+list@disroot.org> - 2022-01-29 21:00 +0100
csiph-web