[rhn-users] Error tar.

Meli Marco Marco.Meli at gknsintermetals.com
Tue May 17 15:36:34 UTC 2005


By I have try the two commands below that you have suggest it works almost
fine ... I said almost because sometime backup terminate with an errors but
probably could be the the tape.
I have purchase some tape and I try to check the olds.
Thanks, again.
Marco.  

-----Original Message-----
From: cbeerse at gmail.com [mailto:cbeerse at gmail.com] 
Sent: martedì 17 maggio 2005 17.12
To: robert at techknow.com; Red Hat Network Users List
Subject: Re: [rhn-users] Error tar.

Robert Saylor wrote:

> Try "mt -f /dev/st0 setblk 0"
> Then "mt -f /dev/st0 rewind"

This made me think: there is also /dev/nst0 which points to the same device:

/dev/st0 does an automatic rewind after each tape action, /dev/nst0 does no
such rewind. In most cases I recall I use /dev/nst0, with manual `mt
/dev/st0 offline` to unload the tape.


CBee


> 
> Then try "tar -cvf /dev/st0 ./*"
> 
> ---------- Original Message ----------------------------------
> From: "cbeerse at gmail.com" <cbeerse at gmail.com>
> Reply-To: Red Hat Network Users List <rhn-users at redhat.com>
> Date:  Mon, 02 May 2005 12:54:44 +0200
> 
> 
>>Meli Marco wrote:
>>
>>>Hi,
>>>By few weeks I received an error every time tar script runs:
>>>
>>>tar (child): /dev/st0: Wrote only 0 of 10240 bytes tar (child): Error 
>>>is not recoverable: exiting now
>>>/etc/cron.d/backup.tape: line 7:  2966 Broken pipe
>>>
>>>Does anyone know what's wrong?
>>
>>No tape in device or other problem with tape in device /dev/st0.
>>
>>From tar point of view, the tape is just not writable.
>>
>>Try cleaning the drive.
>>
>>If you donnot see any troubles with the tape (it is inserted, it is 
>>loaded, it is writable and such) then use the `mt` command to scan the 
>>drive (see `man mt` for details).
>>
>>
>>CBee
>>
>>_______________________________________________
>>rhn-users mailing list
>>rhn-users at redhat.com
>>https://www.redhat.com/mailman/listinfo/rhn-users
>>
> 
>  
> 
> 
> 
> 
>  
>                    
> 
> _______________________________________________
> rhn-users mailing list
> rhn-users at redhat.com
> https://www.redhat.com/mailman/listinfo/rhn-users
> 

_______________________________________________
rhn-users mailing list
rhn-users at redhat.com
https://www.redhat.com/mailman/listinfo/rhn-users




More information about the rhn-users mailing list