Operating System - HP-UX
1756540 Members
2697 Online
108848 Solutions
New Discussion юеВ

NFS serives running via udp / tcp part 2

 
SOLVED
Go to solution
Muthukumar_5
Honored Contributor

Re: NFS serives running via udp / tcp part 2

You can put proto=tcp in /etc/fstab file in respect to the file system.

NFS.Server is working fine. You have to change this setting only.

--
Muthu
Easy to suggest when don't know about the problem!
Aslam Ghumra_2
Frequent Advisor

Re: NFS serives running via udp / tcp part 2

Hi Muthu

Forgive my ignorance but where in the fstab file would I need to put this in?
The example below is part of the fstab

nas9000_private:/met /home/met nfs rw,suid 0 0

Cheers,

Aslam
Muthukumar_5
Honored Contributor

Re: NFS serives running via udp / tcp part 2

Change this,

nas9000_private:/met /home/met nfs rw,suid 0 0

to

nas9000_private:/met /home/met nfs rw,suid,proto=tcp 0 0

--
Muthu
Easy to suggest when don't know about the problem!
Muthukumar_5
Honored Contributor

Re: NFS serives running via udp / tcp part 2

Forgot,

# mount -a

after /etc/fstab setting,

will read /etc/fstab to set the new mount with tcp protocol.

--
Muthu
Easy to suggest when don't know about the problem!
Aslam Ghumra_2
Frequent Advisor

Re: NFS serives running via udp / tcp part 2

Hi

I have changed it, and to test I have umounted and mounted that specific filesystem.

In fstab

nas9000_private:/den /home/den nfs rw,suid,proto=tcp 0 0

I then mount /home/den and get the following :

nfs mount: getaddr_nfs: nas9000_private: NFS service not responding(retry delay=5s)
nfs mount: retry: retrying(1) for: /home/den after 5 seconds
nfs mount: retry: giving up on: /home/den

Aslam
Muthukumar_5
Honored Contributor

Re: NFS serives running via udp / tcp part 2

Did you restart nfs.server and nfs.core in NFS server side. Again, mount -a in nfs.client side. Are you seeing the same error?

--
Muthu
Easy to suggest when don't know about the problem!
Aslam Ghumra_2
Frequent Advisor

Re: NFS serives running via udp / tcp part 2

Hi Muthu

No I didn;t restart the nfs.core or nfs.server.

All I did was to umount /home/den
then did the same for mount /home/den.

Would it make a difference ?

Aslam
Aslam Ghumra_2
Frequent Advisor

Re: NFS serives running via udp / tcp part 2

All

When I go into SAm and look at the nfs mounted file systems, it does report that it is using UDP.

HOwever if you modify it, it wont change it , if you remove and read the mount, changing the protocol to NFS results in ... yes you guessed it protocol udp.

I'm completely baffled
Zinky
Honored Contributor

Re: NFS serives running via udp / tcp part 2

Peace Aslam,

Let's start from the beginning. What exactly is your environment? Is your issue having to do with your HP-UX environment always having to mount NFS via UDP from your NFS server?

1. What is your NFS server? Is it a NAS or another UNIX Server?

2. What is your /etc/fstab entry on your server that pertains to the mount from your NFS server?

3. If your NFS server is a NAS - is it possible it's NFS service is restricted to UDP transport? This may very well explain why TCP does not work...


Hope this helps..
Hakuna Matata

Favourite Toy:
AMD Athlon II X6 1090T 6-core, 16GB RAM, 12TB ZFS RAIDZ-2 Storage. Linux Centos 5.6 running KVM Hypervisor. Virtual Machines: Ubuntu, Mint, Solaris 10, Windows 7 Professional, Windows XP Pro, Windows Server 2008R2, DOS 6.22, OpenFiler
Aslam Ghumra_2
Frequent Advisor

Re: NFS serives running via udp / tcp part 2

Hi

This is hp-ux 11.11 v1 server where it serves out filesystem, to other hp-ux servers. However it also mounts filesystems from a windows NAS9000 servers. (Services for unix v3.5).

This server is similar to the other hp-ux servers but will only mount NFS filesystem using UDP. the other nodes all mount NFS under TCP ( strange eh! ).

The entry from the other server is :
nas9000_private:/met /home/met nfs rw,suid 0 0
which will mount via TCP.

The NFS NAS server, has an option to have TCP support which is selected, my other servers mount using tcp fine.

I hope that I have answered your queries.

Aslam