1752781 Members
6162 Online
108789 Solutions
New Discussion юеВ

NFS server configuration

 
SOLVED
Go to solution
gany59
Regular Advisor

NFS server configuration

Hi Guru's

Pls tell the steps for configure the NFS server and client..

Thanks in advance...
8 REPLIES 8
Michal Kapalka (mikap)
Honored Contributor
Tor-Arne Nostdal
Trusted Contributor

Re: NFS server configuration

Is this a one-time operation or a permanent NFS share?

If you're not familiar with how to do it, you could use System Administration tool sam

SAM Areas:Networking and Communications -> Networked File Systems

Hint:
If permanent you would like to use a NFS filesystem which is auto mounted on your client when you access it. If you dont do it this way, your client may hang if your server go down.

I'm trying to become President of the state I'm in...
R.K. #
Honored Contributor
Solution

Re: NFS server configuration

Hi Gany,

Please find the attachment.

Regds..


Don't fix what ain't broke
Michal Kapalka (mikap)
Honored Contributor

Re: NFS server configuration

hi,

/etc/exports

here will be defined which part of FS will be shared, and permition

them exportfs -va

from client side, you need to decide if you use automount or typical nfs mount on you server

showmount -e hostname_of_nfs_server

will show you wich FS are exported for which hosts, and which access privileges.

mikap
gany59
Regular Advisor

Re: NFS server configuration

Hi mikap..

thanks for ur response..

i need to mount the FS by NFS .. say for example my NFS server name is biacpd, and the client name is dicapb, if i need to mount the /home/anu directory to the client , what i need to do , is there any permission need to be set , and i want the shared file in the read only mode

Could u pls tell me the steps for this..

Very much thankful in advance!!!!
R.K. #
Honored Contributor

Re: NFS server configuration

Hi Gany,

ON NFS SERVER (biacpd):
#vi /etc/exports
/home/anu -ro #export read-only to everyone

#exportfs -a
#showmount -e #to confirm

ON NFS CLIENT (dicapb):
# mount :/home/anu /newdir

Now /home/anu from nfs server is mounted on client on /newdir as read-only.

Hope this helps..
Don't fix what ain't broke
R.K. #
Honored Contributor

Re: NFS server configuration

To make above mount point permanent on NFS CLIENT, make en entry in fstab:

# vi /etc/fstab
:/home/anu /newdir nfs soft 0 0

This will survive reboot.
Don't fix what ain't broke
gany59
Regular Advisor

Re: NFS server configuration

HI R.K

thanks a lot , then what is the purpose of the /etc/xtab and /etc/rmtab file.. do we need to put any entry in these files..