Timeline for How to turn on compression for a single file on btrfs?
Current License: CC BY-SA 4.0
6 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jan 18 at 19:23 | comment | added | Atemu | That is correct. A defrag always implies rewriting the file entirely and that unshares its extents. | |
| Jan 12 at 9:42 | comment | added | dsz | A guess, which I woundn't mind getting confirmed - compressing a set of files that are already in a previous snapshot is likely to increase disk space, since new versions will need to be created that cant share extents with the ones in the snapshot. Yes? | |
| Jun 11, 2020 at 14:16 | history | edited | CommunityBot | Commonmark migration | |
| Jan 27, 2020 at 8:58 | comment | added | Atemu | Afaik defrag will enable forced compression on the file, I don't know if it does that immediately or after the file has been defragmented. Intuition tells me it's the former. | |
| Jan 25, 2020 at 18:30 | comment | added | endolith | If I use filesystem defragment and continue writing to the file, the parts I write after that point will not be compressed, right? filesystem defragment compresses existing parts, but not future parts, while chattr +c compresses future parts, but not existing parts? | |
| Jan 25, 2020 at 15:35 | history | answered | Atemu | CC BY-SA 4.0 |