Trying to label the tapes I have with Label Barcodes on bconsole and it
errors out every time. It times out every time I try labeling a volume
on a tape.
Director's part
Storage {
Name = "1x8 G2 AUTOLDR"
Address = ...
SDPort = 9103
Password = ...
Device = "Ultrium 4-SCSI" # must be same as
Device in Storage daemon
Media Type = LTO-4 # must be same as MediaType in
Storage daemon
Autochanger = yes # enable for autochanger device
}
Storage director part
Autochanger {
Name = "1x8 G2 AUTOLDR"
Device = "Ultrium 4-SCSI"
Changer Command = "/etc/bacula/scripts/mtx-changer %c %o %S %a %d"
Changer Device = /dev/sg1
}
Device {
Name = "Ultrium 4-SCSI" #
Drive Index = 0
Media Type = LTO-4
Archive Device = /dev/sg0
AutomaticMount = yes; # when device opened, read it
AlwaysOpen = yes;
Maximum Changer Wait = 240
RemovableMedia = yes;
RandomAccess = no;
AutoChanger = yes
Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
}
This is roughly what happens on that command
Connecting to Storage daemon 1x8 G2 AUTOLDR at trbackup:9103 ...
Sending label command for Volume "FPH100L4" Slot 1 ...
3301 Issuing autochanger "loaded? drive 0" command.
3302 Autochanger "loaded? drive 0", result is Slot 2.
3307 Issuing autochanger "unload slot 2, drive 0" command.
3304 Issuing autochanger "load slot 1, drive 0" command.
3992 Bad autochanger "load slot 1, drive 0": ERR=Child died from signal
15: Termination.
Results=Loading media from Storage Element 1 into drive 0...done
Program killed by Bacula watchdog (timeout)
Label command failed for Volume FPH100L4.
Sending label command for Volume "FPH110L4" Slot 2 ...
3301 Issuing autochanger "loaded? drive 0" command.
3302 Autochanger "loaded? drive 0", result is Slot 1.
3307 Issuing autochanger "unload slot 1, drive 0" command.
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=Loading media from Storage Element 2 into drive 0...done
Program killed by Bacula watchdog (timeout)
Label command failed for Volume FPH110L4.
I also ran it this way
*label barcodes Storage="1x8 G2 AUTOLDR" Pool=Tape Slots=1
Connecting to Storage daemon 1x8 G2 AUTOLDR at trbackup:9103 ...
3306 Issuing autochanger "slots" command.
Device "Ultrium 4-SCSI" has 8 slots.
Connecting to Storage daemon 1x8 G2 AUTOLDR at trbackup:9103 ...
3306 Issuing autochanger "list" command.
The following Volumes will be labeled:
Slot Volume
==============
1 FPH100L4
Do you want to label these Volumes? (yes|no): yes
Connecting to Storage daemon 1x8 G2 AUTOLDR at trbackup:9103 ...
Sending label command for Volume "FPH100L4" Slot 1 ...
3301 Issuing autochanger "loaded? drive 0" command.
3302 Autochanger "loaded? drive 0", result is Slot 2.
3307 Issuing autochanger "unload slot 2, drive 0" command.
3304 Issuing autochanger "load slot 1, drive 0" command.
3992 Bad autochanger "load slot 1, drive 0": ERR=Child died from signal
15: Termination.
Results=Loading media from Storage Element 1 into drive 0...done
Program killed by Bacula watchdog (timeout)
Label command failed for Volume FPH100L4.
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users