[rhn-users] Error tar.

Robert Saylor robert at techknow.com
Mon May 2 14:14:26 UTC 2005


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

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
>
 




 
                   




More information about the rhn-users mailing list