disko icon indicating copy to clipboard operation
disko copied to clipboard

Bcachefs multi disk support

Open kagehisa opened this issue 1 year ago • 6 comments

I don't know if it is already supported, so please ignore and close this if it s already implemented. I'm planning to setup a raid1 based on bcachefs, which is only hosting data. Basically I want to do something like:

mkfs.bcachefs -a raid1 /dev/sda /dev/sdb

But as far as I understand the bcachefs example with my currently limited nix skills, multiple disks can not be defined. Or am I understanding the example wrong?

kagehisa avatar Jan 15 '24 11:01 kagehisa

This is not implemented: https://github.com/nix-community/disko/pull/499#issuecomment-1882916152

Mic92 avatar Jan 15 '24 11:01 Mic92

Thanks for the comeback, nice to know that it is on the list.

kagehisa avatar Jan 15 '24 11:01 kagehisa

#499 was closed, what's the status now?

CryoMyst avatar Oct 03 '24 08:10 CryoMyst

Well the status is we have an abandoned PR and currently nobody is working on this.

I don't know much about bcachefs, but we have an example for btrfs spreading a raid across two disks using extraArgs, maybe that works?

iFreilicht avatar Oct 03 '24 09:10 iFreilicht