From ab799f94906850f67af106cd96b2a5ed50ecb8b5 Mon Sep 17 00:00:00 2001 From: main Date: Sat, 26 Feb 2022 18:36:19 +0100 Subject: [PATCH] Add specific `hard` and `soft` mount opts to nfs Signed-off-by: main --- infrastructure/gitea/gitea-data.hcl | 2 +- infrastructure/gitea/gitea-db.hcl | 2 +- infrastructure/home-assistant/home-assistant_hass.hcl | 2 +- infrastructure/home-assistant/home-assistant_mosquitto.hcl | 2 +- infrastructure/home-assistant/home-assistant_zigbee2mqtt.hcl | 2 +- infrastructure/hydra/hydra-data.hcl | 2 +- infrastructure/hydra/hydra-db.hcl | 2 +- infrastructure/hydra/hydra-nix.hcl | 2 +- infrastructure/ingress/ingress-letsencrypt.hcl | 2 +- infrastructure/jellyfin/jellyfin-cache.hcl | 2 +- infrastructure/jellyfin/jellyfin-config.hcl | 2 +- infrastructure/jellyfin/jellyfin-media.hcl | 2 +- 12 files changed, 12 insertions(+), 12 deletions(-) diff --git a/infrastructure/gitea/gitea-data.hcl b/infrastructure/gitea/gitea-data.hcl index 20e21ac..4ee0f57 100644 --- a/infrastructure/gitea/gitea-data.hcl +++ b/infrastructure/gitea/gitea-data.hcl @@ -15,5 +15,5 @@ context { mount_options { fs_type = "nfs" - mount_flags = [ "nolock" ] + mount_flags = [ "nolock", "hard" ] } diff --git a/infrastructure/gitea/gitea-db.hcl b/infrastructure/gitea/gitea-db.hcl index e29273b..3ea5339 100644 --- a/infrastructure/gitea/gitea-db.hcl +++ b/infrastructure/gitea/gitea-db.hcl @@ -15,5 +15,5 @@ context { mount_options { fs_type = "nfs" - mount_flags = [ "nolock" ] + mount_flags = [ "nolock", "hard" ] } diff --git a/infrastructure/home-assistant/home-assistant_hass.hcl b/infrastructure/home-assistant/home-assistant_hass.hcl index 504b4cd..1c6b6d4 100644 --- a/infrastructure/home-assistant/home-assistant_hass.hcl +++ b/infrastructure/home-assistant/home-assistant_hass.hcl @@ -15,5 +15,5 @@ context { mount_options { fs_type = "nfs" - mount_flags = [ "nolock" ] + mount_flags = [ "nolock", "hard" ] } diff --git a/infrastructure/home-assistant/home-assistant_mosquitto.hcl b/infrastructure/home-assistant/home-assistant_mosquitto.hcl index 227adc9..06268c1 100644 --- a/infrastructure/home-assistant/home-assistant_mosquitto.hcl +++ b/infrastructure/home-assistant/home-assistant_mosquitto.hcl @@ -15,5 +15,5 @@ context { mount_options { fs_type = "nfs" - mount_flags = [ "nolock" ] + mount_flags = [ "nolock", "hard" ] } diff --git a/infrastructure/home-assistant/home-assistant_zigbee2mqtt.hcl b/infrastructure/home-assistant/home-assistant_zigbee2mqtt.hcl index 54684d3..d7c783c 100644 --- a/infrastructure/home-assistant/home-assistant_zigbee2mqtt.hcl +++ b/infrastructure/home-assistant/home-assistant_zigbee2mqtt.hcl @@ -15,5 +15,5 @@ context { mount_options { fs_type = "nfs" - mount_flags = [ "nolock" ] + mount_flags = [ "nolock", "hard" ] } diff --git a/infrastructure/hydra/hydra-data.hcl b/infrastructure/hydra/hydra-data.hcl index b537bf2..c17844c 100644 --- a/infrastructure/hydra/hydra-data.hcl +++ b/infrastructure/hydra/hydra-data.hcl @@ -15,5 +15,5 @@ context { mount_options { fs_type = "nfs" - mount_flags = [ "nolock" ] + mount_flags = [ "nolock", "hard" ] } diff --git a/infrastructure/hydra/hydra-db.hcl b/infrastructure/hydra/hydra-db.hcl index b0a2bc2..2211cf9 100644 --- a/infrastructure/hydra/hydra-db.hcl +++ b/infrastructure/hydra/hydra-db.hcl @@ -15,5 +15,5 @@ context { mount_options { fs_type = "nfs" - mount_flags = [ "nolock" ] + mount_flags = [ "nolock", "hard" ] } diff --git a/infrastructure/hydra/hydra-nix.hcl b/infrastructure/hydra/hydra-nix.hcl index 8d0493e..7ed1f02 100644 --- a/infrastructure/hydra/hydra-nix.hcl +++ b/infrastructure/hydra/hydra-nix.hcl @@ -15,5 +15,5 @@ context { mount_options { fs_type = "nfs" - mount_flags = [ "nolock" ] + mount_flags = [ "nolock", "hard" ] } diff --git a/infrastructure/ingress/ingress-letsencrypt.hcl b/infrastructure/ingress/ingress-letsencrypt.hcl index 94804cd..a49e446 100644 --- a/infrastructure/ingress/ingress-letsencrypt.hcl +++ b/infrastructure/ingress/ingress-letsencrypt.hcl @@ -15,5 +15,5 @@ context { mount_options { fs_type = "nfs" - mount_flags = [ "nolock" ] + mount_flags = [ "nolock", "soft" ] } diff --git a/infrastructure/jellyfin/jellyfin-cache.hcl b/infrastructure/jellyfin/jellyfin-cache.hcl index d9c95d9..7eed239 100644 --- a/infrastructure/jellyfin/jellyfin-cache.hcl +++ b/infrastructure/jellyfin/jellyfin-cache.hcl @@ -15,5 +15,5 @@ context { mount_options { fs_type = "nfs" - mount_flags = [ "nolock" ] + mount_flags = [ "nolock", "hard" ] } diff --git a/infrastructure/jellyfin/jellyfin-config.hcl b/infrastructure/jellyfin/jellyfin-config.hcl index ad1e850..0b998f1 100644 --- a/infrastructure/jellyfin/jellyfin-config.hcl +++ b/infrastructure/jellyfin/jellyfin-config.hcl @@ -15,5 +15,5 @@ context { mount_options { fs_type = "nfs" - mount_flags = [ "nolock" ] + mount_flags = [ "nolock", "hard" ] } diff --git a/infrastructure/jellyfin/jellyfin-media.hcl b/infrastructure/jellyfin/jellyfin-media.hcl index 78c9a72..3a505a1 100644 --- a/infrastructure/jellyfin/jellyfin-media.hcl +++ b/infrastructure/jellyfin/jellyfin-media.hcl @@ -15,5 +15,5 @@ context { mount_options { fs_type = "nfs" - mount_flags = [ "nolock" ] + mount_flags = [ "nolock", "hard" ] }