mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-11-26 01:46:31 -05:00
Change misc defaults
* category.create=pfrd * moveonenospc=pfrd * cache.files=off * parallel-direct-writes=true These changes were made to match the recommended settings for most users to reduce confusion.
This commit is contained in:
parent
7f410073d4
commit
b7f7f7fa97
7 changed files with 27 additions and 19 deletions
|
|
@ -22,6 +22,7 @@ cases.
|
|||
|
||||
* cache.files=off
|
||||
* category.create=pfrd
|
||||
* func.getattr=newest
|
||||
* dropcacheonclose=false
|
||||
|
||||
In previous versions of Linux it was unable to support `mmap` if [page
|
||||
|
|
@ -44,6 +45,7 @@ IO.)
|
|||
|
||||
* cache.files=auto-full
|
||||
* category.create=pfrd
|
||||
* func.getattr=newest
|
||||
* dropcacheonclose=true
|
||||
|
||||
|
||||
|
|
@ -51,6 +53,7 @@ IO.)
|
|||
|
||||
* cache.files=off
|
||||
* category.create=pfrd
|
||||
* func.getattr=newest
|
||||
* dropcacheonclose=false
|
||||
|
||||
|
||||
|
|
@ -59,14 +62,14 @@ IO.)
|
|||
### Command Line
|
||||
|
||||
```
|
||||
mergerfs -o cache.files=off,dropcacheonclose=false,category.create=pfrd /mnt/hdd0:/mnt/hdd1 /media
|
||||
mergerfs -o cache.files=off,category.create=pfrd,func.getattr=newest,dropcacheonclose=false /mnt/hdd0:/mnt/hdd1 /media
|
||||
```
|
||||
|
||||
|
||||
### /etc/fstab
|
||||
|
||||
```
|
||||
/mnt/hdd0:/mnt/hdd1 /media mergerfs cache.files=off,dropcacheonclose=false,category.create=pfrd 0 0
|
||||
/mnt/hdd0:/mnt/hdd1 /media mergerfs cache.files=off,category.create=pfrd,func.getattr=newest,dropcacheonclose=false 0 0
|
||||
```
|
||||
|
||||
### /etc/fstab w/ config file
|
||||
|
|
@ -86,6 +89,7 @@ For more complex setups it can be useful to separate out the config.
|
|||
```ini title="media.ini" linenums="1"
|
||||
cache.files=off
|
||||
category.create=pfrd
|
||||
func.getattr=newest
|
||||
dropcacheonclose=false
|
||||
```
|
||||
|
||||
|
|
@ -119,6 +123,7 @@ ExecStart=/usr/bin/mergerfs \
|
|||
-f \
|
||||
-o cache.files=off \
|
||||
-o category.create=pfrd \
|
||||
-o func.getattr=newest \
|
||||
-o dropcacheonclose=false \
|
||||
/mnt/hdd0:/mnt/hdd1 \
|
||||
/media
|
||||
|
|
@ -182,6 +187,7 @@ ExecStart=/usr/bin/mergerfs \
|
|||
-f \
|
||||
-o cache.files=off \
|
||||
-o category.create=pfrd \
|
||||
-o func.getattr=newest \
|
||||
-o dropcacheonclose=false \
|
||||
/mnt/hdd0:/mnt/hdd1 \
|
||||
/media
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue