The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

If you buy from Amazon USA, please support us by using this link.
[ HOME | TOPICS | INDEX | WEB RESOURCES | BOOKS | CONTRIBUTE | SEARCH | FEEDBACK | FAQ | FORUMS ]
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Previous Message  |  Next Message 
 Re: mkisofs is not necessary
Author: Dan Langille 
Date:   01-08-03 22:02

More info: I got these types of errors:

# tar tzf /dev/cd0a
tar (child): /dev/cd0a: Cannot read: Input/output error
tar (child): At beginning of tape, quitting now
tar (child): Error is not recoverable: exiting now

So I tried:

$ sudo cat /dev/acd0a > raw.tgz
cat: /dev/acd0a: Input/output error

[after a long delay]

Next was:

$ sudo cat /dev/acd0c | tar tvzf -

[lots of output]


-rw-r--r-- ftpbackup/ftpbackup 34249 Jul 29 03:17 2003 freshsource_phorum.2003.07.29.sql
cat: /dev/acd0c: Input/output error
-rw-r--r-- ftpbackup/ftpbackup 34249 Jul 30 03:17 2003 freshsource_phorum.2003.07.30.sql
-rw-r--r-- ftpbackup/ftpbackup 34249 Jul 31 03:17 2003 freshsource_phorum.2003.07.31.sql
-rw-r--r-- ftpbackup/ftpbackup 34249 Aug 1 03:17 2003 freshsource_phorum.2003.08.01.sql

gzip: stdin: unexpected end of file
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now

Next tried was:

$ sudo cat /dev/acd0c > raw.tgz
cat: /dev/acd0c: Input/output error

At this point, I suspected the original tarball, but that was fine:

$ tar tvzf ~dan/fp2003.06_fbsd_fppho_fs_pho_phpads_.tgz

[no errors]

And then:

$ sudo dd if=/dev/acd0c bs=2k of=raw.tgz
dd: /dev/acd0c: Input/output error
288985+0 records in
288985+0 records out
591841280 bytes transferred in 965.288864 secs (613123 bytes/sec)

While all the above was going on, I was creating an ISO and burning new CDs...

My advice: ignore what I said. This whole thread is now merely a curiousity.

 Reply To This Message  |  Forum List  |  Flat View   Newer Topic  |  Older Topic 

 Topics Author  Date
 mkisofs is not necessary   new
Dan Langille 01-08-03 19:52 
 Re: mkisofs is not necessary   new
Dan Langille 01-08-03 22:02 
 Re: mkisofs is not necessary   new
Dan Langille 02-08-03 00:15 


 Forum List  |  Need a Login? Register Here 
 User Login
 User Name:
 Password:
 Remember my login:
   
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.
How to get the most out of the forum

phorum.org