Bacula-users

[Bacula-users] Adding volumes to a certain Pool

2009-02-13 10:26:35
Subject: [Bacula-users] Adding volumes to a certain Pool
From: Win Htin <win.htin AT gmail DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Fri, 13 Feb 2009 10:24:30 -0500
Hi folks,

How do I put Volumes into a particular Pool? I'm running version 2.4.4 on RHEL5.

Currently, from "bconsole" when I run "update slots" I see:

*update slots
The defined Storage resources are:
     1: File
     2: TS3100_1
Select Storage resource (1-2): 2
Connecting to Storage daemon TS3100_1 at baculatest:9103 ...
3306 Issuing autochanger "slots" command.
Device "LTO4_1" has 23 slots.
Connecting to Storage daemon TS3100_1 at baculatest:9103 ...
3306 Issuing autochanger "list" command.
Catalog record for Volume "100ADU" updated to reference slot 1.
Catalog record for Volume "101ADU" updated to reference slot 2.
Volume "103ADU" not found in catalog. Slot=4 InChanger set to zero.
Volume "104ADU" not found in catalog. Slot=5 InChanger set to zero.
Volume "102ADU" not found in catalog. Slot=3 InChanger set to zero.

I would like to add the Volumes 102ADU ~ 104ADU to the Scratch pool.
When I ran the following, I got an error message saying the Volume is
already labeled.

*label barcodes Storage=TS3100_1 Pool=Scratch Slots=3
Connecting to Storage daemon TS3100_1 at baculatest:9103 ...
3306 Issuing autochanger "slots" command.
Device "LTO4_1" has 23 slots.
Connecting to Storage daemon TS3100_1 at baculatest:9103 ...
3306 Issuing autochanger "list" command.
The following Volumes will be labeled:
Slot  Volume
==============
   3  102ADU
Do you want to label these Volumes? (yes|no): yes
Connecting to Storage daemon TS3100_1 at baculatest:9103 ...
Sending label command for Volume "102ADU" Slot 3 ...
3307 Issuing autochanger "unload slot 5, drive 0" command.
3304 Issuing autochanger "load slot 3, drive 0" command.
3305 Autochanger "load slot 3, drive 0", status is OK.
3920 Cannot label Volume because it is already labeled: "102ADU"
Label command failed for Volume 102ADU.

Thanks in advance.

Win

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users