Recover Failed NFS/CIFS Mounts After Reboot with a systemd Timer (3 Retries)
ruhanirabin · x · 2026-11-27
Blogger Ruhani Rabin documents fixing a real homelab failure: after updating and rebooting his Proxmox host, Home Assistant backups to NAS failed because three NFS mounts timed out during boot and stayed down, though manual mounting worked. His solution keeps the existing /etc/fstab entries and adds a systemd timer script: checks start 10 minutes after boot, up to 3 recovery attempts 10 minutes apart, stopping once mounts are up for that boot; after the third failure it logs MOUNTRECOVERYFAILED and leaves a failed service for investigation. The post includes full commands, dependencies (nfs-common/cifs-utils, findmnt, mountpoint, flock, timeout), and troubleshooting steps for Debian/Ubuntu/Proxmox, covering both NFS and CIFS/SMB.
More from Infra
- Gigawatt data centres can't run 24/7 on renewables: India gets pollution, not compute benefits — kingslyj · 2026-11-27
- Critic: tax-holiday export-oriented data centres in India amount to extractive colonialism — kingslyj · 2026-11-27
- Sipeed MaixStation runs Qwen 27B at 30W, matching DGX Spark's token speed — IgorCarron · 2026-11-27
- GLM-5.5 not delayed, December launch; Zhipu said to pretrain on 10,000-card Huawei 950DT cluster — AccBalanced · 2026-11-27
- BIS/RASA enforcement impact flows from Neoclouds straight to model labs — AccBalanced · 2026-11-27
- oMLX 0.8.4 offloads MoE experts to SSD, doubles 128K decode on Apple Silicon — AIFlow_ML · 2026-11-27