Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

tar backup to tape

Status
Not open for further replies.

lonnieC4

Programmer
Oct 4, 2002
2
US
Hello,
OS RedHat 8.0
I am having trouble creating a backup to tape when I try to overwrite files on the tape. Example:
first I created an archive:
tar cvf /dev/nst0 filelist
next I append more files to the archive:
mt -f /dev/nst0 rewind
mt -f /dev/nst0 fsf 1
tar cvf /dev/nst0 filelist
so far, no problems. Now I want to overwrite the files I just appended with different files:
mt -f /dev/nst0 rewind
mt -f /dev/nst0 fsf 1
tar cvf /dev/nst0 filelist
when I do this I get the following errors:

Additional sense indicates Invalid command operation code
st0: Error with sense data: Info fld=0x3c, Current
st09:00: sense key Illegal Request
Additional sense indicates Write append error
st0: Error with sense data: Info fld=0x0, Current st09:00: sense key Illegal Request
Additional sense indicates Write append error
st0: Error on write filemark.

How do I overwrite those files without erasing the entire tape?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top