hosts/TITAN: bcachefs -> xfs with lvm cache pool
This commit is contained in:
parent
f5ad79dc3a
commit
7c4f151bd2
1 changed files with 9 additions and 3 deletions
|
@ -13,11 +13,17 @@
|
||||||
"usbhid"
|
"usbhid"
|
||||||
"sd_mod"
|
"sd_mod"
|
||||||
"sr_mod"
|
"sr_mod"
|
||||||
|
"dm_cache_smq"
|
||||||
|
"dm_persistent_data"
|
||||||
|
"dm_bio_prison"
|
||||||
|
"dm_bufio"
|
||||||
];
|
];
|
||||||
boot.initrd.kernelModules = [ ];
|
boot.initrd.kernelModules = [ "dm_cache" ];
|
||||||
boot.kernelModules = [ "kvm-amd" ];
|
boot.kernelModules = [ "kvm-amd" ];
|
||||||
boot.extraModulePackages = [ ];
|
boot.extraModulePackages = [ ];
|
||||||
|
|
||||||
|
services.lvm.boot.thin.enable = true;
|
||||||
|
|
||||||
fileSystems."/" = {
|
fileSystems."/" = {
|
||||||
device = "tmprootfs";
|
device = "tmprootfs";
|
||||||
fsType = "tmpfs";
|
fsType = "tmpfs";
|
||||||
|
@ -31,8 +37,8 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/srv/data" = {
|
fileSystems."/srv/data" = {
|
||||||
device = "/dev/mapper/tank-freezer:/dev/disk/by-id/ata-S10C-512G-PHISON-SSD_FECA076C020806391670";
|
device = "/dev/mapper/tank-shelf";
|
||||||
fsType = "bcachefs";
|
fsType = "xfs";
|
||||||
neededForBoot = true;
|
neededForBoot = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue