Solved

Mouning a Solaris NFS in Linux RH8

Posted on 2004-09-01
8
473 Views
Last Modified: 2013-12-05
I'm a new Linux user and an trying to mount a Solaris 2.6 NFS share (host swan) on the Linux box (host check). The mount fails with the following snoop output:

       check -> swan         TCP D=111 S=783 Syn Seq=1634804928 Len=0 Win=5840
        swan -> check        TCP D=783 S=111 Syn Ack=1634804929 Seq=213067102 Len=0 Win=10136
       check -> swan         TCP D=111 S=783     Ack=213067103 Seq=1634804929 Len=0 Win=5840
       check -> swan         PORTMAP C DUMP
        swan -> check        TCP D=783 S=111     Ack=1634804973 Seq=213067103 Len=0 Win=10092
        swan -> check        PORTMAP R DUMP 64 map(s) found
       check -> swan         TCP D=111 S=783     Ack=213068415 Seq=1634804973 Len=0 Win=7872
       check -> swan         TCP D=111 S=783 Fin Ack=213068415 Seq=1634804973 Len=0 Win=7872
        swan -> check        TCP D=783 S=111     Ack=1634804974 Seq=213068415 Len=0 Win=10136
       check -> swan         MOUNT3 C Mount /usr
        swan -> check        TCP D=783 S=111 Fin Ack=1634804974 Seq=213068415 Len=0 Win=10136
       check -> swan         TCP D=111 S=783     Ack=213068416 Seq=1634804974 Len=0 Win=7872
        swan -> check        MOUNT3 R Mount OK FH=0084 Auth=unix
       check -> swan         ICMP Destination unreachable (Bad port)
       check -> swan         MOUNT3 C Mount /usr (retransmit)


UDP:  ----- UDP Header -----
UDP:  
UDP:  Source port = 32826
UDP:  Destination port = 648 (Sun RPC)
UDP:  Length = 80
UDP:  Checksum = 9DB2
UDP:  
RPC:  ----- SUN RPC Header -----
RPC:  
RPC:  Transaction id = 2067218425
RPC:  Type = 1 (Reply)
RPC:  This is a reply to frame 11
RPC:  Status = 0 (Accepted)
RPC:  Verifier   : Flavor = 0 (None), len = 0 bytes
RPC:  Accept status = 0 (Success)
RPC:  
MOUNT:----- NFS MOUNT -----
MOUNT:
MOUNT:Proc = 1 (Add mount entry)
MOUNT:Status = 0 (OK)
MOUNT:File handle = 0080000600000002000A000000000002
MOUNT:              689CA0AF000A000000000002689CA0AF
MOUNT:Authentication flavor = unix
MOUNT:

I've tried almost everything I can think of. Can anyone help?
0
Comment
Question by:GeoffHallSssl
  • 4
  • 3
8 Comments
 
LVL 18

Expert Comment

by:liddler
ID: 11951889
>     check -> swan         ICMP Destination unreachable (Bad port)
can the machines ping each other?
what is in /etc/sharetab on the solaris box?
Has /etc/rc3.d/S15nfs.server start
run successfully on the solaris box?
0
 

Author Comment

by:GeoffHallSssl
ID: 11952170
>can the machines ping each other?
yes

>what is in /etc/sharetab on the solaris box?
>Has /etc/rc3.d/S15nfs.server start
>run successfully on the solaris box?

The Solaris nfs share can be mounted by any of our other Solaris machines. As can be seen by the snoop output the Solaris machine accepts the mount request and replies with an Ok on port 648. It seems to me that the Linux machine is not listening on this port.

The Linux machine is an NIS client from a Solaris NIS server. All of this is working fine.


0
 
LVL 18

Expert Comment

by:liddler
ID: 11952250
Firewall?  Hardening (like Bastille)?
netstat -a| grep LISTEN | grep 648
0
 

Author Comment

by:GeoffHallSssl
ID: 11952298
No firewall on this internal network.
0
Free camera licenses with purchase of My Cloud NAS

Milestone Arcus software is compatible with thousands of industry-leading cameras for added flexibility. Upon installation on your My Cloud NAS, you will receive two (2) camera licenses already enabled in the software. And for a limited time, get additional camera licenses FREE.

 
LVL 18

Expert Comment

by:liddler
ID: 11952783
Can you run the nfs client startup script and see if it complainds / works etc?
0
 

Author Comment

by:GeoffHallSssl
ID: 11952942
What do you mean by the "nfs client startup script"?
0
 
LVL 40

Accepted Solution

by:
jlevie earned 250 total points
ID: 11953044
Is the portmapper running on the Linux box(check with 'service portmap status')? Is the RedHat installation's default firewall running (check with 'iptables -L')?
0
 

Author Comment

by:GeoffHallSssl
ID: 11953805
Bingo  - the RedHat default firewall _was_ running and blocking ports below 1023. Now fixed. Many thanks
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

929 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now