Problem
Even though I have configured my system for large files, I still get the "value too large for defined data type" error when dealing with files larger than 2 Gig.
Solution
Only certain commands have been enhanced to deal with
large files. To be certain that you are using the large
file aware versions of these commands, be sure that your
PATH is preceded by /u95/bin.Also be certain that your ulimit for file creation is set to unlimited.
To see if this is the problem, you could try a test like this:
PATH=/u95/bin:$PATH;export PATH ulimit -f unlimted (then retest the same commands)
To make this change more permanent, be sure that /u95/bin
is listed first everywhere the PATH might be set. Most
likely, the users' $HOME/.profile files, but possibly also
in /etc/profile or in the startup scripts for your
applications. Also set the `ulimit` in these same scripts.To make the change for all new users the profile files in /usr/lib/mkuser/*/profile could be updated.
Update the file /usr/lib/cron/.proto to set the PATH and ulimit for cron jobs.
See also
http://osr600doc.xinuos.com/man/html.S/Intro.S.html#LargeFileSupportThe following set of system utilities have been made large-file aware, and a notice stating that has been added to each manual page.
cat(C) du(ADM) pathchk(C)
chgrp(C) ff(ADM) pax(C)
chmod(C) find(C) pwd(C)
chown(C) fsck(ADM) rcp(TC)
cksum(C) fsdb(ADM) rm(C)
cmp(C) ln(C) rmdir(C)
compress(C) ls(C) sum(C)
cp(C) mkdir(C) touch(C)
cpio(C) mkfs(ADM) ulimit(C)
dd(ADM) mv(C) uncompress(C)
df(ADM) ncheck(ADM) zcat(C)