LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   PAX archive file size limit (http://www.linuxquestions.org/questions/linux-software-2/pax-archive-file-size-limit-494875/)

simdol 10-23-2006 11:59 AM

PAX archive file size limit
 
Hi,

I am backing up my files using PAX to a hard disk, using a script. When the archive file size reaches 2GB, PAX is asking for another file name. The interactive message it is giving is "Pax arhvive volume change required. Ready for volume #2. Input archive name or '.' to quit".

The script waits for some time and move on to the next PAX command to archive the next backup. The result is that the previous archive is not complete and hence the archive is not usable.

1. How can I overcome this limit of 2GB?

2. Or as an alternative, how can I specify the name for the archive volume#2, in a script?

Any help will be appreciated.

Thanks,
Mathew Simon

stress_junkie 10-23-2006 12:12 PM

I believe that the 2 GB limit is caused by the limit of inodes in your file system structure. I have overcome this limit by formatting the file system with a larger "block" size, which is in reality a cluster size. Your default block size for mkfs is probably 1024 bytes. If you reformat with a block size of 4096 you can create much larger files. The largest file I've created on a partition with 4096 bytes/block is 30 GB but I could make larger files if I wanted to do so.


All times are GMT -5. The time now is 05:15 PM.