-
-
Notifications
You must be signed in to change notification settings - Fork 269
Open
Description
This issue requests the support to provision block devices as stratis pool and mount filesystems in the stratis pool as xfs. NixOS provides basic options to configure stratisd (fileSystems.<name>.stratis.poolUuid and services.stratis.enable).
Since stratis is designed to be similar to zfs structurally, the configuration can look like this:
{
disko.devices = {
disk = {
x = {
type = "disk";
device = "/dev/sda";
content = {
type = "gpt";
partitions = {
stratis = {
size = "100%";
content = {
type = "stratis";
pool = "spool";
};
};
};
};
};
stratis-pool.spool = {
type = "stratis-pool";
# Options passed to `stratis pool create`
options = {};
filesystems = {
data = {
type = "xfs";
mountpoint = "/<some_mount_point>";
# Options passed to `stratis filesystem create`
options = {};
};
};
};
};
};
}Metadata
Metadata
Assignees
Labels
No labels