You are here

Bacula bug 1975: bconsole does not cope with attempt to label with existing label

When labelling a new volume, if an existing volume name is entered, subsequent entries are ignored and the original one is attempted each time.

bacula-dir# bconsole
Connecting to Director localhost:9101
1000 OK: bacula-dir Version: 5.2.10 (28 June 2012)
Enter a period to cancel a command.
*label
Automatically selected Catalog: MyCatalog
Using Catalog "MyCatalog"
Automatically selected Storage: File
Enter new Volume name: 10020
Media record for new Volume "10020" already exists.
Enter new Volume name: 10021
Media record for new Volume "10020" already exists.
Enter new Volume name: 10022
Media record for new Volume "10020" already exists.
Enter new Volume name: 99999
Media record for new Volume "10020" already exists.
Enter new Volume name: .
*label
Automatically selected Storage: File
Enter new Volume name: 10021
Defined Pools:
1: Default
2: File
3: Scratch
Select the Pool (1-3): 2
Connecting to Storage daemon File at bacula-sd.redcell.ca:9103 ...
Sending label command for Volume "10021" Slot 0 ...

Workaround: exit the prompt with "." and reissue the label command.

Update: The bug has been fixed and will be corrected in version 5.2.14.

Tags: 

Add new comment

Simple Copyright Policy: If you want to reproduce anything on this site, get my permission first.