diff --git a/tldr/linux/bcachefs b/tldr/linux/bcachefs index 093270a9..4c0701d0 100644 --- a/tldr/linux/bcachefs +++ b/tldr/linux/bcachefs @@ -28,6 +28,14 @@ source: https://github.com/tldr-pages/tldr.git `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` diff --git a/tldr/windows/mount b/tldr/windows/mount index b9ab1cf6..b1dd91cc 100644 --- a/tldr/windows/mount +++ b/tldr/windows/mount @@ -22,7 +22,7 @@ source: https://github.com/tldr-pages/tldr.git - Mount a share and retry up to 10 times if it fails: -`mount -o retry={{retries}} \{{computer_name}}\{{share_name}} {{Z:}}` +`mount -o retry=10 \{{computer_name}}\{{share_name}} {{Z:}}` - Mount a share with forced case sensitivity: