Operating System - HP-UX
1819804 Members
2965 Online
109607 Solutions
New Discussion юеВ

copy and ftp failed - file too large

 
Sergej_5
Regular Advisor

copy and ftp failed - file too large

Hi there!
I tried to copy files > 2GB over nfs v3 and ftp but everything fails!

I want to cp files from Hp-UX 11.00 to Windows 2003 Server ...
I got Services for Unix on Windows machine when i want to copy files from hp-ux to windows. it failed with: cp: file too large

Then i installed ftp client on Windows machine tried to copy them over FTP. After a while it fails on about 2463328 kb and it wont get any further!

I have:
# mkfs -m /dev/vg00/lvol4
mkfs -F vxfs -o ninode=unlimited,bsize=8192,version=3,inosize=256,logsize=256,largefiles /dev/vg00/lvol4 66854912

swlist -l product | grep -i nfs
NFS B.11.00 ONC/NFS; Network-File System,Information Services,Utilities
PHCO_14194 1.0 quota(1) patch for NFS-quotas
PHCO_14627 1.0 mountall(1M) patch; mount cachefs after nfs.
PHCO_16280 1.0 du(1) value for non-HP NFS systems incorrect
PHCO_20070 1.0 quota(1) patch for NFS-quotas
PHKL_16074 1.0 KI nfs performance fix and KI panic fix
PHKL_20202 1.0 Fix pthread error return, nfs/tcp panic
PHKL_23409 1.0 NFS, Large Data Space, kernel memory leak
PHKL_25237 1.0 NFS nfsd deadlock,NFS SIGINT bad text region
PHNE_17586 1.0 NFS Kernel General Release/Performance Patch
PHNE_26387 1.0 ONC/NFS General Release/Performance Patch

Any help would be greatly appreciated!

Brgds,
Sergej
8 REPLIES 8
Peter Godron
Honored Contributor

Re: copy and ftp failed - file too large

Sergej,
Have you seen:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=72952
As your HP box hosts the files, it must be able to support >2GB files, what about your Windows Server?
Fabian Brise├▒o
Esteemed Contributor

Re: copy and ftp failed - file too large

Hello.
I think you need a patch for support of files over 2GB.

Do you have large file support enabled for your filesystems ?
Knowledge is power.
Sergej_5
Regular Advisor

Re: copy and ftp failed - file too large

Hi!

I 've seen it before but there is nothing that could help me :(

# fstyp -v /dev/vg00/lvol4
vxfs
version: 3
f_bsize: 8192
f_frsize: 8192
f_blocks: 8356864
f_bfree: 834232
f_bavail: 834232
f_files: 40992
f_ffree: 1073792296
f_favail: 1073792296
f_fsid: 1073741828
f_basetype: vxfs
f_namemax: 254
f_magic: a501fcf5
f_featurebits: 0
f_flag: 16
f_fsindex: 5
f_size: 8356864

#more /etc/fstab
...
/dev/vg00/lvol4 /ignite_depot vxfs delaylog 0 2
...

ANy idea?
Peter Godron
Honored Contributor

Re: copy and ftp failed - file too large

Hi,
that looks as if largefiles is not enabled.
Are the >2GB files correctly on the HP box?

You can change fs with:
fsadm -F vxfs -o largefiles /dev/vg00/lvol4

Did you use the -o largefile on nfs mount as well ?
Sergej_5
Regular Advisor

Re: copy and ftp failed - file too large

I can't rememeber if i used it ...
But i was succesfully:

umount /dev/vg00/lvol4
fsadm -F vxfs -o largefiles /dev/vg00/rlvol4
mount /dev/vg00/lvol4 /ignite_depot/

Is there something else i have to do?


Fabian Brise├▒o
Esteemed Contributor

Re: copy and ftp failed - file too large

Hi again.
SERGEJ that should take care of the problem, the large files option was not enabled as a result any file larger than 2 GB was not supported
Knowledge is power.
Sergej_5
Regular Advisor

Re: copy and ftp failed - file too large

after that:

# mkfs -m /dev/vg00/lvol4
mkfs -F vxfs -o ninode=unlimited,bsize=8192,version=3,inosize=256,logsize=256,largefiles /dev/vg00/l
vol4 66854912

It says "largefiles" ... but problem still exist!
Sergej_5
Regular Advisor

Re: copy and ftp failed - file too large

Just second after i apply:

# cp ovo8.23_ora10_2.gz /net/tantra/test_sero/

It says:

cp: ovo8.23_ora10_2.gz: File too large