Thanks all for your reply and informative document!

As stated on my previous message, I was using root to run bacula services and 
assumed it has no privilege issue. But not sure whether I have to run as bacula 
ID since I saw some suggested to do so?


root     14419     1  4 May08 ?        06:03:09 /sbin/bacula-sd -v -c 
/etc/bacula/bacula-sd.conf
root     14440     1 25 May08 ?        1-07:39:19 /sbin/bacula-fd -v -c 
/etc/bacula/bacula-fd.conf
root     14463     1  0 May08 ?        00:02:01 /sbin/bacula-dir -v -c 
/etc/bacula/bacula-dir.conf


I wonder why the command prompted me to check "sg device" but not "sd device" 
since I was connected a USB docking with dual slots.


Recap:

#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

I am going to have more information by the command with debug option as shown 
on Dan's website (It's great! Appreciate to share with us!).


Thanks in advance!

Best regards,
Keith


Th 
On Tuesday, May 13, 2014 1:07 AM, Radosław Korzeniewski 
<rados...@korzeniewski.net> wrote:
 
Hello,


2014-05-10 7:58 GMT+02:00 Kern Sibbald <k...@sibbald.com>:


>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>Hello,
>
>It sounds to me like you are trying to force an Autochanger, which
    is a Bacula device that typically works with physical tape
    autochangers to work with USB keys.  While this is possible (example
    disk-changer, virtual-changer), you need to either use an existing
    script or you need to understand the details of the Autochanger
    implementation.
>
>There are two other possibilities:
>1. The Bacula built-in virtual autochanger that has been discussed
    on this list a number of times, and rejected by a number of people,
    but it does work in large production environments.
>

I can confirm Kern's words - one of the largest Bacula build-in virtual 
autochanger configuration which I was implemented consist of 80 devices in a 
single autochanger. It works a far better then any disk-changer or vchanger 
scripts.
best regards
-- 
Radosław Korzeniewski
rados...@korzeniewski.net
------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to