[Users] sharing files + locking through mount --bind ?!

albinootje albinootje at gmail.com
Tue Aug 4 17:29:10 EDT 2009


Hi,

I'm working on a setup with OpenLDAP, Samba, and NFS.
For the users I want to use NFS for their home directories, and then
they would authenticate against LDAP on the fileserver VE (OpenVZ),
which also offers samba.
Files inside that VE are mounted with --bind from the host system.

I just thought about the option of not using samba mounting on the desktops,
but using mount --bind to show the file shares on the server inside
their  (NFS mounted) home directories.

I wondered how things are when it comes to locking. I assume that
there's no locking of files, when some users would be
opening the same file at the same time, but I'm not sure about that.
Is there any filelocking with the mount --bind option in OpenVZ ?
Where do I find more information on this ?

TIA




More information about the Users mailing list