Hi
I'm having trouble with NFS mounts on proxmox 5.1.
I've followed the advice I've read on here and mounted my NFS share on the host, and then made that available to containers with mount points. The NFS share works fine on the host and is accessible on the containers. So far so good.
The issue is with host shutdown, and container autostart. After I've connected the containers with the mount points, when I try and restart the host hangs on 'a stop job is running for PVE guests (*time* / no limit). After doing a hard reboot, the containers then fail to autostart with an 'exit code 1' ('systemctl start pve-container... failed').
I can start them fine from the GUI. And also I can shutdown them from the GUI as well, and then the host restart works better (there's no hang on the ...'pve guests' although it fails to unmount the NFS). I can also unmount them at the CLI without issue.
The containers I've tried this with are running Ubuntu 16.10 and 17.04. They are unprivileged.
I've tried changing the NFS links to soft, and that has allowed the NFS to be unmounted when I restart the host (when the containers are already shutdown), but the other issues remain.
I'm new to proxmox (and virtualisation) so I'm not sure what I should try next? Try another container o/s? Or is there a configuration on the NFS (server or client side) that might be causing this? What logs should I be looking at to see more detail about what's happened?
Any help much appreciated!
I'm having trouble with NFS mounts on proxmox 5.1.
I've followed the advice I've read on here and mounted my NFS share on the host, and then made that available to containers with mount points. The NFS share works fine on the host and is accessible on the containers. So far so good.
The issue is with host shutdown, and container autostart. After I've connected the containers with the mount points, when I try and restart the host hangs on 'a stop job is running for PVE guests (*time* / no limit). After doing a hard reboot, the containers then fail to autostart with an 'exit code 1' ('systemctl start pve-container... failed').
I can start them fine from the GUI. And also I can shutdown them from the GUI as well, and then the host restart works better (there's no hang on the ...'pve guests' although it fails to unmount the NFS). I can also unmount them at the CLI without issue.
The containers I've tried this with are running Ubuntu 16.10 and 17.04. They are unprivileged.
I've tried changing the NFS links to soft, and that has allowed the NFS to be unmounted when I restart the host (when the containers are already shutdown), but the other issues remain.
I'm new to proxmox (and virtualisation) so I'm not sure what I should try next? Try another container o/s? Or is there a configuration on the NFS (server or client side) that might be causing this? What logs should I be looking at to see more detail about what's happened?
Any help much appreciated!
Last edited: