> I realize I'm probably going to cop a bit of newbie flaming for this
> question. The company I work for consists of Windows only machines, so I
> built up and configured a Linux box as a fileserver to show my bosses the
> advantages. No probs there, samba shares work perfectly, webmin setup to
> remotely admininster server. Here's my problem, my boss got me to setup
> another fileserver for another department in the company and I realized I
> have no idea how to mount a linux share from the first server. This share
> is different from the samba shares and will only be accessed by the 2nd
> linux box. Could someone help me out and let me know how to share a
> directory between linux boxes only.
> Thankx in advance and I promise I won't take any of the "can't believe you
> don't know..." comments to heart.
The solution is to "export" a directory from your server
(so more ore less to set some permissions) and to "mount" this
from a client machine.
So lets start with your so called NFS server (NFS means network
file system). In /etc/export (see also "man 5 exports") you
need to add an entry like this:
/path/your/share *.yourdomain.com(rw)
...or something similar (check man page for further details).
Then start your NFS server daemon, on SuSE Linux for example
/etc/rc.d/nfsserver start
On your client machine which should be a host in yourdomain.com
is now able to "mount" this directory. First you need a
so called mount point, which is more or less an empty
directory, lets say "mkdir /opt/mymount". Then edit
/etc/fstab and add something like this
server:/path/your/share /opt/mymount nfs defaults 0 0
(see man page for details).
Last but not least run a "mount -a" and a "df -k" should
display now the mounted drive from your server machine.
Hope this helps you a little bit,
Joerg.