LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   How to setup NFS on AS4? (https://www.linuxquestions.org/questions/red-hat-31/how-to-setup-nfs-on-as4-525204/)

HopingWhite 02-03-2007 05:34 AM

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!

acid_kewpie 02-03-2007 11:11 AM

wtf is "x:" doing in there?? this isn't windows... or is it....? is someof this being done on a winblows platform??

w3bd3vil 02-03-2007 11:12 AM

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

Micro420 02-03-2007 05:11 PM

alias net use = mount ??? LOL

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

HopingWhite 02-03-2007 09:55 PM

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?

w3bd3vil 02-03-2007 11:38 PM

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.

HopingWhite 02-04-2007 12:58 AM

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?

PhillipHuang 02-04-2007 02:10 AM

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

Regards,
Phillip

acid_kewpie 02-04-2007 03:31 AM

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.

HopingWhite 02-04-2007 10:28 PM

thanks for all the reply, could you recommend some free samba client software for windows?

PhillipHuang 02-05-2007 12:46 AM

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


All times are GMT -5. The time now is 02:48 PM.