1

System: Replace NFS mounts "soft" option with "hard"

This commit is contained in:
2026-01-18 14:00:16 +01:00
parent ea03e2266f
commit eee28f57fc
3 changed files with 18 additions and 16 deletions

View File

@ -76,6 +76,8 @@
# options = ["defaults" "rw" "noatime"];
# };
# NOTE: By mounting NFS shares here, we risk the system becoming unusable when they disconnect (unless unmounted).
# If the bg option is specified, a timeout or failure causes the mount(8) command
# to fork a child which continues to attempt to mount the export.
# The parent immediately returns with a zero exit code.
@ -94,7 +96,7 @@
"/home/${username}/Restic" = {
device = "192.168.86.15:/volume1/NixinatorPersistence";
fsType = "nfs";
options = ["defaults" "rw" "noatime" "_netdev" "bg" "soft"];
options = ["defaults" "rw" "noatime" "_netdev" "bg" "hard"];
};
# TrueNAS
@ -102,25 +104,25 @@
"/home/${username}/Movies" = {
device = "192.168.86.20:/mnt/Seagate4TB/Movies";
fsType = "nfs";
options = ["defaults" "rw" "noatime" "_netdev" "bg" "soft"];
options = ["defaults" "rw" "noatime" "_netdev" "bg" "hard"];
};
"/home/${username}/Shows" = {
device = "192.168.86.20:/mnt/Seagate4TB/Shows";
fsType = "nfs";
options = ["defaults" "rw" "noatime" "_netdev" "bg" "soft"];
options = ["defaults" "rw" "noatime" "_netdev" "bg" "hard"];
};
"/home/${username}/Music" = {
device = "192.168.86.20:/mnt/Seagate4TB/Music";
fsType = "nfs";
options = ["defaults" "rw" "noatime" "_netdev" "bg" "soft"];
options = ["defaults" "rw" "noatime" "_netdev" "bg" "hard"];
};
"/media/Box" = {
device = "192.168.86.20:/mnt/Seagate4TB/Box";
fsType = "nfs";
options = ["defaults" "rw" "relatime" "_netdev" "bg" "soft"];
options = ["defaults" "rw" "relatime" "_netdev" "bg" "hard"];
};
};

View File

@ -41,7 +41,7 @@
"/media/synology-syncthing" = {
device = "192.168.86.15:/volume1/DockerVolumes";
fsType = "nfs";
options = ["defaults" "rw" "relatime" "_netdev" "bg" "soft"];
options = ["defaults" "rw" "relatime" "_netdev" "bg" "hard"];
};
# TrueNAS
@ -49,31 +49,31 @@
"/media/Movie" = {
device = "192.168.86.20:/mnt/Seagate4TB/Movies";
fsType = "nfs";
options = ["defaults" "rw" "relatime" "_netdev" "bg" "soft"];
options = ["defaults" "rw" "relatime" "_netdev" "bg" "hard"];
};
"/media/Show" = {
device = "192.168.86.20:/mnt/Seagate4TB/Shows";
fsType = "nfs";
options = ["defaults" "rw" "relatime" "_netdev" "bg" "soft"];
options = ["defaults" "rw" "relatime" "_netdev" "bg" "hard"];
};
"/media/TV-Music" = {
device = "192.168.86.20:/mnt/Seagate4TB/Music";
fsType = "nfs";
options = ["defaults" "rw" "relatime" "_netdev" "bg" "soft"];
options = ["defaults" "rw" "relatime" "_netdev" "bg" "hard"];
};
"/media/MusicVideos" = {
device = "192.168.86.20:/mnt/Seagate4TB/MusicVideos";
fsType = "nfs";
options = ["defaults" "rw" "relatime" "_netdev" "bg" "soft"];
options = ["defaults" "rw" "relatime" "_netdev" "bg" "hard"];
};
"/media/Box" = {
device = "192.168.86.20:/mnt/Seagate4TB/Box";
fsType = "nfs";
options = ["defaults" "rw" "relatime" "_netdev" "bg" "soft"];
options = ["defaults" "rw" "relatime" "_netdev" "bg" "hard"];
};
};

View File

@ -37,7 +37,7 @@
"/media/synology-syncthing" = {
device = "192.168.86.15:/volume1/DockerVolumes";
fsType = "nfs";
options = ["defaults" "rw" "relatime" "_netdev" "bg" "soft"];
options = ["defaults" "rw" "relatime" "_netdev" "bg" "hard"];
};
# TrueNAS
@ -45,19 +45,19 @@
"/media/Movie" = {
device = "192.168.86.20:/mnt/Seagate4TB/Movies";
fsType = "nfs";
options = ["defaults" "rw" "relatime" "_netdev" "bg" "soft"];
options = ["defaults" "rw" "relatime" "_netdev" "bg" "hard"];
};
"/media/Show" = {
device = "192.168.86.20:/mnt/Seagate4TB/Shows";
fsType = "nfs";
options = ["defaults" "rw" "relatime" "_netdev" "bg" "soft"];
options = ["defaults" "rw" "relatime" "_netdev" "bg" "hard"];
};
"/media/TV-Music" = {
device = "192.168.86.20:/mnt/Seagate4TB/Music";
fsType = "nfs";
options = ["defaults" "rw" "relatime" "_netdev" "bg" "soft"];
options = ["defaults" "rw" "relatime" "_netdev" "bg" "hard"];
};
};