koverstreet / bcachefs

Other
643 stars 71 forks source link

Document Adding Cache Devices After Initial Format #626

Open inferenceus opened 6 months ago

inferenceus commented 6 months ago

Based on my research, it seems possible to add new devices to an existing Bcachefs filesystem (--foreground_target, --promote_target, --background_target etc), but I haven't been able to find a proper way to do this, only comments of people who have apparently done it.

Is this actually possible? I currently have a single NVMe SSD device which has terabytes of data on it, and my intention is to use it as both foreground target and promote target while using a larger HDD as the background device. Just as importantly, I'd like to add a second HDD as a replica (RAID 1-style) to mirror the background device HDD; is this possible?

If any of this is possible, it should be documented, since, currently, only new Bcachefs formats and their commands are documented.