Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 11-26-2005, 08:59 PM   #1
Senior Member
Registered: Feb 2004
Location: lost+found
Distribution: CentOS
Posts: 1,430

Rep: Reputation: 55
Error with cpio: truncating inode number

I am getting an error with cpio:
Error with cpio: truncating inode number

is anyone familar with how to fix that?
Old 11-27-2005, 02:18 PM   #2
Senior Member
Registered: Mar 2002
Location: Oklahoma
Posts: 1,154

Rep: Reputation: 187Reputation: 187
i believe the inode number has to do with a disk partition and/or a Linux native file system, it could be a bad sector or an error on the disk from a disk partitioning tool...

if your OS is functioning good then i would not worry about it too much, however i would consider making backups of all your personal data on the drive you dont want lost such as photos, documents, music & video, bookmarks, software packages, burn it to CDr or DVDr or copy to another harddrive that does not have this error...
Old 08-30-2006, 10:52 AM   #3
LQ Newbie
Registered: Aug 2006
Posts: 1

Rep: Reputation: 0
Use c option to get larger number of inode

Originally Posted by abefroman
I am getting an error with cpio:
Error with cpio: truncating inode number

is anyone familar with how to fix that?
the default size of the inode number in the cpio format is 16 bits, so the inode number may not be larger than 65535.

the adding the c option to your options is the best way to fix this. It allows a number compatable with the linux box and the messages should go away.

create an archive with:

find . -print|cpio -ovcBO <archive path name>

restore archive with

cpio -ivcI <archive path name>

note: using cpio allows restoration of files with soft links, etc. on systems without gnu tar, which added support for other types of files, which is absent from tars on a lot of systems.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
iNode number, how does it change? saudoi Solaris / OpenSolaris 4 05-22-2005 04:38 AM
System Manager to modify inode number in USB Flash drive asaba Linux - Software 2 03-09-2005 03:12 AM
What can change an inode number? nc101 Linux - General 2 01-03-2005 10:29 AM
cpio message "truncating inode number" serik Linux - Software 2 12-18-2004 03:34 AM
Bash script to change a filename associated with an inode index number. Ziv Programming 22 06-19-2004 08:41 AM > Forums > Linux Forums > Linux - Software

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration