Bacula-users

Re: [Bacula-users] [Bulk] Re: Using a USB-Disk as Storage Media

2011-03-15 05:37:55
Subject: Re: [Bacula-users] [Bulk] Re: Using a USB-Disk as Storage Media
From: Soul <realsoulhunter AT yahoo DOT de>
To: bacula-users AT lists.sourceforge DOT net
Date: Tue, 15 Mar 2011 10:31:31 +0100
So... I am again a little bit further.
Some paths in the configs were wrong. Also the magazines wasn`t owned by
the bacula user.

I changed that so that now I am able to load the disks an let bacula
write on them.

But Manually!

If I try to use in the bconsole "update slots"
I get the following message:

*update slots
Automatically selected Storage: backup01
Connecting to Storage daemon backup01 at 192.168.111.2:9103 ...
3306 Issuing autochanger "slots" command.
Device "usb-changer" has 0 slots.
No slots in changer to scan.


"label barcode" has a similar message:

*label barcode
Automatically selected Catalog: MyCatalog
Using Catalog "MyCatalog"
Automatically selected Storage: backup01
Connecting to Storage daemon backup01 at 192.168.111.2:9103 ...
3306 Issuing autochanger "slots" command.
Device "usb-changer" has 0 slots.
No slots in changer to scan.


So, till now, I just use the "label" command and manually switch the
vchanger "tapes". That works, but this is not a solution.


PS.:
I am using Debian Squeeze with vchanger 0.8.2



Am 10.03.2011 15:58, schrieb Soul:
> Am 02.03.2011 20:32, schrieb John Drescher:
>> On Wed, Mar 2, 2011 at 5:36 AM, Soul <realsoulhunter AT yahoo DOT de> wrote:
>> ...
>>> Thats all...... so.. whats the Problem?
>>>
>> Please show the status dir and status storage
>>
>>> PS.: I do not use vchanger. The only comments I found about it, are 3<
>>> Years old... So I thought that it is not anymore needed.
>>
>> That will make things more difficult..
> 
> After that sentence... I tried to make it myself, but with vchanger.
> I really tried it with manuals!
> But now... i stuck again.
> 
> status dir and status storage shows that:
> 
> -------------------------------------------------------------
> 
> status dir
> debianBack-dir Version: 5.0.2 (28 April 2010) i486-pc-linux-gnu debian
> squeeze/sid
> Daemon started 10-Mar-11 15:36, 0 Jobs run since started.
>  Heap: heap=143,360 smbytes=78,348 max_bytes=118,500 bufs=298 max_bufs=316
> Incremental           Backup           10     10-Mar-11 23:05         Backup 
> DebianFile Home
> *unknown*
> Full                  Backup           11     10-Mar-11 23:10         
> BackupCatalog           *unknown*
>     32        Full    BackupCatalog.2011-03-10_15.37.25_05    is waiting for 
> an
> appendable Volume
>     18        Full         547           22.94 G      OK      07-Mar-11 23:15
> Backup_DebianFile_Home
>     19        Full           1           143.9 K      OK      07-Mar-11 23:15 
> BackupCatalog
>     20        Incr           5           1.465 G      OK      08-Mar-11 23:05
> Backup_DebianFile_Home
>     21        Full           1           150.5 K      OK      08-Mar-11 23:10 
> BackupCatalog
>     24        Full           1           51.33 K      OK      10-Mar-11 12:53 
> BackupCatalog
>     25        Full           0                0       Cancel  10-Mar-11 13:00
> Backup_DebianFile_Home
>     26        Full           0                0       Error   10-Mar-11 13:52 
> BackupCatalog
>     28        Full           0                0       Cancel  10-Mar-11 14:49 
> BackupCatalog
>     30        Full           0                0       Error   10-Mar-11 15:21 
> BackupCatalog
>     31        Full           0                0       Error   10-Mar-11 15:36 
> BackupCatalog
> ====
> 
> status storage
> Automatically selected Storage: backup01
> 
> DebianXen-sd Version: 5.0.2 (28 April 2010) x86_64-pc-linux-gnu debian
> squeeze/sid
> Daemon started 10-Mär011 15:36, 0 Jobs run since started.
>  Heap: heap=446,464 smbytes=158,711 max_bytes=158,905 bufs=111 max_bufs=113
> Sizes: boffset_t=8 size_t=8 int32_t=4 int64_t=8
> 
> Running Jobs:
> Writing: Full Backup job BackupCatalog JobId=32 Volume=""
>     pool="Default" device="usb-changer-backup01"
> (/home/backup/backup01/0/drive0)
>     spooling=0 despooling=0 despool_wait=0
>     Files=0 Bytes=0 Bytes/sec=0
>     FDReadSeqNo=6 in_msg=6 out_msg=4 fd=6
> ====
> 
> Jobs waiting to reserve a drive:
> ====
> 
> Terminated Jobs:
>  JobId  Level    Files      Bytes   Status   Finished        Name
> ===================================================================
>     19  Full          1    144.0 K  OK       07-Mär011 23:15 BackupCatalog
>     20  Incr          5    1.465 G  OK       08-Mär011 23:05
> Backup_DebianFile_Home
>     21  Full          1    150.6 K  OK       08-Mär011 23:10 BackupCatalog
>     22  Incr          0         0   Cancel   10-Mär011 09:39
> Backup_DebianFile_Home
>     24  Full          1    51.44 K  OK       10-Mär011 12:53 BackupCatalog
>     25  Full        355    9.071 G  Cancel   10-Mär011 13:00
> Backup_DebianFile_Home
>     26  Full          0         0   Cancel   10-Mär011 13:52 BackupCatalog
>     28  Full          0         0   Cancel   10-Mär011 15:21 BackupCatalog
>     27  Full          0         0   Cancel   10-Mär011 15:21 BackupCatalog
>     31  Full          0         0   Cancel   10-Mär011 15:36 BackupCatalog
> ====
> 
> Device status:
> Autochanger "usb-changer" with devices:
>    "usb-changer-backup01" (/home/backup/backup01/0/drive0)
> Device "usb-changer-backup01" (/home/backup/backup01/0/drive0) is not open.
>     Device is BLOCKED waiting to create a volume for:
>        Pool:        Default
>        Media type:  File
>     Drive 0 status unknown.
> ====
> 
> Used Volume status:
> ====
> 
> ====
> 
> -----------------------------------------------------
> 
> So far... I understand that i made something wrong...
> Also I saw that drive0 does not exist.. in a earlier test, i somehow
> made it. But i don’t know how...
> 
> 
> What is it???
> 
> ------------------------------------------------------------------------------
> Colocation vs. Managed Hosting
> A question and answer guide to determining the best fit
> for your organization - today and in the future.
> http://p.sf.net/sfu/internap-sfd2d
> _______________________________________________
> Bacula-users mailing list
> Bacula-users AT lists.sourceforge DOT net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
> 


------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users