Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

"File too large" error - what am I missing?

Status
Not open for further replies.

Hobbes

MIS
May 11, 1999
53
US
Hi.

Using Solaris 7 and Veritas Volume Manager. Trying to copy a 4GB .tar file from one volume to another volume (from /tmp to /r0). Ample space on both volumes - /tmp has 1.7 GB free (5.7 GB total), /r0 has 17GB free, 17GB total.

During the copy process, it copies 2.1 GB of the file then halts with the message:

cp: <filename>.tar: File too large

I read the man page on largefile, and it says cp is large-file aware, so I don't know what could be causing the problem. This error has been replicated on a separate machine.

Thanks.
 
Hi again.

Fixed my problem and decided to post the solution for others...

compressing the file first was not the solution (sounded good at the time, though).

The solution lies in the fsadm utility.

In that, there's a &quot;-o largefiles&quot; parameter that you can specify. Once this was set, the filesize limitation grew from two Gigabites to two Terabytes.

I think this may only apply to Veritas filesystems, as that's what I'm using.

Anyway, that fsadm utility fixed my problem.

Thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top