I am battling a consistent error when attempting to write multiple jobs to 
a single tape drive, no autochanger.   Most of the jobs are migrations from 
primary disk backup to archival tape.   New tapes work fine.  Appending to 
a tape that has not been unmounted works fine.  Where I run into problems 
is if I unmount a tape that has space available and then remount it.   I 
always get this error:

Tape1-SD JobId 66012: Error: Unable to position to end of data on device 
"Tape1" (/dev/nst0): ERR=backends/generic_tape_device.cc:223 ioctl MTIOCGET 
error on "Tape1" (/dev/nst0). ERR=Success.

Not a huge deal but I am wasting alot of tape space if I have to put in a 
new tape.  The tape drives are HP LTO-6.   I am assuming I have a device 
configuration issue, but I am not sure where to look.  Below is my Tape 
config.

Any suggestions would be appreciated.

Device {
  Name = Tape1
  Media Type = LTO-6
  Archive Device = /dev/nst0
  AutomaticMount = yes;               # when device opened, read it
  AlwaysOpen = yes;
  RemovableMedia = yes;
  RandomAccess = no;
  AutoChanger = no;
  Minimum block size = 1048576;
  Maximum block size = 4M;
  Maximum File Size = 20GB;
  LabelMedia = yes;                   # lets Bareos label unlabeled media
  Random Access = no;
  AutomaticMount = yes;               # when device opened, read it
  RemovableMedia = yes;
  AlwaysOpen = yes;
  Maximum Spool Size = 150GB;
  Description = "Tape Drive #1."
}

-- 
You received this message because you are subscribed to the Google Groups 
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bareos-users/37ba9b7e-9b7a-4684-885a-cae8f777dee7n%40googlegroups.com.

Reply via email to