Operating System - HP-UX
1834651 Members
2487 Online
110069 Solutions
New Discussion

Re: copying files larger than 2GB to nfs mount file system

 
SOLVED
Go to solution
itai weisman
Super Advisor

copying files larger than 2GB to nfs mount file system

hi everyone,
does anyone know how can copy files that are larger than 2GB to a nfs mounted file system?
both machines (exporting machine and mount nfs machine) runs HPUX 11.11.
thanks ppl
10 REPLIES 10
Devender Khatana
Honored Contributor

Re: copying files larger than 2GB to nfs mount file system

Hi,

What is the problem you are facing in doing so ? The only worry that should bother this should be that your file system should have large file options enabled on the original host whcih is exporting this. Check for this and report any errors encountered.

To check large file options

#fsadm -F vxfs /mount_point

HTH,
Devender
Impossible itself mentions "I m possible"
Alex Lavrov.
Honored Contributor

Re: copying files larger than 2GB to nfs mount file system

In addition, to enable it use:

fsadm -o largefiles /my/filesystem
I don't give a damn for a man that can only spell a word one way. (M. Twain)
itai weisman
Super Advisor

Re: copying files larger than 2GB to nfs mount file system

i have exported a file system, that is formatted for largefiles (i'm able to put 2gb+ files on it locally, or put it with rcp from remote machines) but if i mount it from another machine (using nfs) - i can't put large files in it. (it sais - 'file too big' ) as cp output. (i used vxdump and tar as well in order to check where the problem is, it happens no matter how i try to put the file). i'm pretty sure the key to the solution to this problem will be on the nfs server side - since i managed to put files on a Celerra based nfs export, the was mounted the same way as the problematic machine.
i use NFS ver 3.
I also tried to put files from non HP machine (Solaris 9) - and it wouldn't work either.
i couldn't find any special option on man pages for 'exportfs' command..
any ideas?
Alex Lavrov.
Honored Contributor

Re: copying files larger than 2GB to nfs mount file system

I'm not sure about cp, but I'm pretty sure that "tar" don't support large files, "gtar" must be used.

Did you "exportfs" the filesystem, before or after you enabled the largefiles support?

Also, I found Bill Hassel's reply about similar issue, that there are some patches to be installed so NFS ver 3 will support largefiles. Is your system up to date?


Sorry for the mess, but I'm "shooting in the dark". Maybe something will hit ...

Alex.
I don't give a damn for a man that can only spell a word one way. (M. Twain)
itai weisman
Super Advisor

Re: copying files larger than 2GB to nfs mount file system

yep. the file system was modified and then transported.
root@venus: swlist -l product | grep -i nfs
NFS B.11.11 ONC/NFS; Network-File System,Information
Services,Utilities
PHKL_25238 1.0 11.00 NFS nfsd deadlock
PHKL_25993 1.0 thread nostop for NFS, rlimit, Ufalloc fi
x
PHKL_27266 1.0 iCOD,RTSCHED,(u)mount,final close,NFS umo
unt
PHKL_28185 1.0 Tunable;vxportal;vx_maxlink;DMAPI NFS han
g
PHKL_29335 1.0 vx_nospace on NFS write.
PHKL_30151 1.0 NFS binary overwrite hang
PHNE_30378 1.0 ONC/NFS General Release/Performance Patch

SG-NFS-Tool A.11.11.02 MC/ServiceGuard NFS Script Templates
root@venus:
itai weisman
Super Advisor

Re: copying files larger than 2GB to nfs mount file system

what article are you talking about?
Alex Lavrov.
Honored Contributor
Solution

Re: copying files larger than 2GB to nfs mount file system

You mean thread?
I don't give a damn for a man that can only spell a word one way. (M. Twain)
itai weisman
Super Advisor

Re: copying files larger than 2GB to nfs mount file system

yes
Alex Lavrov.
Honored Contributor

Re: copying files larger than 2GB to nfs mount file system

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=72952
I don't give a damn for a man that can only spell a word one way. (M. Twain)
itai weisman
Super Advisor

Re: copying files larger than 2GB to nfs mount file system

that was the case.
thanks a lot!