[comp.unix.xenix] TAR Add to the end of the tape archive

root@netdev.Comsys.COM (Alex Huppenthal) (03/11/90)

I just installed an Archive 2150S SCSI 150MB tape unit.

Under DOS, these drives are capable of writing multiple archives on ONE
tape. Why is it that Xenix 2.3.2GT does not allow you to add to the
end of a tape?

I've tried all of these approaches:


1)
    # tar cvf /dev/nrct0 file1    /* nrct0 is the non-rewinding tape device
    # tar cvf /dev/nrct0 file2    /* rct0 rewinds on the tape close

 ... this works. However,

    # tar cvf /dev/nrct0 file1         /* write the first file
    # tar cvf /dev/nrct0 file2         /* second one after the first
    # tape wfm 			       /* write a tape file mark
    # tape rewind		       /* rewind to the beginning
    # tape rfm 			       /* read to the tape file mark

 ... Now here, I've tried

    # tar cvf /dev/nrct0 file3

 ... or

    # tar cvf /dev/rct0 file3 

each reports:

  scsi: ERROR: on tape ha=0 id=1 lun=0
      hst 00 ust 02

      [AHA-1540 error hex dump]

tar: tape write error 


None of these work. 

... so, I tried these.

    # tar cvf /dev/nrct0 file1         /* write the first file
    # tar cvf /dev/nrct0 file2         /* second one after the first
    # tape wfm 			       /* write a tape file mark
    # tape rewind		       /* rewind to the beginning

... in order to position the tape without using tape rfm,


    # tar tvf /dev/nrct0
    # tar tvf /dev/nrct0

   same results.

Backing up is not a pretty thing if you need to add 10 MB to an existing 
archive tape, and can't. 

Does anyone have a suggestion, on how to do this? GNU tar available? New
drivers? Fixes?

     HELP!

Thanks
-Alex

-- 
Alex            Internet:  root@comsys.COM
Huppenthal          UUCP:  {cs.utexas.edu!texbell}!netdev!alex 
Communication Systems Research  6045 Buffridge Tr, Dallas, TX 75252