Kern, Florian, Thanks for your help!

I've learnt a lesson.. I should've inspected the media. The end of the tape has 
gone right inside itself, so it would probably just spin forever.

Thanks for your help guys. Never thought it would be a physical error.

>>> Kern Sibbald <[EMAIL PROTECTED]> 11/11/2005 13:55 >>>
On Friday 11 November 2005 13:35, Beren Gamble wrote:
> Ok, this rewind error isn't going away.
>
> I've tried changing the sleep timer to 180 in mtx-changer. No luck..

What version of Bacula are you running?
What OS version?  Specifically the kernel.  

There was a change in how the Linux kernel handles tape drives from 2.4 to 2.6. 
Bacula 1.38.0 learned how to deal with it correctly, Bacula 1.36.3 and 
lower can have this type of error.

The other thing to do is to turn on the wait_for_drive() (or whatever it is 
called) in mtx-changer, but make sure it works on your system.

>
> Connecting to Storage daemon ULTRIUM at backup2.harrow.gov.uk:9103 ...
> Sending label command for Volume "000106L2" Slot 4 ...
> 3301 Issuing autochanger "loaded drive 0" command.
> 3302 Autochanger "loaded drive 0", result: nothing loaded.
> 3304 Issuing autochanger "load slot 4, drive 0" command.
> 3305 Autochanger "load slot 4, drive 0", status is OK.
> 3912 Failed to label Volume: ERR=dev.c:405 Rewind error on /dev/st0. ERR=No
> medium found.
>
>
> Any ideas? Thanks!
>
> >>> Kern Sibbald <[EMAIL PROTECTED]> 10/11/2005 15:12 >>>
>
> On Thursday 10 November 2005 15:41, Beren Gamble wrote:
> > That didn't fix it...
> >
> > Can I make it use a different tape somehow?
>
> Yes, of course, simply use the "update volume=xxx" command and mark it Used
> or Full.
>
> I think you should run the btape "test" program, and if it doesn't ask you
> be sure to do the "auto" command too.
>
> Perhaps the list can help you more with this problem as well, since they
> are generally better than I am at these things ...
>
> > It comes up with the rewind
> > error straight after loading the tape.
> >
> > >>> Kern Sibbald <[EMAIL PROTECTED]> 10/11/2005 12:05:20 >>>
> >
> > Most likely you do not have a long enough wait in your mtx-changer
> > script, and so Bacula is attempting to access the drive before the
> > autochanger has had enough time to load the tape.
> >
> > This is described in the script and in the Autochanger chapter of the
> > manual.
> >
> > On Thursday 10 November 2005 11:56, Beren Gamble wrote:
> > > Bacula is asking for a tape which is already in the library.
> > >
> > >
> > > You have messages.
> > > *m
> > > 10-Nov 10:52 backup2-sd: 3301 Issuing autochanger "loaded drive 0"
> > > command. 10-Nov 10:52 backup2-sd: 3302 Autochanger "loaded drive 0",
> > > result is Slot 4. 10-Nov 10:52 backup2-sd:
> > > HOSTDATA-Daily.2005-11-09_21.00.10 Warning: Couldn't rewind device
> > > /dev/st0 ERR=dev.c:405 Rewind error on /dev/st0. ERR=No medium found.
> > >
> > > 10-Nov 10:52 backup2-sd: Please mount Volume "000106L2" on Storage
> > > Device "ULTRIUM" for Job HOSTDATA-Daily.2005-11-09_21.00.10
> > >
> > >
> > > *******Do you know what the Rewind error is?*******
> > >
> > >
> > > *******The media is in the tape unit, I checked with mtx-changer*******
> > >
> > > *list media
> > > Using default Catalog name=MyCatalog DB=bacula
> > > Pool: Daily
> > > +---------+------------+-----------+-----------------+----------+------
> > >-- --
> > > ----+---------+------+-----------+-----------+---------------------+
> > >
> > > | MediaId | VolumeName | VolStatus | VolBytes        | VolFiles |
> > > | VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten
> > >
> > > +---------+------------+-----------+-----------------+----------+------
> > >-- --
> > > ----+---------+------+-----------+-----------+---------------------+
> > >
> > > |       1 | 000103L2   | Full      | 420,174,337,450 |      426 |
> > > | 1,036,800 |       1 |    6 |         1 | LT02      | 2005-11-10
> > > | 06:47:18
> > > |
> > > | | 3 | 000105L2   | Full      | 414,810,710,019 |      420 |
> > > | | 1,036,800 1 |    5 |         1 | LT02      | 2005-11-09 11:32:37 |
> > > | | 4
> > > |
> > > | 000106L2   | Recycle   |               1 |        0 |    1,036,800 |
> > > |  1 |    4 |         1 | LT02      | 2005-09-23 23:43:27
> > > | |*************
> > >
> > > *******Can I make bacula use this tape or another tape so I don't have
> > > a failed backup?*******
> > >
> > >
> > >
> > >
> > > ***********************************************************************
> > >** ** ******** Mail FROM London Borough of Harrow:
> > > Unencrypted electronic mail is not secure and may not be authentic, in
> > > whole or in part. You are advised to check directly with the sender
> > > before acting upon any e-mail received.
> > >
> > > The information contained in this message and any attachments is
> > > confidential and is intended for receipt by the above named
> > > addressee(s) only. If you have otherwise encountered this message
> > > please notify its originator via +44(0)20 8863 5611 at LONDON BOROUGH
> > > OF HARROW. The unauthorised use, disclosure, copying or alteration of
> > > this message is strictly forbidden. The  views expressed within this
> > > message are those of the individual sender and not necessarily those of
> > > Harrow Council.
> > >
> > > Mail TO London Borough of Harrow:
> > > London Borough of Harrow monitors all electronic mail it receives for
> > > Policy compliance and to protect its systems including anti-spam and
> > > anti-virus measures.
> > >
> > > Electronic mail does not guarantee delivery, nor notification of
> > > non-delivery. It is suggested you contact your intended recipient(s) by
> > > other means should confirmation of receipt be important.
> > > ***********************************************************************
> > >** ** ********
> > >
> > >
> > >
> > > -------------------------------------------------------
> > > SF.Net email is sponsored by:
> > > Tame your development challenges with Apache's Geronimo App Server.
> > > Download it for free - -and be entered to win a 42" plasma tv or your
> > > very own Sony(tm)PSP.  Click here to play:
> > > http://sourceforge.net/geronimo.php >
> > > _______________________________________________ Bacula-users mailing
> > > list Bacula-users@lists.sourceforge.net 
> > > https://lists.sourceforge.net/lists/listinfo/bacula-users 

-- 
Best regards,

Kern

  (">
  /\
  V_V


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to