camelot: Switch RAID to ZFS
This commit is contained in:
parent
91f16c3a93
commit
f188369fac
1 changed files with 9 additions and 6 deletions
|
@ -7,11 +7,19 @@
|
|||
"usbhid"
|
||||
"usb_storage"
|
||||
"sd_mod"
|
||||
"mpt3sas"
|
||||
];
|
||||
boot.initrd.kernelModules = [ "dm-snapshot" ];
|
||||
boot.kernelModules = [ "kvm-intel" ];
|
||||
boot.extraModulePackages = [ ];
|
||||
boot.swraid.enable = true;
|
||||
boot.supportedFilesystems = [ "zfs" ];
|
||||
boot.zfs.forceImportRoot = false;
|
||||
networking.hostId = "c97cef07";
|
||||
boot.zfs.extraPools = [ "pool" ];
|
||||
services.zfs = {
|
||||
autoScrub.enable = true;
|
||||
trim.enable = true;
|
||||
};
|
||||
|
||||
fileSystems = {
|
||||
"/" = {
|
||||
|
@ -19,11 +27,6 @@
|
|||
fsType = "ext4";
|
||||
};
|
||||
|
||||
"/srv" = {
|
||||
device = "/dev/disk/by-uuid/329fe696-ad2f-4a86-b45f-8b143daf02d2";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
"/boot" = {
|
||||
device = "/dev/disk/by-uuid/901B-0D68";
|
||||
fsType = "vfat";
|
||||
|
|
Loading…
Reference in a new issue