1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-23 16:44:05 +02:00

bcachefs*: minor tweaks (#17716)

This commit is contained in:
Managor 2025-08-18 07:39:51 +03:00 committed by GitHub
parent 20c41cc7f7
commit 090ee01e80
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -5,7 +5,7 @@
- Format and add a new device to an existing filesystem.:
`sudo bcachefs device add --label={{group}}.{{name}} {{path/to/mountpoint}} {{path/to/device}}`
`sudo bcachefs device add --label {{group}}.{{name}} {{path/to/mountpoint}} {{path/to/device}}`
- Migrate data off a device to prepare for removal:

View file

@ -14,7 +14,7 @@
- Create a RAID 0 filesystem where an SSD acts as a cache and an HDD acts as a long-term storage:
`sudo bcachefs format {{[-l|--label]}} {{ssd.ssd1}} {{path/to/ssd/partition}} {{[-l|--label]}} {{hdd.hdd1}} {{path/to/hdd/partition}} --replicas 1 --foreground_target {{ssd}} --promote_target {{ssd}} --background_target {{hdd}}`
`sudo bcachefs format {{[-l|--label]}} {{ssd.ssd1}} {{path/to/ssd_partition}} {{[-l|--label]}} {{hdd.hdd1}} {{path/to/hdd_partition}} --replicas 1 --foreground_target {{ssd}} --promote_target {{ssd}} --background_target {{hdd}}`
- Mount a multidevice filesystem: