NFS client error : NFS write failed for server

  • Follow


Hello. 

   I am using a Solaris 8 machine and working with an NFS remote file
system, when trying to copy big files to the NFS file system I am
getting the next errors :

NFS write failed for server shlight: error 5 (RPC: Timed out)
NFS write failed for server shlight: error 5 (RPC: Timed out)
NFS write failed for server shlight: error 5 (RPC: Timed out)
cp: /export/home/prod/import/a.tar: write: Connection timed out

I have a slow connection to the NFS server, I think that this is
causing my problems, is there a way to tell the NFS client on my
Solaris machine to use a bigger time out before aborting the operation
with en error ?

TX. 
    hagai.
0
Reply hagaiy 1/26/2004 4:08:13 PM

In article <3b67a6d6.0401260808.35926628@posting.google.com>, hagaiy@yahoo.com (hagai yaffe) writes:
> Hello. 
> 
>    I am using a Solaris 8 machine and working with an NFS remote file
> system, when trying to copy big files to the NFS file system I am
> getting the next errors :
> 
> NFS write failed for server shlight: error 5 (RPC: Timed out)
> NFS write failed for server shlight: error 5 (RPC: Timed out)
> NFS write failed for server shlight: error 5 (RPC: Timed out)
> cp: /export/home/prod/import/a.tar: write: Connection timed out
> 
> I have a slow connection to the NFS server, I think that this is
> causing my problems, is there a way to tell the NFS client on my
> Solaris machine to use a bigger time out before aborting the operation
> with en error ?
> 
> TX. 
>     hagai.

See
man mount_nfs

Promising is e.g.

mount -o proto=udp,retrans=10,timeo=600,rsize=8192,wsize=8192,retry=20000
....

Maybe one of these is already enough, try it out!

-- 
Michael Tosch
IT Specialist
HP Managed Services Germany
Phone +49 2407 575 313


0
Reply eedmit 1/26/2004 5:36:19 PM


hagaiy@yahoo.com (hagai yaffe) writes:

>   I am using a Solaris 8 machine and working with an NFS remote file
>system, when trying to copy big files to the NFS file system I am
>getting the next errors :

>NFS write failed for server shlight: error 5 (RPC: Timed out)
>NFS write failed for server shlight: error 5 (RPC: Timed out)
>NFS write failed for server shlight: error 5 (RPC: Timed out)
>cp: /export/home/prod/import/a.tar: write: Connection timed out

Don't mount with "soft".

>I have a slow connection to the NFS server, I think that this is
>causing my problems, is there a way to tell the NFS client on my
>Solaris machine to use a bigger time out before aborting the operation
>with en error ?

In my experience with soft mounts the timeouts are never long enough.

So use hard mounts and your troubles are gone.

"hard,intr" (the default) does work well for mounts like these: you can
still bail out (intr) but you won't get corruption (hard).

Surely you don't want the mount to be both slow *and* unreliable?

Casper
-- 
Expressed in this posting are my opinions.  They are in no way related
to opinions held by my employer, Sun Microsystems.
Statements on Sun products included here are not gospel and may
be fiction rather than truth.
0
Reply Casper 1/26/2004 7:33:58 PM

2 Replies
1383 Views

(page loaded in 1.317 seconds)

Similiar Articles:













7/21/2012 4:07:13 AM


Reply: