I have tried many iterations of btape to get a simplified single tape test to
work with a VXA-2 Exabyte drive in a Storageloader.  This issue has been
submitted to the user list without resolution.  I have tried many variations
of a Device resource witout success.  The attempts always result in "Backspace
file at EOT failed".  The tail of the output:


Wrote block=265000, file,blk=18,1499 VolBytes=17,095,615,488 rate=5.502 MB/s
Wrote block=270000, file,blk=18,6499 VolBytes=17,418,175,488 rate=5.505 MB/s
14:58:25 Flush block, write EOF
Wrote block=275000, file,blk=18,11499 VolBytes=17,740,735,488 rate=5.509 MB/s
Wrote block=280000, file,blk=19,999 VolBytes=18,063,295,488 rate=5.510 MB/s
Wrote block=285000, file,blk=19,5999 VolBytes=18,385,855,488 rate=5.514 MB/s
05-Jan 15:00 btape JobId 0: Error: block.c:573 Write error at 19:7055 on device 
"Exabyte_VXA-2" (/dev/nst0). ERR=Input/output error.
05-Jan 15:00 btape JobId 0: Error: Backspace file at EOT failed. 
ERR=Input/output error
btape: btape.c:2701 Last block at: 19:7054 this_dev_block_num=7055
btape: btape.c:2736 End of tape 19:0. Volume Bytes=18,453,980,160. Write rate = 
5.511 MB/s
btape: btape.c:2311 Wrote 1000 blocks on second tape. Done.
Done writing 0 records ...
btape: btape.c:2380 Wrote state file last_block_num1=7054 last_block_num2=0
btape: btape.c:2395

15:00:37 Done filling tape at 19:0. Now beginning re-read of tape ...
btape: btape.c:2476 Enter do_unfill
05-Jan 15:02 btape JobId 0: Ready to read from volume "TestVolume1" on device 
"Exabyte_VXA-2" (/dev/nst0).
Rewinding.
Reading the first 10000 records from 0:0.
10000 records read now at 1:5084
Reposition from 1:5084 to 19:7054
Reading block 7054.

The last block on the tape matches. Test succeeded.

btape: btape.c:2403 do_unfill failed.



My current Device resource is:



Device {
    Name = "Exabyte_VXA-2"
    # btape cap command:
    #EOF BSR BSF FSR FSF !FASTFSF !BSFATEOM !EOM REM !RACCESS !AUTOMOUNT !LABEL 
!ANONVOLS ALWAYSOPEN MTIOCGET
    Media Type = "VXA-2"
    Archive Device = /dev/nst0
    Device Type = Tape
    Autochanger = yes       # if yes, must specify Autochanger resource
    Alert Command = "/bin/sh -c '/usr/sbin/tapeinfo -f %c | grep TapeAlert | 
cat'"  # cat returns 0 to prevent error return code from grep
    Maximum Changer Wait = 30 minutes
    Maximum Rewind Wait = 20 minutes
    Maximum Open Wait = 25 minutes
    RemovableMedia = yes
    AlwaysOpen = yes                # default = yes
    Random Access = no              # no for tapes
    Hardware End of Medium = no     # default = yes??
    BSF at EOM = yes                # docs says default is No but errors are 
produced: "Error: Backspace file at EOT failed"
#   BSF at EOM = no                 # docs says default is No but errors are 
produced: "Error: Backspace file at EOT failed"
#   TWO EOF = yes                   # default = No
    TWO EOF = no                    # default = No
    Forward Space Record = yes      # default = yes
    Forward Space File = yes        # default = yes
    Backward Space Record = yes     # default = yes
#   Backward Space Record = no      # default = yes
    Backward Space File = yes       # default = yes
#   Backward Space File = no        # default = yes
    Fast Forward Space File = no    # default = yes
    Use MTIOCGET = yes              # default = yes
    Offline On Unmount = no         # default = no

    #AutomaticMount = yes
    Auto Select = yes               # default = yes
}



The tape drive itself has been swapped out without any change in results.

If anyone can shed some light on this it would be much appreciated.

Best Regards,
David Koski
da...@kosmosisland.com

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Bacula-devel mailing list
Bacula-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-devel

Reply via email to