I will be running a server which will work with data on a local disk. I would also like to share the volume over the LAN with Samba or NFS to servers which will also be writing to data on the disc.
Should my main server act as both a Samba/NFS server and client (i.e. everything interacting with the disc through samba)? Or is it safe to mount and work with the mounted drive normally on the main server, while at the same time other servers are writing to data through Samba/NFS?
Also any opinions on choice of network file server are welcomed. Thanks!
If you could only access shared folders via their shares, then I don't think any networking OS would have got very far!
It's perfectly safe to access a file on a local volume, AND share it by Samba, and NFS, and if you want, FTP, HTTP, SCP, or Upside-Down-Ternet.
I notice you tagged the post locked-file. Locking will be handled by the underlying file system.
As long as it's NFSv3 or greater I think you should be able to safely work with the data locally and remotely, NFSv2 doesn't properly do filesystem locking.