[Bacula-users] Bacula vchanger USB - Device is not open

2013-07-02 Thread arnaldojsousa
Something is wrong because when I run the command: [root@aplicativos2 bin]# ls /var/lib/bacula/0/ drive0 index loaded0 lost+found The volume c1_0001_0001 is not show. Tnx. +-- |This was sent by arnaldojso...@gmail.com via Ba

[Bacula-users] Bacula vchanger USB - Device is not open

2013-07-02 Thread arnaldojsousa
Hi Josh.. tnx for you reply. I run "udate slots" command now in bconsole and the output: *update slots Automatically selected Storage: c1 Connecting to Storage daemon c1 at aplicativos2:9103 ... 3306 Issuing autochanger "slots" command. Device "usb-changer" has 0 slots. No slots in changer to sca

Re: [Bacula-users] Bacula vchanger USB - Device is not open

2013-07-02 Thread Josh Fisher
On 7/2/2013 9:35 AM, arnaldojsousa wrote: > Hi all. > > I installed bacula 5.2.13 with vchanger to store data in USB disks. > > I would use one external drive by day (mon-fri), so follow settings: > > /opt/bacula/c1.conf: > > # /etc/bacula/c1.conf > logfile = /var/lib/bacula/vchanger_c1.log > work

Re: [Bacula-users] Bacula vchanger USB - Device is not open

2013-07-02 Thread John Drescher
On Tue, Jul 2, 2013 at 9:35 AM, arnaldojsousa wrote: > Hi all. > > I installed bacula 5.2.13 with vchanger to store data in USB disks. > > I would use one external drive by day (mon-fri), so follow settings: > > /opt/bacula/c1.conf: > > # /etc/bacula/c1.conf > logfile = /var/lib/bacula/vchanger_c1

[Bacula-users] Bacula vchanger USB - Device is not open

2013-07-02 Thread arnaldojsousa
Hi all. I installed bacula 5.2.13 with vchanger to store data in USB disks. I would use one external drive by day (mon-fri), so follow settings: /opt/bacula/c1.conf: # /etc/bacula/c1.conf logfile = /var/lib/bacula/vchanger_c1.log work_dir = /var/lib/bacula changer_name = c1 virtual_drives = 1 s

Re: [Bacula-users] Bacula & vchanger

2011-06-30 Thread Josh Fisher
On 6/30/2011 1:28 PM, Victor Hugo dos Santos wrote: > On Tue, May 3, 2011 at 11:05 AM, Josh Fisher wrote: >> So, bacula:bacula cannot write, but bacula:disk can, yet all accessed >> directories appear to be owned by bacula:bacula? What group does the >> bacula-sd daemon run as? On Fedora, it is t

Re: [Bacula-users] Bacula & vchanger

2011-06-30 Thread Victor Hugo dos Santos
On Tue, May 3, 2011 at 11:05 AM, Josh Fisher wrote: > On 5/3/2011 5:55 AM, Koenraad Lelong wrote: >> ... >> # chmod 770 /mnt/vchanger/49299ccc-6489-43f8-9536-d63dd3de9663/ >> # ls -la /mnt/vchanger/49299ccc-6489-43f8-9536-d63dd3de9663/ >> totaal 196768 >> drwxrwx--- 6 bacula bacula     4096  3 mei

[Bacula-users] Bacula & vchanger

2011-05-06 Thread alidaf
Hi Josh I think Ubuntu uses apparmor instead of selinux. I'll do a bit of digging but I've messed something up in the meantime. I can't get the initialization to work with 'disk' now! I'd laugh if I wasn't crying so hard! Koenraad, I hope I am not hijacking your thread - just wanted to show

Re: [Bacula-users] Bacula & vchanger

2011-05-05 Thread Josh Fisher
On 5/5/2011 9:12 AM, alidaf wrote: > I'm having exactly the same problems. On Ubuntu, the storage daemon actually > runs as group 'tape' but I've tried to force it to use 'bacula' and 'disk' > without effect. The disk initialization will only work when the vchanger > command is run with the gr

[Bacula-users] Bacula & vchanger

2011-05-05 Thread alidaf
I'm having exactly the same problems. On Ubuntu, the storage daemon actually runs as group 'tape' but I've tried to force it to use 'bacula' and 'disk' without effect. The disk initialization will only work when the vchanger command is run with the group 'disk', regardless of which group the d

Re: [Bacula-users] Bacula & vchanger

2011-05-05 Thread Josh Fisher
On 5/5/2011 5:35 AM, Koenraad Lelong wrote: > Op 03-05-11 16:05, Josh Fisher schreef: >> On 5/3/2011 5:55 AM, Koenraad Lelong wrote: >>> ... >> > My only problem now I that I can't eject the disk with the button (after > the autofs timeout). Something is using the disk, and I can't find what. > lso

Re: [Bacula-users] Bacula & vchanger

2011-05-05 Thread Koenraad Lelong
Op 03-05-11 16:05, Josh Fisher schreef: > On 5/3/2011 5:55 AM, Koenraad Lelong wrote: >> ... > > So, bacula:bacula cannot write, but bacula:disk can, yet all accessed > directories appear to be owned by bacula:bacula? What group does the > bacula-sd daemon run as? On Fedora, it is typical for bacu

Re: [Bacula-users] Bacula & vchanger

2011-05-03 Thread Josh Fisher
On 5/3/2011 5:55 AM, Koenraad Lelong wrote: > ... > # chmod 770 /mnt/vchanger/49299ccc-6489-43f8-9536-d63dd3de9663/ > # ls -la /mnt/vchanger/49299ccc-6489-43f8-9536-d63dd3de9663/ > totaal 196768 > drwxrwx--- 6 bacula bacula 4096 3 mei 10:36 . > drwxr-xr-x 3 root root 0 3 mei 10:51

Re: [Bacula-users] Bacula & vchanger

2011-05-03 Thread Koenraad Lelong
Op 26-04-11 16:51, Josh Fisher schreef: > On 4/26/2011 5:10 AM, Koenraad Lelong wrote: ... Hi, I started from scratch again. > > The partition itself must also have the correct owner and permissions. > It should look like: > > # ls -la 49299ccc-6489-43f8-9536-d63dd3de9663 > > drwxrwx--- 3 bacu

Re: [Bacula-users] Bacula & vchanger

2011-04-26 Thread Josh Fisher
On 4/26/2011 5:10 AM, Koenraad Lelong wrote: > ... >> It looks like you either did not create the volumes using vchanger's >> INITMAG command, or else you created them as root or some other user and >> it is a permissions problem. The volume files must be owned by (or at >> least read/write) for th

Re: [Bacula-users] Bacula & vchanger

2011-04-26 Thread Koenraad Lelong
Op 25-04-11 17:43, Josh Fisher schreef: > > On 4/22/2011 7:37 AM, Koenraad Lelong wrote: >> Hi, >> ... > > It looks like you either did not create the volumes using vchanger's > INITMAG command, or else you created them as root or some other user and > it is a permissions problem. The volume file

Re: [Bacula-users] Bacula & vchanger

2011-04-25 Thread Josh Fisher
On 4/22/2011 7:37 AM, Koenraad Lelong wrote: > Hi, > > I hope this is the right list to ask, although I did already before. > This is my first real experience with bacula. > I'm trying to use an RDX-drive as my backup storage, that's a removable > harddisk. I think I got vchanger running on its ow

[Bacula-users] Bacula & vchanger

2011-04-22 Thread Koenraad Lelong
Hi, I hope this is the right list to ask, although I did already before. This is my first real experience with bacula. I'm trying to use an RDX-drive as my backup storage, that's a removable harddisk. I think I got vchanger running on its own, I did all the tests in the how-to. Now I'm integrating