Hi folks,

I have a RedHat EL4 server connected through FC to an IBM TS3200 tape
changer with single LTO4 drive with 44 slots. The bacula version is 2.2.5. I
have set the label to use the barcode labels and wiped all 25 tapes in the
changer clean with the command "mt rewind && mt weof && mt rewind" to make
sure all previous label and data entries from earlier tests are completely
gone.

Entry from bacula-sd.conf:

        Label Type = IBM
        Check Labels = yes
        LabelMedia = no;

Following is the sequence of my test run:

1. Checked status of the autochanger just before the job was started.
Confirmed NO tapes loaded in the tape drive.
2. *list media
Pool: AllFulls
+---------+------------+-----------+---------+----------+----------+--------------+---------+------+-----------+-----------+---------------------+
| MediaId | VolumeName | VolStatus | Enabled | VolBytes | VolFiles |
VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten
|
+---------+------------+-----------+---------+----------+----------+--------------+---------+------+-----------+-----------+---------------------+
|       1 | 625AAL     | Append    |       1 |        0 |        0 |
31,536,000 |       1 |   21 |         1 | LTO4      | 0000-00-00 00:00:00 |
|       2 | 626AAL     | Append    |       1 |        0 |        0 |
31,536,000 |       1 |   22 |         1 | LTO4      | 0000-00-00 00:00:00 |
+---------+------------+-----------+---------+----------+----------+--------------+---------+------+-----------+-----------+---------------------+
Pool: AllDifferentials
+---------+------------+-----------+---------+----------+----------+--------------+---------+------+-----------+-----------+---------------------+
| MediaId | VolumeName | VolStatus | Enabled | VolBytes | VolFiles |
VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten
|
+---------+------------+-----------+---------+----------+----------+--------------+---------+------+-----------+-----------+---------------------+
|       3 | 400AAL     | Append    |       1 |        0 |        0 |
31,536,000 |       1 |    1 |         1 | LTO4      | 0000-00-00 00:00:00 |
|       4 | 401AAL     | Append    |       1 |        0 |        0 |
31,536,000 |       1 |    2 |         1 | LTO4      | 0000-00-00 00:00:00 |
+---------+------------+-----------+---------+----------+----------+--------------+---------+------+-----------+-----------+---------------------+

3. *run NFSSERVER
06-Nov 13:51 nfsserver-dir JobId 1: No prior Full backup Job record found.
06-Nov 13:51 nfsserver-dir JobId 1: No prior or suitable Full backup found
in catalog. Doing FULL backup.
06-Nov 13:51 nfsserver-dir JobId 1: Start Backup JobId 1, Job=
NFSSERVER.2007-11-06_13.51.03
06-Nov 13:51 nfsserver-dir JobId 1: Using Device "LTO4_1"
06-Nov 13:51 nfsserver-sd JobId 1: 3301 Issuing autochanger "loaded? drive
0" command.
06-Nov 13:51 nfsserver-sd JobId 1: 3302 Autochanger "loaded? drive 0",
result: nothing loaded.
06-Nov 13:51 nfsserver-sd JobId 1: 3304 Issuing autochanger "load slot 21,
drive 0" command.
06-Nov 13:52 nfsserver-sd JobId 1: 3305 Autochanger "load slot 21, drive 0",
status is OK.
06-Nov 13:52 nfsserver-sd JobId 1: 3301 Issuing autochanger "loaded? drive
0" command.
06-Nov 13:52 nfsserver-sd JobId 1: 3302 Autochanger "loaded? drive 0",
result is Slot 21.
06-Nov 13:52 nfsserver-sd JobId 1: Warning: Device "LTO4_1" (/dev/IBMtape0)
not configured to autolabel Volumes.
06-Nov 13:52 nfsserver-sd JobId 1: Please mount Volume "625AAL" or label a
new one for:
    Job:          NFSSERVER.2007-11-06_13.51.03
    Storage:      "LTO4_1" (/dev/IBMtape0)
    Pool:         AllFulls
    Media type:   LTO4

4. I tried release and mount commands to remount tape 625AAL from slot
21but got the same error message.

5. *list jobs
Automatically selected Catalog: MYSQL
Using Catalog "MYSQL"
+-------+-----------+---------------------+------+-------+----------+----------+-----------+
| JobId | Name      | StartTime           | Type | Level | JobFiles |
JobBytes | JobStatus |
+-------+-----------+---------------------+------+-------+----------+----------+-----------+
|     1 | NFSSERVER | 2007-11-06 13:51:43 | B    | F     |        0 |
0 | R         |
+-------+-----------+---------------------+------+-------+----------+----------+-----------+


6. Currently I have more than "30000" and growing lines of the following
message spitted out incessantly.
06-Nov 14:10 nfsserver-sd JobId 1: Warning: Device "LTO4_1" (/dev/IBMtape0)
not configured to autolabel Volumes.

Any ideas why Bacula is unhappy with the tape(s)? Am I doing something wrong
with the labels? I've been testing Bacula for the plus 1+ month and it
consistently gets messed up with the tapes. Help is much appreciated.

Regards,

Win
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to