[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tar problem




On Sun, 1 Nov 1998, Peter L. Peres wrote:

> On Sun, 1 Nov 1998, Ben Nes Michael wrote:
> 
> > Hi
> > 
> > I done tar -czv / > /xxx/xxx.gz.tar
> > It worked then it stoped by saying:
> > 
> > tar: Error exit delayed from previous errors
> > 
> > any one know what happend and what shell i do ?
> 
> I don't believe that you did that ;) Did you do it as root ? Did the
> machine crash ? Got disk full ?

not really. his whole syntax was wrong, I would guess it backuped his disk
to his tape device (if exist) and send the output of tar to /xxx/xxx.tar 
> 
> You tried to compress all the device files, among other things, and the
> output file too into itself. At least one device file will fill anything
> forever (/dev/zero) many other will block or give a ENODEV, and the raw
> device of the fs where the output file is mounted is guaranteed to fill
> itself with a large piece of itself ;). tar is not normally used to
> compress device files, use cpio instead. 
most tar's (including gnutar which is standard on linux) know about
special files (character & block devices and named pipes), and can backup
them nicely, so I don't think there is a problem here.

.--------------------------------------------------------------------.
| Asher Frenkel 			   Unix System Administrator |
| IBM Global Services, IBM Israel                                    |	
| Fax   : +972-3-6978115                        Phone: +972-3-6978946| 
| E-Mail:asher@ibm.net.il                              +972-3-6978687| 
`--------------------------------------------------------------------'