1833502 Members
2740 Online
110056 Solutions
New Discussion

Re: Tar Error (5)

 
SOLVED
Go to solution
Coolmar
Esteemed Contributor

Tar Error (5)

Hi,

I am trying to extract data from a dat tape and I am getting the following error:

tar: tape error (5)

Does anyone know what this means? Also, if it is a corrupt file, is there a way to extract the data up to that point - skip the bad file - and then continue the extract?

Thanks!
2 REPLIES 2
Bill Hassell
Honored Contributor
Solution

Re: Tar Error (5)

Sorry but errno 5 means there is a bad spot on the tape and tar (and cpio, dump, etc) do not any recovery method - they don't have a resync capability. The classic tape utilities MUST read every block on the tape correctly (no skip file feature). This is why fbackup is preferred for important backups, or a commercial product like DataProtector (from HP) is preferred for reliable backups.


Bill Hassell, sysadmin
Coolmar
Esteemed Contributor

Re: Tar Error (5)

See above answer.