mirror of
https://github.com/trapexit/mergerfs.git
synced 2025-02-02 14:03:59 +08:00
add UPGRADE section
This commit is contained in:
parent
23d365f67b
commit
752a15953a
17
README.md
17
README.md
|
@ -1,6 +1,6 @@
|
||||||
% mergerfs(1) mergerfs user manual
|
% mergerfs(1) mergerfs user manual
|
||||||
% Antonio SJ Musumeci <trapexit@spawn.link>
|
% Antonio SJ Musumeci <trapexit@spawn.link>
|
||||||
% 2019-06-03
|
% 2019-09-03
|
||||||
|
|
||||||
# NAME
|
# NAME
|
||||||
|
|
||||||
|
@ -491,6 +491,20 @@ A B C
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
# UPGRADE
|
||||||
|
|
||||||
|
mergerfs can be upgraded live by mounting on top of the previous version. Simply install the new version of mergerfs and follow the instructions below.
|
||||||
|
|
||||||
|
Add `nonempty` to your mergerfs option list and call mergerfs again or if using `/etc/fstab` call for it to mount again. Existing open files and such will continue to work fine though they won't see runtime changes since any such change would be the new mount. If you plan on changing settings with the new mount you should / could apply those before mounting the new version.
|
||||||
|
|
||||||
|
```
|
||||||
|
$ sudo mount /mnt/mergerfs
|
||||||
|
$ mount | grep mergerfs
|
||||||
|
media on /mnt/mergerfs type fuse.mergerfs (rw,relatime,user_id=0,group_id=0,default_permissions,allow_other)
|
||||||
|
media on /mnt/mergerfs type fuse.mergerfs (rw,relatime,user_id=0,group_id=0,default_permissions,allow_other)
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
# TOOLING
|
# TOOLING
|
||||||
|
|
||||||
* https://github.com/trapexit/mergerfs-tools
|
* https://github.com/trapexit/mergerfs-tools
|
||||||
|
@ -499,6 +513,7 @@ A B C
|
||||||
* mergerfs.dedup: Will help identify and optionally remove duplicate files
|
* mergerfs.dedup: Will help identify and optionally remove duplicate files
|
||||||
* mergerfs.dup: Ensure there are at least N copies of a file across the pool
|
* mergerfs.dup: Ensure there are at least N copies of a file across the pool
|
||||||
* mergerfs.balance: Rebalance files across drives by moving them from the most filled to the least filled
|
* mergerfs.balance: Rebalance files across drives by moving them from the most filled to the least filled
|
||||||
|
* mergerfs.consolidate: move files within a single mergerfs directory to the drive with most free space
|
||||||
* mergerfs.mktrash: Creates FreeDesktop.org Trash specification compatible directories on a mergerfs mount
|
* mergerfs.mktrash: Creates FreeDesktop.org Trash specification compatible directories on a mergerfs mount
|
||||||
* https://github.com/trapexit/scorch
|
* https://github.com/trapexit/scorch
|
||||||
* scorch: A tool to help discover silent corruption of files and keep track of files
|
* scorch: A tool to help discover silent corruption of files and keep track of files
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
.\"t
|
.\"t
|
||||||
.\" Automatically generated by Pandoc 1.19.2.4
|
.\" Automatically generated by Pandoc 1.19.2.4
|
||||||
.\"
|
.\"
|
||||||
.TH "mergerfs" "1" "2019\-06\-03" "mergerfs user manual" ""
|
.TH "mergerfs" "1" "2019\-09\-03" "mergerfs user manual" ""
|
||||||
.hy
|
.hy
|
||||||
.SH NAME
|
.SH NAME
|
||||||
.PP
|
.PP
|
||||||
|
@ -1063,6 +1063,29 @@ A\ B\ C
|
||||||
/mnt/b/full/path/to/A
|
/mnt/b/full/path/to/A
|
||||||
\f[]
|
\f[]
|
||||||
.fi
|
.fi
|
||||||
|
.SH UPGRADE
|
||||||
|
.PP
|
||||||
|
mergerfs can be upgraded live by mounting on top of the previous
|
||||||
|
version.
|
||||||
|
Simply install the new version of mergerfs and follow the instructions
|
||||||
|
below.
|
||||||
|
.PP
|
||||||
|
Add \f[C]nonempty\f[] to your mergerfs option list and call mergerfs
|
||||||
|
again or if using \f[C]/etc/fstab\f[] call for it to mount again.
|
||||||
|
Existing open files and such will continue to work fine though they
|
||||||
|
won\[aq]t see runtime changes since any such change would be the new
|
||||||
|
mount.
|
||||||
|
If you plan on changing settings with the new mount you should / could
|
||||||
|
apply those before mounting the new version.
|
||||||
|
.IP
|
||||||
|
.nf
|
||||||
|
\f[C]
|
||||||
|
$\ sudo\ mount\ /mnt/mergerfs
|
||||||
|
$\ mount\ |\ grep\ mergerfs
|
||||||
|
media\ on\ /mnt/mergerfs\ type\ fuse.mergerfs\ (rw,relatime,user_id=0,group_id=0,default_permissions,allow_other)
|
||||||
|
media\ on\ /mnt/mergerfs\ type\ fuse.mergerfs\ (rw,relatime,user_id=0,group_id=0,default_permissions,allow_other)
|
||||||
|
\f[]
|
||||||
|
.fi
|
||||||
.SH TOOLING
|
.SH TOOLING
|
||||||
.IP \[bu] 2
|
.IP \[bu] 2
|
||||||
https://github.com/trapexit/mergerfs\-tools
|
https://github.com/trapexit/mergerfs\-tools
|
||||||
|
@ -1081,6 +1104,9 @@ pool
|
||||||
mergerfs.balance: Rebalance files across drives by moving them from the
|
mergerfs.balance: Rebalance files across drives by moving them from the
|
||||||
most filled to the least filled
|
most filled to the least filled
|
||||||
.IP \[bu] 2
|
.IP \[bu] 2
|
||||||
|
mergerfs.consolidate: move files within a single mergerfs directory to
|
||||||
|
the drive with most free space
|
||||||
|
.IP \[bu] 2
|
||||||
mergerfs.mktrash: Creates FreeDesktop.org Trash specification compatible
|
mergerfs.mktrash: Creates FreeDesktop.org Trash specification compatible
|
||||||
directories on a mergerfs mount
|
directories on a mergerfs mount
|
||||||
.IP \[bu] 2
|
.IP \[bu] 2
|
||||||
|
|
Loading…
Reference in New Issue
Block a user