On May 8, 2014, at 7:04 AM, Keith T <keithb...@yahoo.com> wrote:

> Hi there,
> 
> I upgraded Bacula from 5.0.3-2 to 5.2.13. It has no problem to run a backup 
> job and back data directly on to USB device except "Autochanger" setting. I 
> was trying to configure "Autochanger" to swap USB drives automatically for 
> data backup in order that I need not to manual exchange and mount HDD when 
> one HDD is full.
> 
> I got below errors when trying below commands.
> 
> #Bacula is running as root
> [root@backupsys bacula]# /etc/bacula/mtx-changer /etc/bacula/usbchanger1.conf 
> list
> /etc/bacula/usbchanger1.conf is not an sg device, or old sg driver
> 
> [root@backupsys bacula]# su bacula /etc/bacula/mtx-changer 
> /etc/bacula/usbchanger1.conf list
> cannot open SCSI device '/etc/bacula/usbchanger1.conf' - Permission denied
> 
> Also tried to run bacula as ID bacula but failed too
> 
> 


Testing this stuff is hard.  So i wrote about it.  Rather than start a long 
back and forth discussion, I suggest you follow what I did and raise a question 
when something I did doesn’t work for you.

http://www.freebsddiary.org/tape-library.php
http://www.freebsddiary.org/tape-library-integration.php

Hope that gets you going.

It is all permissions.  It’s almost always about permission.  Scripts.  
Devices.  Daemons.  Etc.

-- 
Dan Langille - http://langille.org

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

------------------------------------------------------------------------------
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
&#149; 3 signs your SCM is hindering your productivity
&#149; Requirements for releasing software faster
&#149; Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to