Bacula-users

[Bacula-users] Please help me with Bacula tape load issues

2008-11-18 09:45:31
Subject: [Bacula-users] Please help me with Bacula tape load issues
From: "Mingus Dew" <shon.stephens AT gmail DOT com>
To: bacula-users <bacula-users AT lists.sourceforge DOT net>
Date: Tue, 18 Nov 2008 09:43:51 -0500
Bacula 2.4.2 has been running generally well for me over a year now. I've upgraded to 2.4.2 from 2 previous versions.

Lately I have been having multiple issues with Bacula losing track of tapes in the autochanger, not being able to load tapes
that are in the changer, and just generally not working as advertised.

I haven't made any changes, so I kind of need to know whats going on?

Currently I have this issue:

18-Nov 06:33 mt-back4.storage JobId 16098: Please mount Volume "A00046" or label a new one for:
    Job:          Oracle_Weekly_Tape.2008-11-16_22.00.49
    Storage:      "Ultrium-TD3" (/dev/rmt/0cbn)
    Pool:         Advisen_Tapes
    Media type:   LTO-3


Seems pretty normal. The director wants us to mount a new Volume. But wait....

|      37 | A00033     | Full      |       1 | 1,140,108,770,304 |    1,142 |    2,332,800 |       1 |    9 |         0 | LTO-3     | 2008-11-07 00:27:55 |
|      45 | A00040     | Full      |       1 |   638,830,983,168 |      639 |    2,332,800 |       1 |    4 |         1 | LTO-3     | 2008-11-14 03:45:31 |
|      47 | A00042     | Full      |       1 |   465,565,750,272 |      466 |    2,332,800 |       1 |    6 |         1 | LTO-3     | 2008-11-14 07:13:40 |
|      48 | A00043     | Full      |       1 |   594,564,784,128 |      596 |    2,332,800 |       1 |    7 |         1 | LTO-3     | 2008-11-17 15:21:46 |
|      51 | A00046     | Recycle   |       1 |                 1 |        0 |    2,332,800 |       1 |   10 |         1 | LTO-3     | 2008-10-17 05:42:21 |
|      52 | A00047     | Full      |       1 |   468,591,298,560 |      469 |    2,332,800 |       1 |   11 |         1 | LTO-3     | 2008-11-14 10:28:58 |
|      53 | A00048     | Full      |       1 |   909,908,342,784 |      911 |    2,332,800 |       1 |   12 |         1 | LTO-3     | 2008-11-16 20:37:24 |
|      78 | B00026     | Full      |       1 | 1,102,732,904,448 |    1,104 |    2,332,800 |       1 |   14 |         0 | LTO-3     | 2008-11-09 20:03:27 |
|      79 | B00025     | Append    |       1 |   636,516,292,608 |      638 |    2,332,800 |       1 |   13 |         0 | LTO-3     | 2008-11-10 11:31:24 |
|      85 | B00030     | Recycle   |       1 |                 1 |        0 |    2,332,800 |       1 |   18 |         0 | LTO-3     | 2008-10-13 17:04:46 |
|      87 | B00043     | Full      |       1 |   928,518,893,568 |      929 |    2,332,800 |       1 |   19 |         1 | LTO-3     | 2008-10-17 10:06:32 |
|      88 | B00044     | Full      |       1 | 1,273,995,813,888 |    1,277 |    2,332,800 |       1 |   20 |         1 | LTO-3     | 2008-11-13 22:15:21 |
|     109 | B00014     | Full      |       1 |   705,744,635,904 |      706 |    2,332,800 |       1 |   14 |         0 | LTO-3     | 2008-10-10 05:26:14 |
+---------+------------+-----------+---------+-------------------+----------+--------------+---------+------+-----------+-----------+---------------------+

A00046 is in the changer. Its status is Recycle. When I check the Storage status I see

Device status:
Autochanger "Magnum_224" with devices:
   "Ultrium-TD3" (/dev/rmt/0cbn)
Device "Ultrium-TD3" (/dev/rmt/0cbn) open but no Bacula volume is currently mounted.
    Device is BLOCKED waiting for mount of volume "A00046",
       Pool:        Oracle_Tapes
       Media type:  LTO-3
    Slot 10 is loaded in drive 0.
    Total Bytes Read=0 Blocks Read=0 Bytes/block=0
    Positioned at File=0 Block=0

If I use MTX I can see that A00046 is actually loaded in the drive....

mtx -f /dev/scsi/changer/c6t4d1 status
  Storage Changer /dev/scsi/changer/c6t4d1:1 Drives, 23 Slots ( 0 Import/Export )
Data Transfer Element 0:Full (Storage Element 10 Loaded):VolumeTag = A00046                             
      Storage Element 1:Full :VolumeTag=A00037                             
      Storage Element 2:Full :VolumeTag=A00038                             
      Storage Element 3:Full :VolumeTag=A00039                             
      Storage Element 4:Full :VolumeTag=A00040                             
      Storage Element 5:Full :VolumeTag=A00041                             
      Storage Element 6:Full :VolumeTag=A00042                             
      Storage Element 7:Full :VolumeTag=A00043                             
      Storage Element 8:Full :VolumeTag=A00044                             
      Storage Element 9:Full :VolumeTag=A00045                             
      Storage Element 10:Empty:VolumeTag=                                   
      Storage Element 11:Full :VolumeTag=A00047                             
      Storage Element 12:Full :VolumeTag=A00048                             
      Storage Element 13:Full :VolumeTag=B00037                             
      Storage Element 14:Full :VolumeTag=B00038                             
      Storage Element 15:Full :VolumeTag=B00039                             
      Storage Element 16:Full :VolumeTag=B00040                             
      Storage Element 17:Full :VolumeTag=B00041                             
      Storage Element 18:Full :VolumeTag=B00042                             
      Storage Element 19:Full :VolumeTag=B00043                             
      Storage Element 20:Full :VolumeTag=B00044                             
      Storage Element 21:Full :VolumeTag=B00045                             
      Storage Element 22:Full :VolumeTag=B00046                             
      Storage Element 23:Full :VolumeTag=B00047 

This and similar issues have been plaguing me recently. I have NO clue what might be happening. Can anyone help?

Thanks,
Shon

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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>