Skip to content

Commit

Permalink
bcachefs: add runtime replication examples (#13486)
Browse files Browse the repository at this point in the history
Co-authored-by: spageektti <[email protected]>
  • Loading branch information
Managor and spageektti authored Aug 20, 2024
1 parent 6f44e07 commit bca386f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions pages/linux/bcachefs.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`

0 comments on commit bca386f

Please sign in to comment.