Add ZFS support to sleeper-service
- Replace ext4 with ZFS pool 'filepool' for enhanced data integrity - Add ZFS auto-scrub and TRIM services for file server - Configure proper ZFS datasets: root, nix, var, storage - Add networking hostId (a1b2c3d4) required for ZFS - Update NFS and Transmission to use ZFS mount points - Change file ownership to 'sma' user for server configuration - Add comprehensive ZFS setup documentation Ready for deployment with proper file server storage backend.
This commit is contained in:
parent
715911cc62
commit
c392df4a93
6 changed files with 35 additions and 11 deletions
|
@ -13,9 +13,25 @@
|
|||
boot.kernelModules = [ "kvm-intel" ];
|
||||
boot.extraModulePackages = [ ];
|
||||
|
||||
# ZFS Configuration for file server
|
||||
fileSystems."/" =
|
||||
{ device = "/dev/disk/by-uuid/12345678-1234-1234-1234-123456789abc";
|
||||
fsType = "ext4";
|
||||
{ device = "filepool/root";
|
||||
fsType = "zfs";
|
||||
};
|
||||
|
||||
fileSystems."/nix" =
|
||||
{ device = "filepool/nix";
|
||||
fsType = "zfs";
|
||||
};
|
||||
|
||||
fileSystems."/var" =
|
||||
{ device = "filepool/var";
|
||||
fsType = "zfs";
|
||||
};
|
||||
|
||||
fileSystems."/mnt/storage" =
|
||||
{ device = "filepool/storage";
|
||||
fsType = "zfs";
|
||||
};
|
||||
|
||||
fileSystems."/boot" =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue