Hi.
I created a cpio archive of my / directory, excluding unwanted directories like /proc, /tmp, and /dev called fullbackup.cpio.
The size of the archvie is 5.1 GB. Now when I try to extract or list the contents of this cpio archive, I get the following error.
[root@appsdms /]# cpio -itv < fullbackup.cpio cpio: standard input is closed: Value too large for defined data type
Is there a limit for the size that a cpio archive can have? My filesystem is ext3 (RHEL AS3).
I wanted to backup this data to tape, and wanted to test it by saving it to my hard disk first.
Googling for the exact error didn't help apart from mentioning some 2GB file size limit for ext3 (??)
Regards, NMK.
On Wed, 2006-04-19 at 18:07 +0530, Nadeem M. Khan wrote:
Hi.
I created a cpio archive of my / directory, excluding unwanted directories like /proc, /tmp, and /dev called fullbackup.cpio.
The size of the archvie is 5.1 GB. Now when I try to extract or list the contents of this cpio archive, I get the following error.
Any reason for not using tar with compression (z or j)?
On 4/19/06, Arun K. Khan knura@yahoo.com wrote:
Any reason for not using tar with compression (z or j)?
symlinks, special files and the flexibility of using "find".
Regards, NMK.
On Wednesday 19 April 2006 12:37, Nadeem M. Khan wrote:
Googling for the exact error didn't help apart from mentioning some 2GB file size limit for ext3 (??)
Is that limit imposed by the file system or CPIO? If you are implying that the FS is imposing the limit then you're mistaken:
http://batleth.sapienti-sat.org/projects/FAQs/ext3-faq.html
The limit is 4TB and your file is just 5.1GB.
On 4/20/06, Dinesh Joshi dinesh.a.joshi@gmail.com wrote:
On Wednesday 19 April 2006 12:37, Nadeem M. Khan wrote:
Googling for the exact error didn't help apart from mentioning some 2GB file size limit for ext3 (??)
Is that limit imposed by the file system or CPIO? If you are implying that the FS is imposing the limit then you're mistaken:
http://batleth.sapienti-sat.org/projects/FAQs/ext3-faq.html
The limit is 4TB and your file is just 5.1GB.
Could you simulate this on your system? I imagine you'd get the same error while extracting. Just make a cpio archive of /usr thats around 5 gigs. I'm going to try it on 64 bit box tomorrow. Lets see.
Regards, NMK.