LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Enterprise (https://www.linuxquestions.org/questions/linux-enterprise-47/)
-   -   mount solaris NFS share in RHEL 4 (https://www.linuxquestions.org/questions/linux-enterprise-47/mount-solaris-nfs-share-in-rhel-4-a-804618/)

ZAMO 04-27-2010 06:07 PM

mount solaris NFS share in RHEL 4
 
Hi all,


I need a help in mounting a nfs share available in a solaris box(devprod15) , to a linux box(devprod) which is on RHEL 4. Whenever i try to mount, it shows some error that the solaris host is down.

Code:

[root@devprod ~]# mount -t nfs devprod15:newshare01  /new/myshare
mount to NFS server 'devprod15' failed: server is down.

when I try to view the available , NFS shares on the server
Code:

[root@devprod ~]#showmount -a devprod15
mount clntudp_create: RPC: Port mapper failure - RPC: Authentication error

I think this helps to find the problem . From the client side , both portmap and nfs are enabled.
Code:

[root@devprod ~]# rpcinfo -p
  program vers proto  port
    100000    2  tcp    111  portmapper
    100000    2  udp    111  portmapper
    100011    1  udp    676  rquotad
    100011    2  udp    676  rquotad
    100011    1  tcp    679  rquotad
    100011    2  tcp    679  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  46845  nlockmgr
    100021    3  udp  46845  nlockmgr
    100021    4  udp  46845  nlockmgr
    100021    1  tcp  49497  nlockmgr
    100021    3  tcp  49497  nlockmgr
    100021    4  tcp  49497  nlockmgr
    100005    1  udp    700  mountd
    100005    1  tcp    703  mountd
    100005    2  udp    700  mountd
    100005    2  tcp    703  mountd
    100005    3  udp    700  mountd
    100005    3  tcp    703  mountd

Do solaris and linux use different ports for NFS communication ? I need help to clear this. What am missing ?

Thanks

AlucardZero 04-27-2010 06:50 PM

What about from the server side? Is the server up? Are NFS and portmap running?

There might be an NFS version difference. Try -t nfs4 on the client, or setting NFS_SERVER_VERSMAX to 3 in /etc/default/nfs on the server and restarting its nfs server.

ZAMO 04-28-2010 07:55 PM

mounted with "-t nfs4 " worked . Thanks a lot


All times are GMT -5. The time now is 05:46 AM.