NFS mount in fstab

tuwub

New Member
May 14, 2009
5
0
1
Hi all,
I can mount manually NFS exports in a VE (Debian Squeeze), either typing the whole mount command or mounting the point specified in fstab, but they are not mounted at boot.
Any ideea?
Thanks
Gabriel
 
I prefer to mount NFS directly in the containers, because there are a lot of NFS shares for many containers and in the case of NFS failure to be able to avoid the host hang-up.
Using hard option for NFS is mandatory, and intr does not solve the problem.
Thank you Dietmar
Gabriel
 
I have the same problem.
The container cannot mount the NFS export because the nfs kernel module is not loaded, and the container cannot load it.

Once the host as loaded the module (to access NFS storage for iso for exemple), the container can mount the NFS exports.
And then, if your restart it, they're mounted at boot...

What I have done is to add the nfs module in /etc/modules.
It will be loaded by the host at boot time.

I wonder why proxmox mounts the NFS storages only when you access it for the first time...
 
In my case, the module is loaded at boot. I can mount either "mount fstab_mount_point" or "mount IP:export mount_point" without loading any module. I' ve tried also to delay the NFS mounting process at boot with no luck.