(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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
,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 may not help, however)
,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:
user $ mount -t btrfs COPY TO CLIPBOARD