[rhn-users] Error tar.
cbeerse at gmail.com
cbeerse at gmail.com
Tue May 17 15:12:12 UTC 2005
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
>
More information about the rhn-users
mailing list