Operating System - HP-UX
1820782 Members
3814 Online
109627 Solutions
New Discussion юеВ

NFS No such file or directory error

 
Nitin Jog
New Member

NFS No such file or directory error

I have a 11i system trying to mount a win2000 filesystem that has been exported for unix (using Microsoftservices for unix)

when I try to mount using
mount -F server1:/Unixshare /transfer
I get error
nfs mount: mount_nfs: mount: /transfer: No such file or directory.

I have verified the obvious.
1. /transfer is a directory in root with 777 perm
2. nfs client daemons are running.
3. windows is exporting it to everyone.(i can acutally mount it on a 10.20 system without issues.)
4. NFS works between 2 unix servers.

I saw similar messages before..but none of them had a solution. I have opened a call with HP..but wanted input from the forum. Thanks.
NJ
14 REPLIES 14
Pete Randall
Outstanding Contributor

Re: NFS No such file or directory error

NJ,

Try mount -F nfs server1:/Unixshare /transfer


Pete



Pete
Enrico P.
Honored Contributor

Re: NFS No such file or directory error

Hi,
try

mount -F nfs server1:/Unixshare /transfer

Enrico


Enrico P.
Honored Contributor

Re: NFS No such file or directory error

I have arrived late

Enrico
Nitin Jog
New Member

Re: NFS No such file or directory error

Sorry, for the typo
my command was

mount -F nfs server1:/Unixshare /transfer
Pete Randall
Outstanding Contributor

Re: NFS No such file or directory error

NJ,

Somehow I just knew that had to be a typo. Maybe HP will come up with something. I'm at a loss.


Pete

Pete
Helen French
Honored Contributor

Re: NFS No such file or directory error

I would check your entire NFS configuration files. This error is very often when you have Automount enabled. Check your settings in /etc/rc.config.d/nfsconf and /etc/auto_master.
Life is a promise, fulfill it!
James A. Donovan
Honored Contributor

Re: NFS No such file or directory error

What happens when from your W2K box, you issue
1) nslookup unixserver
2) nslookup

If the W2K box can't resolve either one, then you won't be able to mount the share.
Remember, wherever you go, there you are...
Francisco J. Soler
Honored Contributor

Re: NFS No such file or directory error

Hi NJ, if you have the automount capabilitie enabled try:

cd /net/server1

and issue an ls -l to see what directories are availables, then cd to the desired directory.

Frank.
Linux?. Yes, of course.
Massimo Bianchi
Honored Contributor

Re: NFS No such file or directory error

Hi,
try creating another mount point, just for test.

maybe /test1

and see what happens.

Is the error the same ?

HTH,
Massimo
Steven E. Protter
Exalted Contributor

Re: NFS No such file or directory error

An outside the box reply.

Why not forget about NFS?

Windows 2000 has in essence a built in samba server on all shares.

All you need is an account on the W2K box for the HP-UX box and this software installed.

Samba has all the advantages of NFS and few of the pitfalls.

Here is a link for the CIFS/9000(hp speak for samba) software.


Client
http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=B8724AA


SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Enrico P.
Honored Contributor

Re: NFS No such file or directory error

Try this:

rpcinfo -p

and verify if nfs e mountd are present in the last column.
If not verify that entries in
/etc/rc.config.d/nfsconf:

NFS_SERVER = 1
NFS_CLIENT = 1
NUM_NFSD = 4
START_MOUNTD=1

If you need modify this file, next:

/sbin/init.d/nfs.server stop
/sbin/init.d/nfs.client stop
/sbin/init.d/nfs.client start
/sbin/init.d/nfs.server start

Enrico

David_246
Trusted Contributor

Re: NFS No such file or directory error

Hi,

Let's try to get involved into this issue :)

Do the following (please:) :

showmount -a
set -o vi
cd /opt # as long as it's no /tmp/...
mkdir /tmp/newmountpoint
mount -F nfs :\mountpoint /tmp/newm

Now see if it gives the same error. Do a fuser -fu on the directory /tmp/newmountpoint if it gives you any errors. showmount -a should show you the exported filesystems from your client side.

Good luck !


Regs David
@yourservice
Nitin Jog
New Member

Re: NFS No such file or directory error

Update..

I tried using the IP address of Win2000 server and it was able to mount the server.

only issue now is, everytime a non root user tries to access the filesystem they can get to the files but a annoying error show up..
NFS access failed for server 10.211.3.4: RPC: Authentication error

10.211.3.4 is the win2000 server.

why the FQDN does not work but IP works I am not sure yet..could be something to do with the win2000/hp resolving?

Thanks to all for the responses so far.
*I was getting the error even if automount is OFF.
* the win2000 is administered by someone else..i havent' really talked to them yet (since 10.20 was able to mount it..I was thinking maybe its something in 11i)

Thanks
NJ
Chris Vail
Honored Contributor

Re: NFS No such file or directory error

Here's a subtlety: check the /etc/hosts files. There's one on the Win2k client as well, but I can't remember where it is. These should have each other listed--NFS uses host table lookup ONLY, rather than DNS.

Chris