Bacula-users

[Bacula-users] Issues with IBM Labels

2017-04-17 22:01:38
Subject: [Bacula-users] Issues with IBM Labels
From: Jim Richardson <jim AT securit360 DOT com>
To: "bacula-users AT lists.sourceforge DOT net" <bacula-users AT lists.sourceforge DOT net>
Date: Tue, 18 Apr 2017 02:00:34 +0000
Hello,

I must be missing something stupid.  I am using IBM barcode labels on LTO7 
tapes.  Bacula labeled my media, but I am unable to start backup job due to 
error Fatal error: ansi_label.c:296 ANSI Volume label name "000009L7" longer 
than 6 chars.

BConsole Steps:
*label barcodes
*- snip -*
*update slots
Device "ULT3580" has 8 slots.
Catalog record for Volume "000009L7" is up to date.
Catalog record for Volume "000001L7" is up to date.
Catalog record for Volume "000008L7" is up to date.
Catalog record for Volume "000003L7" is up to date.
Catalog record for Volume "000006L7" is up to date.
Catalog record for Volume "000005L7" is up to date.
Catalog record for Volume "CLN002L1" is up to date.
Catalog record for Volume "000007L7" is up to date.

17-Apr 20:16 bacula-dir JobId 18: Start Backup JobId 18, 
Job=Backup_TestData.2017-04-17_20.16.03_19
17-Apr 20:16 bacula-dir JobId 18: Using Device "ULT3580" to write.
17-Apr 20:16 bacula-sd JobId 18: 3307 Issuing autochanger "unload slot 3, drive 
0" command for vol 000009L7.
17-Apr 20:16 bacula-sd JobId 18: 3304 Issuing autochanger "load slot 1, drive 
0" command for vol 000009L7.
17-Apr 20:17 bacula-sd JobId 18: 3305 Autochanger "load slot 1, drive 0", 
status is OK for vol 000009L7.
17-Apr 20:17 bacula-sd JobId 18: Error: 17-Apr 20:17 bacula-sd JobId 18: Fatal 
error: ansi_label.c:296 ANSI Volume label name "000009L7" longer than 6 chars.
17-Apr 20:17 bacula-fd JobId 18: Fatal error: job.c:2484 Bad response from SD 
to Append Data command. Wanted 3000 OK data
, got len=114 msg="3903 Error append data: ansi_label.c:85 Read error on device 
/dev/nst0 in ANSI label. ERR=Cannot allocate memory  "
17-Apr 20:17 bacula-sd JobId 18: Marking Volume "000009L7" in Error in Catalog.
17-Apr 20:17 bacula-sd JobId 18: Fatal error: Job 18 canceled.


#-- /etc/bacula/bacula-sd.conf
Device {
  Name                  = ULT3580
  Description           = "IBM ULT3580-HH7"
  Media Type            = LTO-7
  Archive Device        = /dev/nst0
  Label Type            = IBM;
  AutomaticMount        = yes;               # when device opened, read it
  AlwaysOpen            = yes;
  RemovableMedia        = yes;
  RandomAccess          = no;
  AutoChanger           = yes;
  Changer Device        = /dev/sg6
  Drive Index           = 0
  Spool Directory       = /backup/bacula/spool
  Changer Command       = "/usr/libexec/bacula/mtx-changer %c %o %S %a %d"
  # Enable the Alert command only if you have the mtx package loaded
  Alert Command         = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
}

#-- /etc/bacula/bacula-dir.conf
Pool {
  Name = Daily_Tapes
  Pool Type = Backup
  Cleaning Prefix = "CLN"
  Recycle = yes
  AutoPrune = yes
  Volume Retention = 6 days
  Recycle Oldest Volume = yes
  Label Type = IBM
}


Thanks!

Jim Richardson

CONFIDENTIALITY: This email (including any attachments) may contain 
confidential, proprietary and privileged information, and unauthorized 
disclosure or use is prohibited. If you received this email in error, please 
notify the sender and delete this email from your system. Thank you.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
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>