Bacula-users

[Bacula-users] Trouble adding tape to pool

2013-01-28 14:45:28
Subject: [Bacula-users] Trouble adding tape to pool
From: Alan McKay <alan.mckay+bacula AT gmail DOT com>
To: Bacula-users AT lists.sourceforge DOT net
Date: Mon, 28 Jan 2013 14:42:56 -0500
I had this embedded in my "2 questions" thread but not much response
so splitting it out with more detail this time.

When I originally did "label barcodes" it scanned my jukebox but was
unable to add 1 tape to the Default pool - looks like the read-only
tab was set on that tape which was inadvertent.

Now I have tape 000006L4 in Slot 8 that appears to be labelled
properly with its barcode but it is not in a pool and I can't figure
out how to get it there :

*update slots
The defined Storage resources are:
     1: File
     2: SL24
Select Storage resource (1-2): 2
Connecting to Storage daemon SL24 at 127.0.0.1:9103 ...
3306 Issuing autochanger "slots" command.
Device "SL24" has 24 slots.
Connecting to Storage daemon SL24 at 127.0.0.1:9103 ...
3306 Issuing autochanger "list" command.
Catalog record for Volume "000038L4" updated to reference slot 1.
Catalog record for Volume "000041L4" updated to reference slot 2.
Catalog record for Volume "000040L4" updated to reference slot 3.
Catalog record for Volume "000018L4" updated to reference slot 4.
Catalog record for Volume "000001L4" updated to reference slot 5.
Catalog record for Volume "000052L4" updated to reference slot 6.
Catalog record for Volume "000012L4" updated to reference slot 7.
Volume "000006L4" not found in catalog. Slot=8 InChanger set to zero.
Catalog record for Volume "000051L4" updated to reference slot 9.
[ ... and so on ... ]

If I do "add" it wants this "base volume name" which is going to
change the volume name from the barcode number and I don't want that.

*add pool=Default storage=SL24
You probably don't want to be using this command since it
creates database records without labeling the Volumes.
You probably want to use the "label" command.

Enter number of Volumes to create. 0=>fixed name. Max=3: 1
Enter base volume name:


Label barcodes fails because it is already labelled.

*label barcodes slot=8
The defined Storage resources are:
     1: File
     2: SL24
Select Storage resource (1-2): 2
Connecting to Storage daemon SL24 at 127.0.0.1:9103 ...
3306 Issuing autochanger "slots" command.
Device "SL24" has 24 slots.
Connecting to Storage daemon SL24 at 127.0.0.1:9103 ...
3306 Issuing autochanger "list" command.
The following Volumes will be labeled:
Slot  Volume
==============
   8  000006L4
Do you want to label these Volumes? (yes|no): yes
Defined Pools:
     1: Default
     2: File
     3: Scratch
     4: Autochanger
Select the Pool (1-4): 1
Connecting to Storage daemon SL24 at 127.0.0.1:9103 ...
Sending label command for Volume "000006L4" Slot 8 ...
3920 Cannot label Volume because it is already labeled: "000006L4"
Label command failed for Volume 000006L4.


Do I really have to wipe this tape (load it, weof, unload) to do
something useful with it?

THis does not seem to make sense to me.  I just want to add it to my
default pool with the volume name of its barcode.




thanks,
-Alan

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>