Hi folks,

Just as I thought I have fixed my problems, I am again stumped with Volumes
being put into Error with  "*Error: Unable to position to end of data on
device*" messages.

As previously mentioned in my other post, all the tapes were erased once
over to make sure everything starts cleanly. The tapes were bought brand new
from IBM and some were used previously for my Bacula tests (btape + actual
backups).

analysing the pattern, I suspect once all the backups are done EOF/EOD is
not written to the tape/volume causing next run(s) to put the tape into
Error and use the next available volume.

Following is part of the output from btape tests I did earlier.

Doing Bacula scan of blocks:
1 block of 64448 bytes in file 1
End of File mark.
2 blocks of 64448 bytes in file 2
End of File mark.
3 blocks of 64448 bytes in file 3
End of File mark.
1 block of 64448 bytes in file 4
End of File mark.
*17-Oct 09:43 btape JobId 0: Error: block.c:995 Read error on fd=3 at
file:blk 4:0 on device "LTO4_1" (/dev/IBMtape0). ERR=Input/output error.*
Total files=4, blocks=7, bytes = 451,136
End scanning the tape.
We should be in file 4. I am at file 4. This is correct!

Following is the excerpt of last night's backups.
Job                    Backup       Volume   Pool                start
    finish        Status
------------------------------------------------------------------------------------------------------------------------------------------
NFSSERVER    Full            625AAL   AllFulls             23:00:00
23:21:40   Appended to

                                      Volume 625AAL

APP06        Differential     401AAL   AllDifferentials  23:21:42  23:25:36
  Put 400AAL in

                                      Error & used

401AAL
07-Nov 23:22 nfsserver-sd JobId 12: 3307 Issuing autochanger "unload slot
21, drive 0" command.
07-Nov 23:23 nfsserver-sd JobId 12: 3304 Issuing autochanger "load slot 1,
drive 0" command.
07-Nov 23:24 nfsserver-sd JobId 12: 3305 Autochanger "load slot 1, drive 0",
status is OK.
07-Nov 23:24 nfsserver-sd JobId 12: 3301 Issuing autochanger "loaded? drive
0" command.
07-Nov 23:24 nfsserver-sd JobId 12: 3302 Autochanger "loaded? drive 0",
result is Slot 1.
07-Nov 23:24 nfsserver-sd JobId 12: Volume "400AAL" previously written,
moving to end of data.
07-Nov 23:24 nfsserver-sd JobId 12: Error: Unable to position to end of data
on device "LTO4_1" (/dev/IBMtape0): ERR=dev.c:1326 read error on "LTO4_1"
(/dev/IBMtape0). ERR=Input/output error.

07-Nov 23:24 nfsserver-sd JobId 12: Marking Volume "400AAL" in Error in
Catalog.
07-Nov 23:24 nfsserver-sd JobId 12: 3307 Issuing autochanger "unload slot 1,
drive 0" command.
07-Nov 23:24 nfsserver-sd JobId 12: 3304 Issuing autochanger "load slot 2,
drive 0" command.
07-Nov 23:25 nfsserver-sd JobId 12: 3305 Autochanger "load slot 2, drive 0",
status is OK.
07-Nov 23:25 nfsserver-sd JobId 12: 3301 Issuing autochanger "loaded? drive
0" command.
07-Nov 23:25 nfsserver-sd JobId 12: 3302 Autochanger "loaded? drive 0",
result is Slot 2.
07-Nov 23:25 nfsserver-sd JobId 12: Wrote label to prelabeled Volume
"401AAL" on device "LTO4_1" (/dev/IBMtape0)


APP07    Differential 401AAL   AllDifferentials       23:25:38  23:25:52
      Appended to

Volume 401AAL

APP08    Differentail 401AAL  AllDifferentials      23:25:53   23:25:57
      Appended to

                                          Volume 401AAL

APP09    Differential 401AAL  AllDifferentials     23:25:59
23:26:31          Appended to

Volume 401AAL

APP10    Differential 401AAL AllDifferentials     23:26:32
23:46:27           Appended to

                                         Volume 401AAL

CATALOG  Full         627AAL AllFulls               04:00:08
04:14:45            Put 625AAL in

Error & used

                                         627AAL
08-Nov 04:00 nfsserver-sd JobId 17: 3307 Issuing autochanger "unload slot 2,
drive 0" command.
08-Nov 04:01 nfsserver-sd JobId 17: 3304 Issuing autochanger "load slot 21,
drive 0" command.
08-Nov 04:02 nfsserver-sd JobId 17: 3305 Autochanger "load slot 21, drive
0", status is OK.
08-Nov 04:02 nfsserver-sd JobId 17: 3301 Issuing autochanger "loaded? drive
0" command.
08-Nov 04:02 nfsserver-sd JobId 17: 3302 Autochanger "loaded? drive 0",
result is Slot 21.
08-Nov 04:02 nfsserver-sd JobId 17: Volume "625AAL" previously written,
moving to end of data.
08-Nov 04:12 nfsserver-sd JobId 17: Error: Unable to position to end of data
on device "LTO4_1" (/dev/IBMtape0): ERR=dev.c:1326 read error on "LTO4_1"
(/dev/IBMtape0). ERR=Input/output error.

08-Nov 04:12 nfsserver-sd JobId 17: Marking Volume "625AAL" in Error in
Catalog.
08-Nov 04:13 nfsserver-sd JobId 17: 3307 Issuing autochanger "unload slot
21, drive 0" command.
08-Nov 04:14 nfsserver-sd JobId 17: 3304 Issuing autochanger "load slot 23,
drive 0" command.
08-Nov 04:14 nfsserver-sd JobId 17: 3305 Autochanger "load slot 23, drive
0", status is OK.
08-Nov 04:14 nfsserver-sd JobId 17: 3301 Issuing autochanger "loaded? drive
0" command.
08-Nov 04:14 nfsserver-sd JobId 17: 3302 Autochanger "loaded? drive 0",
result is Slot 23.
08-Nov 04:14 nfsserver-sd JobId 17: Wrote label to prelabeled Volume
"627AAL" on device "LTO4_1" (/dev/IBMtape0)
08-Nov 04:14 nfsserver-sd JobId 17: Job write elapsed time = 00:00:02,
Transfer rate = 61.50 M bytes/second
08-Nov 04:14 nfsserver-dir JobId 17: Bacula nfsserver-dir 2.2.5 (09Oct07):
08-Nov-2007 04:14:45

Is there a certain parameter I need to set for the LTO4 tape drive to write
EOF/EOD after the backups are done?

Help is much appreciated.

Cheers,

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