Hi all,
I'm tryng to mount a NFS share on my containers.
I'm using DAB to create a custom template for my containers.
I'm using a cluster of 2 or more hosts
If I want to mount a NFS share with my containers, it looks like the bind way is the best :
http://wiki.openvz.org/Bind_mounts
But, I'll need to create external files CTID.mount / CTID.umount in the /etc/vz/conf of each of my PVE hosts
1/ Does anyone know a way to automatically mount with bind the share for all VMs ? like a sort of catchall (like all.mount / all.umount) ?
2/ Or a better way to do that, without having to create each time these files ? or just using the PVE web UI ?
3/ If I use the nfs
n feature :
vzctl set 101 --features "nfs
n" --save
Can I do it with DAB to automatically enable NFS for my new container ?
4/ Does my containers will keep the mounting after start/stop/restart ?
Thanks,
Romain
I'm tryng to mount a NFS share on my containers.
I'm using DAB to create a custom template for my containers.
I'm using a cluster of 2 or more hosts
If I want to mount a NFS share with my containers, it looks like the bind way is the best :
http://wiki.openvz.org/Bind_mounts
But, I'll need to create external files CTID.mount / CTID.umount in the /etc/vz/conf of each of my PVE hosts
1/ Does anyone know a way to automatically mount with bind the share for all VMs ? like a sort of catchall (like all.mount / all.umount) ?
2/ Or a better way to do that, without having to create each time these files ? or just using the PVE web UI ?
3/ If I use the nfs
vzctl set 101 --features "nfs
Can I do it with DAB to automatically enable NFS for my new container ?
4/ Does my containers will keep the mounting after start/stop/restart ?
Thanks,
Romain