nix-community / disko

Declarative disk partitioning and formatting using nix [maintainer=@Lassulus]
MIT License
1.51k stars 163 forks source link

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

Open con-f-use opened 5 months ago

con-f-use commented 5 months ago

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?

dailyherold commented 3 months ago

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.