8,560
edits
(Updating to match new version of source page) |
(Updating to match new version of source page) |
||
Line 323: | Line 323: | ||
** some software-bug ??? | ** some software-bug ??? | ||
** ssd gone bad ??? [https://forum.manjaro.org/t/update-ended-in-readonly-filesystem/154442/34 example] | ** ssd gone bad ??? [https://forum.manjaro.org/t/update-ended-in-readonly-filesystem/154442/34 example] | ||
[https://btrfs.readthedocs.io/en/latest/Hardware.html What the Btrfs developers say:] | [https://btrfs.readthedocs.io/en/latest/Hardware.html What the Btrfs developers say:] If you use unreliable hardware and don’t know about that, don’t blame the filesystem when it tells you. | ||
Also see: [https://btrfs.readthedocs.io/en/latest/Tree-checker.html Tree-ckecker] | Also see: [https://btrfs.readthedocs.io/en/latest/Tree-checker.html Tree-ckecker] | ||
Line 371: | Line 371: | ||
* Expand file system | * Expand file system | ||
* Unmount file system | * Unmount file system | ||
=== Mount options === | |||
The default mount settings chosen by btrfs are really optimal in most cases! There are only a few options to think about. Current and accurate information can also be found at: https://btrfs.readthedocs.io/en/latest/Administration.html | |||
{{BoxInfo|,noatime|Under read intensive work-loads, specifying noatime significantly improves performance because no new access time information needs to be written. Default is ''relatime''. ( ''''',lazytime ''[https://github.com/kdave/btrfs-progs/issues/377 may not help, however]''')}} | |||
{{BoxInfo|,compress=zstd:7| Enables automatic and transparent compression. If compression is enabled, ''nodatacow'' and ''nodatasum'' are disabled. The compression level is adjustable, with higher levels trading off speed and memory for higher compression rates. ZLIB accepts the range [1, 9] and ZSTD accepts [1, 15]. '''Default is 3''' each}} | |||
* '',ssd'' ('''automatic !)''' | |||
* '',discard'' ('''automatic !)''' | |||
* '',space_cache'' ('''automatic !)''' | |||
You can always test what btrfs uses with: {{UserCmd|command=mount -t btrfs}} | |||
= Btrfs options = | = Btrfs options = |