Error while copying huge amount of data in aix

Hi

When i copy 300GB of data from one filesystem to the other filesystem in AIX I get the error :

tar: 0511-825 The file 'SAPBRD.dat' is too large.

The command I used is :

# tar -cf - . | (cd /sapbackup ; tar -xf - )

im copying as root

The below is my ulimit -a output :

time(seconds) unlimited
file(blocks) unlimited
data(kbytes) unlimited
stack(kbytes) 4194304
memory(kbytes) unlimited
coredump(blocks) unlimited
nofiles(descriptors) 2000
threads(per process) unlimited
processes(per user) unlimited

Please assist

Try cpio instead:

find . | cpio -pmdu /sapbackup

Is your tar version a 64bit version ?

file tar

?
Is your OS 64bit ?

Many old implementations of tar have an 8-gigabyte limit for individual files. If you have or can get GNU tar, it doesn't have this limit. Neither does pax, the POSIX standard modern archiver, but that has an odd cpio-like syntax.

---------- Post updated at 02:34 PM ---------- Previous update was at 02:33 PM ----------

How will cpio help? Unlike tar, it was never modernized to support >8GB.

1 Like