Operating System - Linux
1829614 Members
1944 Online
109992 Solutions
New Discussion

Re: NFS Mounting on Redhat 4.0 AS

 
Cliff Lim Kok Hwee
Regular Advisor

NFS Mounting on Redhat 4.0 AS

Gd Day Forum,

How do I enable nfs mounting services on my redhat 4.0 AS for both 2 Linux boxes?

Thanks/cliff
5 REPLIES 5
Chandan Kumar_1
Honored Contributor

Re: NFS Mounting on Redhat 4.0 AS

Hi,

Go through the following web link:

http://www.troubleshooters.com/linux/nfs.htm

Hope this helps!
Chandan
Learn. Share. Inspire.
Delrish
Trusted Contributor

Re: NFS Mounting on Redhat 4.0 AS

You should run portmap, nfslock and nfsd on you server. configure /etc/export and mount the directory. for mounting automaticaly at the boot time you can add your NFS mount point in /etc/fstab.

Alireza
Ivan Ferreira
Honored Contributor

Re: NFS Mounting on Redhat 4.0 AS

On the server:

chkconfig portmap on
chkconfig nfs on

Edit /etc/exports, like this:

/public *(ro,async,root_squash)

Start the service:

service nfs start

On the client:

mount -t nfs server:/public /mount/point

You MUST have a consistent UID/GID scheme on all your servers.

NOTE: nfslock is not needed as the lock is already managed by the kernel on linux-to-linux nfs.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Tvs
Regular Advisor

Re: NFS Mounting on Redhat 4.0 AS

hi

enable the portmap and nfs service . so that it will start automatically .

# chkconfig portmap on
# chkconfig nfs on

Edit /etc/exports,

add the exported file system like

/home

then

service nfs start

On the client side :

showmount -e (server ip address)

this is to check whether the filsystems exported properly.

then try to mount the fs from client side
mount server:/home /mnt

Indrajit_1
Valued Contributor

Re: NFS Mounting on Redhat 4.0 AS

Hi,

Do the following steps.

#mkdir /dump

#vi /etc/exports
/dump (rw,root_no_squash,async)

save and come out..

#service nfs restart
#vi /etc/fstab

Go to client machine..
#vi /etc/fstab

Made an entry in fstab file for automount after restart the machine..

#mount /dump
#df -k
u should able to see the directory mounted..

Hope this will resolve ur issue..

cheers
indrajit

Never Ever Give Up