Hi,

I've been banging my head against this for over a week now.  Basically, I
can't get AWS VTL Tape working with Bacula.

# btape -d 200  VTLDrive1

returns...

btape: autochanger.c:342-0 Unlocking changer VTLchgr
btape: tape_dev.c:104-0 Try open "VTLDrive1" (/dev/sg6) mode=OPEN_READ_ONLY
btape: tape_dev.c:127-0 Rewind after open
btape: tape_dev.c:137-0 Rewind error on "VTLDrive1" (/dev/sg6) close:
ERR=Operation not permitted
btape: tape_dev.c:174-0 tape_dev.c:170 Unable to open device "VTLDrive1"
(/dev/sg6): ERR=Operation not permitted
btape: tape_dev.c:182-0 open dev: tape -1 opened

config looks like...

Autochanger {
  Name = "VTLchgr"
  Device = VTLDrive1
  ChangerCommand = "/etc/bacula/scripts/mtx-changer %c %o %S %a %d"
  ChangerDevice = /dev/sg6
}

Device {
  Name = VTLDrive1
  Drive Index = 0
  MediaType = ULT3580-TD5
  ArchiveDevice = "/dev/sg6"
  RemovableMedia = yes
  RandomAccess = no
  AutoChanger = yes
}

1. I noticed my setup didn't create a "*-nst" linked file under /dev/.  How
can I create one of those?
2. The tape also shows up as FULL, although it's empty.
3. The none of the example UDev rules I've tried create a
"/dev/tape/by-path" link.  Does anyone have a working Ubuntu dev they can
share?

Any help or pointers would be appreciated.  Running on ubuntu 16.04

Thanks,
Kervin
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to