Hello,

There is a pdf whitepaper at bacula.org -> Documentation -> White Papers -> Object Storage (Cloud) with Bacula that will probably help you.

A better solution will be that around the end of the year, I will release Bacula xx.yy.0 with an S3 driver that will probably work *far* better.

Best regards,

Kern

PS: Usually "Operation not permitted" means you do not have the right permissions -- the SD probably needs to be root or sudo to root.


On 05/04/2018 10:01 PM, Ralph Lawrence wrote:
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
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users



------------------------------------------------------------------------------
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
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to