On Sun, 11 Jul 2004 16:56:42 +1000, skip wrote:
> How do I allow enable NFS on my LAN? Is this set up via the 'local' zone or
> should I create a new zone for my home LAN? I tried the latter but couldn't
> get NFS to work.
Huh? "zone"? oh, as in DNS? Hmm... it's sort of orthogonal...
To make NFS work, you really just need to define the exported files
systems on server(s) and start the nfsd and mountd daemons. Then the NFS
clients do need to resolve the host name of the server somehow. That could
be via hosts file, nis, ldap, or dns, whatever. Then use mount command.
A good combination with NFS is the automounter. It enables you to do
things like define home directories exported from (several) server(s) and
have them automatically mounted on the local machine's /home directory.
Setting it up requires a bit of reading. It's not a one liner, and it
depends on how you have setup the rest of your LAN.
Personally, I have a small LAN with my own machines, and a single IP
connection via cable-modem, with a backup dialout. I don't run any DNS
server of my own. I use my ISP DNS server for internet address resolution.
I do my local name resolutions with NIS, but will soon go to ldap (as soon
as I figure it out, but it's not a priority). You could setup NIS (it's
pretty easy), or configure your own DNS or LDAP, or just put the servers
in /etc/hosts. I think you can even test by pluggin in IP addresses.
BTW, a useful commands for checking out NFS stuff is:
showmount -e <servername>
It will check your name resolution and list the shared resources.
--
Juhan Leemet
Logicognosis, Inc.
|