solaris NFS hangs on linux client

solaris NFS hangs on linux client

Post by Monte Oh » Sun, 29 Jun 2003 04:38:21



Hi,

I have a Solaris 8 Sparc system and Linux RedHat 9 intel system. I
want to mount a directory off of the Solaris box on the Linux box, but
I'm having a slight problem that I can't seem to solve (or find by
googling)

Here's the setup on the Solaris box, /etc/dfs/dfstab:

share       \
        -F nfs \
        -o rw,root \
        -d "Home dir"   /export/home/staff

And on the Linux box, /etc/fstab:

my.nfs.host.name:/export/home/staff    /export/home/staff  nfs
rw,rsize=8192,wsize=8192    0   0

The directory mounts OK, but as soon as I try to list the contents (of
the Solaris mount on Linux box) the NFS mount hangs, and I get
occasional "NFS not responding / retrying" messages.

Now, if I change the rsize and wsize on the Linux box to 1024
everything works, but I'd like to take advantage of a bigger byte
read/write size. What could be the problem here, an incompatability?
My first guess was a network interface problem, but I verified both
inferfaces are running 100mb full-duplex, as they should be.

The RedHat 9 Linux kernel is 2.4.20-8, default build.

TIA
Monte

 
 
 

solaris NFS hangs on linux client

Post by Akop Pogosia » Sun, 29 Jun 2003 06:35:51



Quote:> Hi,
> I have a Solaris 8 Sparc system and Linux RedHat 9 intel system. I
> want to mount a directory off of the Solaris box on the Linux box, but
> I'm having a slight problem that I can't seem to solve (or find by
> googling)
> Here's the setup on the Solaris box, /etc/dfs/dfstab:
> share       \
>         -F nfs \
>         -o rw,root \
>         -d "Home dir"   /export/home/staff
> And on the Linux box, /etc/fstab:
> my.nfs.host.name:/export/home/staff    /export/home/staff  nfs
> rw,rsize=8192,wsize=8192    0   0
> The directory mounts OK, but as soon as I try to list the contents (of
> the Solaris mount on Linux box) the NFS mount hangs, and I get
> occasional "NFS not responding / retrying" messages.
> Now, if I change the rsize and wsize on the Linux box to 1024
> everything works, but I'd like to take advantage of a bigger byte
> read/write size. What could be the problem here, an incompatability?
> My first guess was a network interface problem, but I verified both
> inferfaces are running 100mb full-duplex, as they should be.
> The RedHat 9 Linux kernel is 2.4.20-8, default build.

Have you already disabled or at least modified to account for NFS
traffic the default iptables filtering rules that RedHat installer
usually sets up for you?

--
Akop Pogosian

This space has been accidentally left blank.

 
 
 

1. Down 'Solaris' NFS Server hangs 'Solaris' Client

    I have a mix of Solaris 2.5.1 boxes and IRIX 5.2,5.3 & 6.2 boxes on my
    network.  When a Solaris NFS server goes down, my other Solaris clients
    hang on new logins waiting for the server to come backup up, BUT the
    IRIX boxes let users login with no problems.

    The Solaris and Irix boxes mount using the following options.

          vers=2,intr,bg

    We played with the automount program, but Solaris clients still hang.

    Any ideas?

    Thanks.

   -----------
   David Hiltz

   Unix System and Network Administrator
   Northeast Fisheries Science Center

2. Redhat 9, Apache 2.0.40 and virtual hosting..

3. NFS clients hang redhat linux 7.3 and limbo clients accessing auspex ns2000

4. USB changes for 2.5.46

5. problem with LINUX (NFS server) and Solaris 2.7 (intel ) NFS client.

6. CLGD54xx and weird behaviour

7. NFS locks hang, FreeBSD 5.0 client, Linux server

8. 3.1.2G and Diamond Stealth 64 2001 ARK

9. Linux NFS client hangs

10. Solaris 2.6 NFS server, Solaris 8 client

11. Solaris 2.4x86 as nfs-client from a non-solaris system

12. Solaris 2.x NFS and NIS server with Solaris 1.x clients???

13. NFS performance solaris client, linux server