Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Setting up NFS ...

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
hi, how can i setup a NFS (network file system) in a linux via solaris OS or vice-versa computers correctly ?

i setup once, but i encounter an error as follow:
RPC timeout

what is that error about ?

By Linux n00b
 
try to check /etc/resolv.conf. This helped me in configuring lin-lin nfs. i did not try with solaris.

regards
 
in linux use /etc/exports to share your files. You'll need the portmapper, nfslock and nfs running. Although it should be default, ensure you are using nfs v3 on linux.
On solaris you'll use the /etc/init.d/nfs.server script to start your services. You'll also need the portmapper service. Exports are listed in /etc/dfs/dfstab.

For your issue, ensure the portmapper is running on both boxes, and that you can do a 'showmount -e hostname' successfully
 
Thanks For You Reply!

The above steps i have tried..but it stll dont solve my problem:RPC:timed out on the Client Server which a LINUX OS

This is what i have done:

I have created a directory called /export/home/sge,which i want to share,on my master host as well my client server.

i edit the /etc/dfs/dfstab on my master host(BIGSVR004) which is a Solaris OS and add the followin info,BIGCPU017 is my client server which is a LINUX OS:
share -F nfs -o rw=BIGCPU017 /export/home/sge

I also added the follwing info in the /etc/fstab file in the Client server,BIGCPU017:
BIGSVR004:/export/home/sge /export/home/sge nfs rw 0 0


thanks in advance!
 
RPC time out means you do not have rpc daemon running.
In order to server as server and client for nfs you need this many rpc running.

# ps -ef |grep rpc
rpc 573 1 0 Sep18 ? 00:00:29 portmap
rpcuser 602 1 0 Sep18 ? 00:00:00 rpc.statd
root 995 1 0 Sep18 ? 00:00:00 rpc.rquotad
root 1000 1 0 Sep18 ? 00:00:02 rpc.mountd
root 1019 1018 0 Sep18 ? 00:00:00 [rpciod]

I think /etc/init.d/nfs restart will start your nfs daemons.

Patel
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top