LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
Search this Thread
Old 02-03-2007, 05:34 AM   #1
HopingWhite
LQ Newbie
 
Registered: Apr 2006
Posts: 8

Rep: Reputation: 0
How to setup NFS on AS4?


Hello everyone,
My OS is Redhat Linux AS4, and I want to setup the NFS,
I have run the command "service nfs start"
and edit the /etc/exports, adding the following line
/usr 59.64.180.*(ro)
then "exportfs -a"
and when I type "showmount -e", the above appears,
but when I type "net use x: \\59.64.180.132\usr
I got an error "Network Timeout or HCLNFSD/PCNFSD not running on Host"
I have google the key word "linux pcnfsd", but no download for AS4.
I don't know why, has anyone idea what to do now?
Thanks very much!
 
Old 02-03-2007, 11:11 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,386

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
wtf is "x:" doing in there?? this isn't windows... or is it....? is someof this being done on a winblows platform??
 
Old 02-03-2007, 11:12 AM   #3
w3bd3vil
Senior Member
 
Registered: Jun 2006
Location: Hyderabad, India
Distribution: Fedora
Posts: 1,189

Rep: Reputation: 49
hmm...interesting..
first time I have seen the net use command being used on a linux box.
why dont you just try mounting the directory and see if that works
Quote:
mount 59.64.180.132:/usr /mnt/usr
 
Old 02-03-2007, 05:11 PM   #4
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Rep: Reputation: 45
alias net use = mount ??? LOL

Also make sure you have the NFS services installed on the client? services like portmap and RPC

Last edited by Micro420; 02-03-2007 at 05:12 PM.
 
Old 02-03-2007, 09:55 PM   #5
HopingWhite
LQ Newbie
 
Registered: Apr 2006
Posts: 8

Original Poster
Rep: Reputation: 0
sorry, I don't think I explain it clearly, actually the command "net use" is on windows platform, because I want to build a remote development enviroment on windows.

using "rpcinfo -p 59.64.180.132" on the server box, I can get the following,
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
100024 1 udp 972 status
100024 1 tcp 975 status
100011 1 udp 955 rquotad
100011 2 udp 955 rquotad
100011 1 tcp 958 rquotad
100011 2 tcp 958 rquotad
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
100003 4 udp 2049 nfs
100003 2 tcp 2049 nfs
100003 3 tcp 2049 nfs
100003 4 tcp 2049 nfs
100021 1 udp 33251 nlockmgr
100021 3 udp 33251 nlockmgr
100021 4 udp 33251 nlockmgr
100021 1 tcp 59093 nlockmgr
100021 3 tcp 59093 nlockmgr
100021 4 tcp 59093 nlockmgr
100005 1 udp 971 mountd
100005 1 tcp 974 mountd
100005 2 udp 971 mountd
100005 2 tcp 974 mountd
100005 3 udp 971 mountd
100005 3 tcp 974 mountd

and using "cat /etc/exports" on the server box, the following comes up,
/usr 59.64.180.*(ro)

By the way, on windows, I have installed hummingbird connectivity 2007.

Does anyone know where can I get a pcnfsd for AS4? I have googled it, but found those things most for redhat 5 or 6, too old. Another article just said that pcnfsd is now integrated with portmap, but I haved checked that portmap service is running under my linux box. So what should I do now?

Last edited by HopingWhite; 02-03-2007 at 10:08 PM.
 
Old 02-03-2007, 11:38 PM   #6
w3bd3vil
Senior Member
 
Registered: Jun 2006
Location: Hyderabad, India
Distribution: Fedora
Posts: 1,189

Rep: Reputation: 49
I think there is alot of diff between NFS and SAMBA. what you are looking for seems to be samba. so install the samba service and then do what you are doing from windows.
 
Old 02-04-2007, 12:58 AM   #7
HopingWhite
LQ Newbie
 
Registered: Apr 2006
Posts: 8

Original Poster
Rep: Reputation: 0
thanks for reply. i thought both nfs and samba provided a path for windows and unix alike system to share files. i don't understand why nfs can't have a client running under windows to access the shared information under linux box?
 
Old 02-04-2007, 02:10 AM   #8
PhillipHuang
Member
 
Registered: Aug 2006
Location: Shen Zhen
Distribution: Ubuntu 10.04
Posts: 198

Rep: Reputation: 33
I've heard there're exactly some NFS tools for Windows platform, but in your case, I think SAMBA is more sutable.

Regards,
Phillip
 
Old 02-04-2007, 03:31 AM   #9
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,386

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
Quote:
Originally Posted by HopingWhite
thanks for reply. i thought both nfs and samba provided a path for windows and unix alike system to share files. i don't understand why nfs can't have a client running under windows to access the shared information under linux box?
nfs can have a client, IF you have a client... clients like pcnfs exist, but cost money (last time i checked) and also blow. use samba, that's what it's there for.
 
Old 02-04-2007, 10:28 PM   #10
HopingWhite
LQ Newbie
 
Registered: Apr 2006
Posts: 8

Original Poster
Rep: Reputation: 0
thanks for all the reply, could you recommend some free samba client software for windows?
 
Old 02-05-2007, 12:46 AM   #11
PhillipHuang
Member
 
Registered: Aug 2006
Location: Shen Zhen
Distribution: Ubuntu 10.04
Posts: 198

Rep: Reputation: 33
Quote:
Originally Posted by HopingWhite
thanks for all the reply, could you recommend some free samba client software for windows?
Samba bases on TCP/IP with Windows NETBIOS, so Windows itself is able to support samba very well. Don't need any special samba client software on it.

Regards,
Phillip
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to setup nfs share werre300 Linux - Newbie 1 01-25-2007 03:21 PM
NFS setup rr_rr_29 Linux - Networking 2 09-17-2006 05:14 PM
NFS setup question: No password setup? ksgill Linux - General 4 12-04-2005 11:50 AM
w00t! Got NFS setup! flgator Slackware 3 11-21-2002 01:27 PM
NFS setup help please.. Damian Linux - Networking 2 09-11-2001 10:23 PM


All times are GMT -5. The time now is 05:20 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration