1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-30 20:36:01 +02:00

bcachefs: update header; bcachefs-device: add page (#13770)

This commit is contained in:
Managor 2024-09-21 16:46:03 +03:00 committed by GitHub
parent 2f0e795276
commit 3e1ff6c3e2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 18 additions and 1 deletions

View file

@ -0,0 +1,16 @@
# bcachefs device
> Manage devices within a running `bcachefs` filesystem.
> More information: <https://bcachefs-docs.readthedocs.io/en/latest/mgmt-devicemanagement.html>.
- Format and add a new device to an existing filesystem.:
`sudo bcachefs device add --label={{group}}.{{name}} {{path/to/mountpoint}} {{path/to/device}}`
- Migrate data off a device to prepare for removal:
`bcachefs device evacuate {{path/to/device}}`
- Permanently remove a device from a filesystem:
`bcachefs device remove {{path/to/device}}`

View file

@ -1,7 +1,8 @@
# bcachefs
> Manage `bcachefs` filesystems/devices.
> More information: <https://bcachefs.org/bcachefs-principles-of-operation.pdf>.
> Some subcommands such as `device` have their own usage documentation.
> More information: <https://bcachefs-docs.readthedocs.io/en/latest/index.html>.
- Format a partition with `bcachefs`: