This may be of some interest too. I ran 'update slots' and didn't seem to
change anything....
*status slots
The defined Storage resources are:
1: File
2: Tape
Select Storage resource (1-2): 2
Automatically selected Catalog: MyCatalog
Using Catalog "MyCatalog"
Enter autochanger drive[0]:
Connecting to Storage daemon Tape at bacula.microslu.washington.edu:9103 ...
3306 Issuing autochanger "slots" command.
Device "OverlandDevice" has 23 slots.
Connecting to Storage daemon Tape at bacula.microslu.washington.edu:9103 ...
3306 Issuing autochanger "list" command.
Slot | Volume Name | Status | Media Type | Pool
|
------+------------------+-----------+----------------------+--------------------|
1 | | | |
|
2*| KL0354 | ? | ? |
? |
3 | KL0357 | Error | LTO2 |
Onsite |
4 | KL0368 | Append | LTO2 |
Onsite |
5 | KL0360 | Append | LTO2 |
Scratch |
6 | KL0308 | Append | LTO2 |
Scratch |
7 | KL0421 | Append | LTO2 |
Scratch |
8*| KL0420 | ? | ? |
? |
9*| KL0442 | ? | ? |
? |
10*| KL0398 | ? | ? |
? |
11*| KL0309 | ? | ? |
? |
12 | KL0400 | Append | LTO2 |
Scratch |
13*| KL0318 | ? | ? |
? |
14*| 000108 | ? | ? |
? |
15*| KL0389 | ? | ? |
? |
16*| 000102 | ? | ? |
? |
17*| KL0410 | ? | ? |
? |
18*| KL0317 | ? | ? |
? |
19*| KL0439 | ? | ? |
? |
20*| KL0369 | ? | ? |
? |
21*| KL0343 | ? | ? |
? |
22*| KL0328 | ? | ? |
? |
23 | | | |
|
*update slots
The defined Storage resources are:
1: File
2: Tape
Select Storage resource (1-2): 2
Enter autochanger drive[0]:
Connecting to Storage daemon Tape at bacula.microslu.washington.edu:9103 ...
3306 Issuing autochanger "slots" command.
Device "OverlandDevice" has 23 slots.
Connecting to Storage daemon Tape at bacula.microslu.washington.edu:9103 ...
3306 Issuing autochanger "list" command.
Volume "KL0354" not found in catalog. Slot=2 InChanger set to zero.
Volume "KL0388" not found in catalog. Slot=1 InChanger set to zero.
Catalog record for Volume "KL0357" updated to reference slot 3.
Catalog record for Volume "KL0368" updated to reference slot 4.
Catalog record for Volume "KL0360" updated to reference slot 5.
Catalog record for Volume "KL0308" updated to reference slot 6.
Catalog record for Volume "KL0421" updated to reference slot 7.
Volume "KL0420" not found in catalog. Slot=8 InChanger set to zero.
Volume "KL0442" not found in catalog. Slot=9 InChanger set to zero.
Volume "KL0398" not found in catalog. Slot=10 InChanger set to zero.
Volume "KL0309" not found in catalog. Slot=11 InChanger set to zero.
Catalog record for Volume "KL0400" updated to reference slot 12.
Volume "KL0318" not found in catalog. Slot=13 InChanger set to zero.
Volume "000108" not found in catalog. Slot=14 InChanger set to zero.
Volume "KL0389" not found in catalog. Slot=15 InChanger set to zero.
Volume "000102" not found in catalog. Slot=16 InChanger set to zero.
Volume "KL0410" not found in catalog. Slot=17 InChanger set to zero.
Volume "KL0317" not found in catalog. Slot=18 InChanger set to zero.
Volume "KL0439" not found in catalog. Slot=19 InChanger set to zero.
Volume "KL0369" not found in catalog. Slot=20 InChanger set to zero.
Volume "KL0343" not found in catalog. Slot=21 InChanger set to zero.
Volume "KL0328" not found in catalog. Slot=22 InChanger set to zero.
*status slots
The defined Storage resources are:
1: File
2: Tape
Select Storage resource (1-2): 2
Enter autochanger drive[0]:
Connecting to Storage daemon Tape at bacula.microslu.washington.edu:9103 ...
3306 Issuing autochanger "slots" command.
Device "OverlandDevice" has 23 slots.
Connecting to Storage daemon Tape at bacula.microslu.washington.edu:9103 ...
3306 Issuing autochanger "list" command.
Slot | Volume Name | Status | Media Type | Pool
|
------+------------------+-----------+----------------------+--------------------|
1 | | | |
|
2*| KL0354 | ? | ? |
? |
3 | KL0357 | Error | LTO2 |
Onsite |
4 | KL0368 | Append | LTO2 |
Onsite |
5 | KL0360 | Append | LTO2 |
Scratch |
6 | KL0308 | Append | LTO2 |
Scratch |
7 | KL0421 | Append | LTO2 |
Scratch |
8*| KL0420 | ? | ? |
? |
9*| KL0442 | ? | ? |
? |
10*| KL0398 | ? | ? |
? |
11*| KL0309 | ? | ? |
? |
12 | KL0400 | Append | LTO2 |
Scratch |
13*| KL0318 | ? | ? |
? |
14*| 000108 | ? | ? |
? |
15*| KL0389 | ? | ? |
? |
16*| 000102 | ? | ? |
? |
17*| KL0410 | ? | ? |
? |
18*| KL0317 | ? | ? |
? |
19*| KL0439 | ? | ? |
? |
20*| KL0369 | ? | ? |
? |
21*| KL0343 | ? | ? |
? |
22*| KL0328 | ? | ? |
? |
23 | | | |
|
-----Original Message-----
From: Jeremiah D. Jester [mailto:jjest AT u.washington DOT edu]
Sent: Wednesday, June 09, 2010 11:32 AM
To: John Drescher
Cc: bacula-users AT lists.sourceforge DOT net
Subject: Re: [Bacula-users] cannot find appendable volumes
Thanks. I ran the command and it looks like it scanned all my tapes (see 2nd
section) Also, how can I remove the tapes I've already labeled and rename with
their barcodes? (see first section) Also, I have many more tapes in here that
aren't allocated to any of the below pools; only 8 tapes of 22 are being
listed. Any idea on how to allocate? I did see a few errors upon 'label
barcodes'.
Many thanks!
jj
=======================
*list volumes
Pool: Onsite
+---------+------------+-----------+---------+----------+----------+--------------+---------+------+-----------+-----------+---------------------+
| MediaId | VolumeName | VolStatus | Enabled | VolBytes | VolFiles |
VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten |
+---------+------------+-----------+---------+----------+----------+--------------+---------+------+-----------+-----------+---------------------+
| 3 | KL0357 | Append | 1 | 64,512 | 0 |
691,200 | 1 | 3 | 1 | LTO2 | 0000-00-00 00:00:00 |
+---------+------------+-----------+---------+----------+----------+--------------+---------+------+-----------+-----------+---------------------+
Pool: Catalog
No results to list.
Pool: Offsite
+---------+---------------------+-----------+---------+----------+----------+--------------+---------+------+-----------+-----------+---------------------+
| MediaId | VolumeName | VolStatus | Enabled | VolBytes | VolFiles |
VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten |
+---------+---------------------+-----------+---------+----------+----------+--------------+---------+------+-----------+-----------+---------------------+
| 1 | Offsite-vol3-6-9-10 | Append | 1 | 387,072 | 5 |
15,120,000 | 1 | 10 | 1 | LTO2 | 2010-06-09 11:24:51 |
| 2 | vol-6-9-10-1040am | Append | 1 | 64,512 | 0 |
15,120,000 | 1 | 0 | 0 | LTO2 | 0000-00-00 00:00:00 |
+---------+---------------------+-----------+---------+----------+----------+--------------+---------+------+-----------+-----------+---------------------+
Pool: Scratch
+---------+------------+-----------+---------+----------+----------+--------------+---------+------+-----------+-----------+---------------------+
| MediaId | VolumeName | VolStatus | Enabled | VolBytes | VolFiles |
VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten |
+---------+------------+-----------+---------+----------+----------+--------------+---------+------+-----------+-----------+---------------------+
| 4 | KL0368 | Append | 1 | 64,512 | 0 |
31,536,000 | 1 | 4 | 1 | LTO2 | 0000-00-00 00:00:00 |
| 5 | KL0360 | Append | 1 | 64,512 | 0 |
31,536,000 | 1 | 5 | 1 | LTO2 | 0000-00-00 00:00:00 |
| 6 | KL0308 | Append | 1 | 64,512 | 0 |
31,536,000 | 1 | 6 | 1 | LTO2 | 0000-00-00 00:00:00 |
| 7 | KL0421 | Append | 1 | 64,512 | 0 |
31,536,000 | 1 | 7 | 1 | LTO2 | 0000-00-00 00:00:00 |
| 8 | KL0400 | Append | 1 | 64,512 | 0 |
31,536,000 | 1 | 12 | 1 | LTO2 | 0000-00-00 00:00:00 |
+---------+------------+-----------+---------+----------+----------+--------------+---------+------+-----------+-----------+---------------------+
===================================
*label barcodes
The defined Storage resources are:
1: File
2: Tape
Select Storage resource (1-2): 2
Enter autochanger drive[0]:
Connecting to Storage daemon Tape at bacula.microslu.washington.edu:9103 ...
3306 Issuing autochanger "slots" command.
Device "OverlandDevice" has 23 slots.
Connecting to Storage daemon Tape at bacula.microslu.washington.edu:9103 ...
3306 Issuing autochanger "list" command.
The following Volumes will be labeled:
Slot Volume
==============
2 KL0354
1 KL0388
3 KL0357
4 KL0368
5 KL0360
6 KL0308
7 KL0421
8 KL0420
9 KL0442
10 KL0398
11 KL0309
12 KL0400
13 KL0318
14 000108
15 KL0389
16 000102
17 KL0410
18 KL0317
19 KL0439
20 KL0369
21 KL0343
22 KL0328
Do you want to label these Volumes? (yes|no): yes Defined Pools:
1: Onsite
2: Catalog
3: Offsite
4: Scratch
Select the Pool (1-4): 4
Connecting to Storage daemon Tape at bacula.microslu.washington.edu:9103 ...
Sending label command for Volume "KL0354" Slot 2 ...
3301 Issuing autochanger "loaded? drive 0" command.
3302 Autochanger "loaded? drive 0", result: nothing loaded.
3304 Issuing autochanger "load slot 2, drive 0" command.
3992 Bad autochanger "load slot 2, drive 0": ERR=Child died from signal 15:
Termination.
Results=Program killed by Bacula (timeout)
Label command failed for Volume KL0354.
Sending label command for Volume "KL0388" Slot 1 ...
3301 Issuing autochanger "loaded? drive 0" command.
3302 Autochanger "loaded? drive 0", result: nothing loaded.
3304 Issuing autochanger "load slot 1, drive 0" command.
3305 Autochanger "load slot 1, drive 0", status is OK.
3920 Cannot label Volume because it is already labeled: "vol-6-9-10-1040am"
Label command failed for Volume KL0388.
Sending label command for Volume "KL0357" Slot 3 ...
3307 Issuing autochanger "unload slot 1, drive 0" command.
3304 Issuing autochanger "load slot 3, drive 0" command.
3305 Autochanger "load slot 3, drive 0", status is OK.
block.c:275 Volume data error at 0:0! Wanted ID: "BB02", got "". Buffer
discarded.
3000 OK label. VolBytes=64512 DVD=0 Volume="KL0357" Device="Drive1" (/dev/st0)
Catalog record for Volume "KL0357", Slot 3 successfully created.
Sending label command for Volume "KL0368" Slot 4 ...
3307 Issuing autochanger "unload slot 3, drive 0" command.
3304 Issuing autochanger "load slot 4, drive 0" command.
3305 Autochanger "load slot 4, drive 0", status is OK.
block.c:275 Volume data error at 0:0! Wanted ID: "BB02", got "". Buffer
discarded.
3000 OK label. VolBytes=64512 DVD=0 Volume="KL0368" Device="Drive1" (/dev/st0)
Catalog record for Volume "KL0368", Slot 4 successfully created.
Sending label command for Volume "KL0360" Slot 5 ...
3307 Issuing autochanger "unload slot 4, drive 0" command.
3304 Issuing autochanger "load slot 5, drive 0" command.
3305 Autochanger "load slot 5, drive 0", status is OK.
block.c:275 Volume data error at 0:0! Wanted ID: "BB02", got "". Buffer
discarded.
3000 OK label. VolBytes=64512 DVD=0 Volume="KL0360" Device="Drive1" (/dev/st0)
Catalog record for Volume "KL0360", Slot 5 successfully created.
Sending label command for Volume "KL0308" Slot 6 ...
3307 Issuing autochanger "unload slot 5, drive 0" command.
3304 Issuing autochanger "load slot 6, drive 0" command.
3305 Autochanger "load slot 6, drive 0", status is OK.
block.c:275 Volume data error at 0:0! Wanted ID: "BB02", got "". Buffer
discarded.
3000 OK label. VolBytes=64512 DVD=0 Volume="KL0308" Device="Drive1" (/dev/st0)
Catalog record for Volume "KL0308", Slot 6 successfully created.
Sending label command for Volume "KL0421" Slot 7 ...
3307 Issuing autochanger "unload slot 6, drive 0" command.
3304 Issuing autochanger "load slot 7, drive 0" command.
3305 Autochanger "load slot 7, drive 0", status is OK.
block.c:275 Volume data error at 0:0! Wanted ID: "BB02", got "". Buffer
discarded.
3000 OK label. VolBytes=64512 DVD=0 Volume="KL0421" Device="Drive1" (/dev/st0)
Catalog record for Volume "KL0421", Slot 7 successfully created.
Sending label command for Volume "KL0420" Slot 8 ...
3307 Issuing autochanger "unload slot 7, drive 0" command.
3304 Issuing autochanger "load slot 8, drive 0" command.
3305 Autochanger "load slot 8, drive 0", status is OK.
block.c:275 Volume data error at 0:0! Wanted ID: "BB02", got "". Buffer
discarded.
3912 Failed to label Volume: ERR=block.c:275 Volume data error at 0:0! Wanted
ID: "BB02", got "". Buffer discarded.
Label command failed for Volume KL0420.
Sending label command for Volume "KL0442" Slot 9 ...
3937 Device "Drive1" (/dev/st0) is busy with 1 writer(s).
Label command failed for Volume KL0442.
Sending label command for Volume "KL0398" Slot 10 ...
3937 Device "Drive1" (/dev/st0) is busy with 1 writer(s).
Label command failed for Volume KL0398.
Sending label command for Volume "KL0309" Slot 11 ...
3937 Device "Drive1" (/dev/st0) is busy with 1 writer(s).
Label command failed for Volume KL0309.
Sending label command for Volume "KL0400" Slot 12 ...
3307 Issuing autochanger "unload slot 3, drive 0" command.
3304 Issuing autochanger "load slot 12, drive 0" command.
3305 Autochanger "load slot 12, drive 0", status is OK.
block.c:275 Volume data error at 0:0! Wanted ID: "BB02", got "". Buffer
discarded.
3000 OK label. VolBytes=64512 DVD=0 Volume="KL0400" Device="Drive1" (/dev/st0)
Catalog record for Volume "KL0400", Slot 12 successfully created.
Sending label command for Volume "KL0318" Slot 13 ...
3934 Device "Drive1" (/dev/st0) is being initialized.
Label command failed for Volume KL0318.
Sending label command for Volume "000108" Slot 14 ...
3934 Device "Drive1" (/dev/st0) is being initialized.
Label command failed for Volume 000108.a Sending label command for Volume
"KL0389" Slot 15 ...
3934 Device "Drive1" (/dev/st0) is being initialized.
Label command failed for Volume KL0389.
Sending label command for Volume "000102" Slot 16 ...
3934 Device "Drive1" (/dev/st0) is being initialized.
Label command failed for Volume 000102.
Sending label command for Volume "KL0410" Slot 17 ...
3934 Device "Drive1" (/dev/st0) is being initialized.
Label command failed for Volume KL0410.
Sending label command for Volume "KL0317" Slot 18 ...
3934 Device "Drive1" (/dev/st0) is being initialized.
Label command failed for Volume KL0317.
Sending label command for Volume "KL0439" Slot 19 ...
3934 Device "Drive1" (/dev/st0) is being initialized.
Label command failed for Volume KL0439.
Sending label command for Volume "KL0369" Slot 20 ...
3934 Device "Drive1" (/dev/st0) is being initialized.
Label command failed for Volume KL0369.
Sending label command for Volume "KL0343" Slot 21 ...
3934 Device "Drive1" (/dev/st0) is being initialized.
Label command failed for Volume KL0343.
Sending label command for Volume "KL0328" Slot 22 ...
3934 Device "Drive1" (/dev/st0) is being initialized.
Label command failed for Volume KL0328.
-----Original Message-----
From: John Drescher [mailto:drescherjm AT gmail DOT com]
Sent: Wednesday, June 09, 2010 11:16 AM
To: Jeremiah D. Jester
Cc: bacula-users AT lists.sourceforge DOT net
Subject: Re: [Bacula-users] cannot find appendable volumes
On Wed, Jun 9, 2010 at 2:08 PM, Jeremiah D. Jester <jjest AT u.washington DOT
edu> wrote:
> Sorry, John. Yes, it does have a bar code reader. I'll try label barcodes.
>
Here is some info on that:
http://www.bacula.org/manuals/en/concepts/concepts/Autochanger_Resource.html#SECTION0019110000000000000000
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day
Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and
enter to win:
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit. See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|