chungus: moved high IO to /srv2 (which is on the nvme)

This commit is contained in:
Ingolf Wagner 2023-08-23 07:43:53 +02:00
parent 9c47261653
commit e47040cace
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B
4 changed files with 15 additions and 6 deletions

View file

@ -97,6 +97,15 @@ in
compression = "lz4"; compression = "lz4";
}; };
}; };
"services2" = {
type = "zfs_fs";
mountpoint = "/srv2";
options = {
mountpoint = "legacy";
compression = "lz4";
"com.sun:auto-snapshot:daily" = true;
};
};
}; };
}; };

View file

@ -5,7 +5,7 @@
services.zigbee2mqtt = { services.zigbee2mqtt = {
enable = true; enable = true;
dataDir = "/srv/zigbee2mqtt"; dataDir = "/srv2/zigbee2mqtt";
settings = { settings = {
# Home Assistant integration (MQTT discovery) # Home Assistant integration (MQTT discovery)

View file

@ -3,7 +3,7 @@
virtualisation.oci-containers = { virtualisation.oci-containers = {
containers.homeassistant = { containers.homeassistant = {
volumes = [ "/srv/home-assistant:/config" ]; volumes = [ "/srv2/home-assistant:/config" ];
environment.TZ = "Europe/Berlin"; environment.TZ = "Europe/Berlin";
image = "ghcr.io/home-assistant/home-assistant:stable"; # Warning: if the tag does not change, the image will not be updated image = "ghcr.io/home-assistant/home-assistant:stable"; # Warning: if the tag does not change, the image will not be updated
extraOptions = [ "--network=host" ]; extraOptions = [ "--network=host" ];

View file

@ -5,10 +5,10 @@
virtualisation.oci-containers = { virtualisation.oci-containers = {
containers.tdarr = { containers.tdarr = {
volumes = [ volumes = [
"/srv/tdarr/server:/app/server" "/srv2/tdarr/server:/app/server"
"/srv/tdarr/configs:/app/configs" "/srv2/tdarr/configs:/app/configs"
"/srv/tdarr/logs:/app/logs" "/srv2/tdarr/logs:/app/logs"
"/srv/tdarr/transcode_cache:/temp" "/srv2/tdarr/transcode_cache:/temp"
"/media:/media" "/media:/media"
]; ];
environment = { environment = {