bcachefs: add runtime replication examples (#13486)

Co-authored-by: spageektti <git@spageektti.cc>
pull/28/head
Managor 2024-08-20 22:08:51 +03:00 committed by GitHub
parent 6f44e07b76
commit bca386f4c5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 8 additions and 0 deletions

View File

@ -23,6 +23,14 @@
`bcachefs fs usage --human-readable {{path/to/mountpoint}}`
- Set replicas after formatting and mounting:
`sudo bcachefs set-fs-option --metadata_replicas={{2}} --data_replicas={{2}} {{path/to/partition}}`
- Force `bcachefs` to ensure all files are replicated:
`sudo bcachefs data rereplicate {{path/to/mountpoint}}`
- Display help:
`bcachefs`