Talk:Storage: NFS

From Proxmox VE
Revision as of 14:17, 3 November 2016 by Marco Gaiarin (talk | contribs) (Created page with "In a clustered installation, if a node of the cluster is also a NFS server for all the cluster, the node can hung on reboot/shutdown, because all node, so the server itself, m...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

In a clustered installation, if a node of the cluster is also a NFS server for all the cluster, the node can hung on reboot/shutdown, because all node, so the server itself, mount the NFS share.

In that node it is betetr to force a determined order in service shutdown, eg shutdown the NFS server before the pve-manager service.

It suffices to create the file (and also create the folder /etc/systemd/system/pve-manager.service.d if not existant) /etc/systemd/system/pve-manager.service.d/after-nfs.conf with inside simply:

[Unit]
After=nfs-kernel-server.service

and then reload systemd:

systemctl daemon-reload