Operating System - HP-UX
1855541 Members
7626 Online
104112 Solutions
New Discussion

Problem when copying or moving large files.

 
Robert Vernon
Occasional Advisor

Problem when copying or moving large files.

We have some servers running HP-UX 11i, we are trying to copy a file (approx 1.3Gb in size) from a local filesystem to a filesystem mounted using Enhanced AutoFS - which errors with "bad copy" followed by "Connection timed out" - it will work if we mount the destination filesystem using standard NFS but we need it to work with Enhanced AutoFS. Any assistance would be greatly appreciated.
5 REPLIES 5
Geoff Wild
Honored Contributor

Re: Problem when copying or moving large files.

Are you using any option in your /etc/auto_master ?

I know HP 11i use proto=tcp by default, but I have found reliabilty is improved by hard setting it:

# cat /etc/auto_master
/- /etc/auto.direct proto=tcp


Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Robert Vernon
Occasional Advisor

Re: Problem when copying or moving large files.

Hi Geoff,
We had checked using rpcinfo and also checked using the nfsstat -m command and it showed that it did mount using tcp but we have tried your suggestion and we are still getting same problem, we have also been getting the following errors in the syslog:
"vmunix: NFS commit failed for server xxxxx :RPC : Timed out"
followed by
"vmunix: NFS write failed for server xxxxx :RPC : Timed out"
Geoff Wild
Honored Contributor

Re: Problem when copying or moving large files.

There's some good info in this doc (even though it is a bit dated):

http://docs.hp.com/en/1435/NFSPerformanceTuninginHP-UX11.0and11iSystems.pdf

It is strange that it works fine with a standard mount - but not autofs....

Are you up to date with NFS patches?

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Robert Vernon
Occasional Advisor

Re: Problem when copying or moving large files.

Hi Geoff,
We have solved the problem - we have changed the /etc/auto_direct file (even though the documentation says you can use the same settings as in /etc/fstab. Previously we had the following against the filesystem :
retrans=5,timeo=20
we have now removed these two entries and the transfer works fine.
Thank you for your responses even though they didn't sort it out they did help rule things out ahd they were appreciated.
Robert Vernon
Occasional Advisor

Re: Problem when copying or moving large files.

We have solved the problem - we have changed the /etc/auto_direct file (even though the documentation says you can use the same settings as in /etc/fstab. Previously we had the following against the filesystem :
retrans=5,timeo=20
we have now removed these two entries and the transfer works fine.