I'm trying to make a backup of a 6 Gb file in an IBM
3490 tape subsystem  with 19-track tapes. I'm doing
the following with  tar :

tar -cf /dev/tape/0768/char/rewinding filename
--multi-volume --new-volume-script=/home/user/next.sh
--totals

In order to create the backup and change the tapes
avoiding pressing enter we added an script called
next.sh where we have:

[EMAIL PROTECTED]:~$cat next.sh
#!/bin/sh
/bin/mt -f /dev/tape/0768/char/nonrewinding  rewoff
sleep 40
exit 0

everything goes ok until the 3rd tape but when it
switches to the fourth it unexpectedly ends dropping
this message:

Total bytes written: 1300162560 (1.2GB, 1.4MB/s)
tar: /dev/tape/0768/char/rewinding: Wrote only 0 of
10240 bytes
tar: Error is not recoverable: exiting now

Has somebody had a problem like this.

Thanks

_________________________________________________________
Do You Yahoo!?
La mejor conexisn a internet y 25MB extra a tu correo por $100 al mes. 
http://net.yahoo.com.mx

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to