System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

rsync: write failed --- File too large . advise ??

SOLVED
Go to solution
rveri
Super Advisor

rsync: write failed --- File too large . advise ??

Expert,
While copying data from linux host to hp-ux 11.00 , after 1 hr got this error:
Please advise ,

command used:
# rsync -avzrl host1:/u22/nfs_ss/host_data/* .

rsync: write failed on "/u1/aaocs/Data.tar.gz": File too large (27)
rsync error: error in file IO (code 11) at receiver.c(302) [receiver=3.0.6]
rsync: connection unexpectedly closed (10339667 bytes received so far) [generator]
rsync error: error in rsync protocol data stream (code 12) at io.c(600) [generator=3.0.6]



rsync ver on hp-ux :
** rsync version 3.0.6 protocol version 30

Failed on the file size , that is 6.4GB.

Thanks in advance.
4 REPLIES
Tingli
Esteemed Contributor

Re: rsync: write failed --- File too large . advise ??

Check the file system whether it is for largefile option. If it is not, then it won't take file larger than 2g.
James R. Ferguson
Acclaimed Contributor
Solution

Re: rsync: write failed --- File too large . advise ??

Hi:

Verify that your destination filesystem supports 'largefiles':

# fsadm -F vxfs /u1

If 'largefiles' is returned it does; If 'nolargefiles' then not.

Regards!

...JRF...
rveri
Super Advisor

Re: rsync: write failed --- File too large . advise ??

Thanks both ...
Found it was nolargefiles with JRF's command ,
- Fixed it with # fsadm -F vxfs -o largefiles /u1


Bill Hassell
Honored Contributor

Re: rsync: write failed --- File too large . advise ??

Just for completeness, older versions of rsync could not handle files larger than 2GB. The latest version will handle any file size as long as the remote side can handle the file.


Bill Hassell, sysadmin