disko icon indicating copy to clipboard operation
disko copied to clipboard

[example-request] btrfs and bcachefs raids without lvm/mdam

Open con-f-use opened this issue 1 year ago • 1 comments

It's a bit hard for newbies such as myself to grog the details of disko config just from the examples without a detailed documentation. Does disko actually support btrfs- and/or bachefs-raids without using mdam? If yes, could we have examples for that. I trust there will be formal reference documentation at one point, once you figured out to generate it from the module types, right?

con-f-use avatar Feb 22 '24 15:02 con-f-use

I'd be interested as well in this. I ended up going single disk then the btrfs commands post-install to add and convert to raid1. Searching "language:nix disko btrfs raid" and I did find this. Might try out but syntax didn't seem native btrfs which I was trying to maintain.

dailyherold avatar Apr 29 '24 01:04 dailyherold

We do have this example: https://github.com/nix-community/disko/blob/master/example/btrfs-only-root-subvolume.nix

Does that help?

iFreilicht avatar Oct 01 '24 17:10 iFreilicht