Operating System - HP-UX
1819985 Members
3884 Online
109608 Solutions
New Discussion юеВ

Re: Copy large file via NFS

 
Philippe NAVAJAS
Occasional Contributor

Copy large file via NFS

I have a 8Go file on a AIX machine.
I try to copy that file on a HP-UX 11i machine (big file option is set on the fs) via NFS.
I receive the message
"cp: /toto/tutu.dmp: A file or directory in the path name does not exist."
The size of file copied on the HP computer is 2Go.
Is there any option for NFS server ?
Thanks.
6 REPLIES 6
Tim D Fulford
Honored Contributor

Re: Copy large file via NFS

I do not believe NFS supports largefiles?

Alternatively... as you are going over the network try this as a PULL from the AIX m/c to you HP-UX box (do this an equivalanced user). This is more efficient as it gzips it over the wire!

on target (HP-UX) machine
# cd
# remsh "cd ; tar cf - | gzip -" | gunzip - | tar xf -

Regards

Tim
-
Steven E. Protter
Exalted Contributor

Re: Copy large file via NFS

NFS 2 does not support large files.

NFS 3 does.

The target filesystem must have largefiles enabled.

For 11i, the filesystem must either be modified with fsadm or re-created with newfs -F vxfs -o largefiles /dev/vg00/rlvolname

Also, have all the NFS patches possible installed. NFS is flakey at times.

Lastly, consider CIFS/9000 Samba. Its more robust easier to administer, the wave of the future. The earlier steps are still required however, and I'm unsure as to the availibility of an AIX client.

Good Luck.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Michael Steele_2
Honored Contributor

Re: Copy large file via NFS

This is one of the few times I'm going to refer you to SAM because SAM will help guide you from the client side and in changine your /etc/fstab mount configuration.

->Networking&Communication->NFS->MountedRemoteFS>AddRemoteFS->UsingNFS>Mount Options>

Configure rsize and wsize.

Your /etc/fstab from the client side will look something like:

nfs re,bg,hard,intr,rsize=32768,wsize=32768,proto=udp,vers=3,suid 0 0

A typical /etc/fstab NFS entry is:

nfs re,suid 0 0

Refer to this Tuning Guide and the following subject:

"Support for NFS largefiles" - upto 1 TB in 11.00 when rsize = 8192. Up to 2 TB in 11.11 when rsize = 32768. Using NFS version 3.

http://www.docs.hp.com/hpux/onlinedocs/1435/NFSPerformanceTuninginHP-UX11.0and11iSystems.pdf
Support Fatherhood - Stop Family Law
Suresh Patoria
Super Advisor

Re: Copy large file via NFS

Hi,

check the ur local file system it suppport the more the 2 GB file

check the /etc/fstab file

if there is nolargefiles then set largefiles options through the fsadm -F VxFS

if the above things is correct then check the nfs mount option is that largefiles support option is mention
Caesar_3
Esteemed Contributor

Re: Copy large file via NFS

Hello!

Your dist. fs probably not suport large files
you need to change the filesystem properties
for suport large files.

Caesar
Bill Hassell
Honored Contributor

Re: Copy large file via NFS

NFS version 3 is required on BOTH sides, so you'll need to export as well as mount the NFS filesystem with version 3 options. Does your version of AIX support version 3?

NOTE: ftp will be much, much faster than NFS to copy a large file.


Bill Hassell, sysadmin