Hi Georg,
thanks for your answer. Effectively I did not rerun the btape test after 
the upgrade from 1.36.3 to 1.38.11, also because I had some successful 
changes of tapes.
I ran btape again, and it passed the test, but I believe there was a 
strange behaviour, I had to give NEWLINE twice. This is the log:

Wrote blk_block=6310000, dev_blk_num=6000 VolBytes=406,811,573,120 
rate=49677,8 KB/s
28-nov 12:28 btape: End of Volume "TestVolume1" at 591:6541 on device 
"LTO1" (/dev/lto1). Write of 64512 bytes got -1.
28-nov 12:28 btape: Re-read of last block succeeded.
btape: btape.c:2301 Last block at: 591:6540 this_dev_block_num=6541
btape: btape.c:2335 End of tape 591:0. VolumeCapacity=406,846,538,616. 
Write rate = 49639,6 KB/s
28-nov 12:28 btape: End of medium on Volume "TestVolume1" 
Bytes=406,846,538,616 Blocks=6,306,526 at 28-nov-2006 12:28.
28-nov 12:29 btape: Invalid slot=0 defined, cannot autoload Volume.
Mount blank Volume on device "LTO1" (/dev/lto1) and press return when 
ready:
28-nov 12:39 btape: 3301 Issuing autochanger "loaded drive 0" command.
28-nov 12:39 btape: 3302 Autochanger "loaded drive 0", result is Slot 2.
Wrote Volume label for volume "TestVolume2".
28-nov 12:39 btape: Invalid slot=0 defined, cannot autoload Volume.
dev.c:1542 ioctl MTWEOF error on "LTO1" (/dev/lto1). ERR=No space left on 
device.
Mount second Volume on device "LTO1" (/dev/lto1) and press return when 
ready:
28-nov 12:39 btape: 3301 Issuing autochanger "loaded drive 0" command.
28-nov 12:39 btape: 3302 Autochanger "loaded drive 0", result is Slot 2.
28-nov 12:39 btape: Wrote label to prelabeled Volume "TestVolume2" on 
device "LTO1" (/dev/lto1)
28-nov 12:39 btape: New volume "TestVolume2" mounted on device "LTO1" 
(/dev/lto1) at 28-nov-2006 12:39.
Done writing ...
Wrote End of Session label.
Wrote state file last_block_num1=6540 last_block_num2=11


12:39:54 Done filling tapes at 0:13. Now beginning re-read of first tape 
...
28-nov 12:39 btape: Invalid slot=0 defined, cannot autoload Volume.
Mount first tape. Press enter when ready:


--------------------------------------------------------------------------
Ferdinando Pasqualetti
G.T.Dati srl
Tel. 0557310862 - 3356172731 - Fax 055720143






Georg Altmann <[EMAIL PROTECTED]> 
Inviato da: [EMAIL PROTECTED]
28/11/2006 00.33

Per
bacula-users@lists.sourceforge.net
CC

Oggetto
Re: [Bacula-users] Error writing the first tape block after changing tape








--On Montag, 27. November 2006 12:30 +0100 Ferdinando Pasqualetti 
<[EMAIL PROTECTED]> wrote:

> Hello everybody,
>
> I am experiencing a frequent error (almost stable, but sometimes it
> worked). Bacula is MySQL version 1.38.11-3 on a RedHat ES 4.04 running 
on
> an HP Proliant Server. The tape is an HP MSL6000 LTO-3 device with
> autochanger and 2 drives.
>
> When an EOT is reached the tape is unloaded and a new tape loaded, the
> label is recognized correctly, but the first write receive the same 
error
> response of the exhausted tape, and also the number of blocks is the one
> of the old tape. So the job is aborted. The next job uses the newly
> mounted tape correctly, up to the new tape change and the problem
> presents  again.
> Here are the two relevant portion of logs:

Did you run the btape tests successfully?
http://www.bacula.org/rel-manual/Testing_Your_Tape_Drive.html#_ChapterStart27


Regards,
Georg



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share 
your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users




-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to