Sorry brian, the boss asked me to install it under OpenSUSE 10.2 ! 
So I'm going back from zero !! 
not cool !

Thanks a lot..

PS: do anybody have a tip for the OpenSuse Bacula installation  (I speak about 
something not listed in the doc ;-) ) 

----- Message d'origine ----
De : Brian Debelius <[EMAIL PROTECTED]>
À : [EMAIL PROTECTED]
Cc : bacula-users@lists.sourceforge.net
Envoyé le : Jeudi, 29 Mars 2007, 11h22mn 24s
Objet : Re: [Bacula-users] Re : ioctl MTWEOF error (was :Windows::Permission 
denied)

I clear all my tapes prior to labeling.  use mtx-changer to load a tape then
    mt -f Tape0 rewind
    mt -f Tape0 weof
    mt -f Tape0 rewind

[EMAIL PROTECTED] wrote:
> This is what I got in the bacula console :
>
> Connecting to Director ILEMMA009:9101
> 1000 OK: ilemma009-dir Version: 2.0.3 (06 March 2007)
> Enter a period to cancel a command.
> *messages
> 29-Mar 09:11 ilemma009-dir: Start Backup JobId 31, 
> Job=Client1.2007-03-29_09.11.
> 00
> 29-Mar 09:11 ilemma009-sd: Job Client1.2007-03-29_09.11.00 waiting. 
> Cannot find
> any appendable volumes.
> Please use the "label"  command to create a new Volume for:
>     Storage:      "HPStorageTape0" (Tape0)
>     Media type:   HPUltriumTape
>     Pool:         Default
> 29-Mar 09:11 ilemma009-dir: Client1.2007-03-29_09.11.00 Error: 
> ../../lib/message
> .c:713 Operator mail program terminated in error.
> CMD="C:\Program Files\Bacula\bin\bsmtp" -h @smtp_host@ -f "(Bacula) 
> Administrato
> r" -s "Bacula: Intervention needed for Client1.2007-03-29_09.11.00" 
> Administrato
> r
> ERR=Unknown error
> *label
> Automatically selected Catalog: MyCatalog
> Using Catalog "MyCatalog"
> Automatically selected Storage: HPTape
> Connecting to Storage daemon HPTape at ILEMMA009:9103 ...
> Enter autochanger drive[0]:
> Enter new Volume name: A
> Enter slot (0 or Enter for none): 0
> Automatically selected Pool: Default
> Connecting to Storage daemon HPTape at ILEMMA009:9103 ...
> Sending label command for Volume "A" Slot 0 ...
> Invalid slot=0 defined, cannot autoload Volume.
> 3301 Issuing autochanger "loaded? drive 0" command.
> 3302 Autochanger "loaded? drive 0", result: nothing loaded.
> 3301 Issuing autochanger "loaded? drive 0" command.
> 3302 Autochanger "loaded? drive 0", result: nothing loaded.
> 3912 Failed to label Volume: ERR=../../stored/dev.c:764 Rewind error 
> on "HPStora
> geTape0" (Tape0). ERR=Unknown error.
>
> Label command failed for Volume A.
> Do not forget to mount the drive!!!
> *mount
> Automatically selected Storage: HPTape
> Enter autochanger drive[0]: 1
> Enter autochanger slot: 1
> 3301 Issuing autochanger "loaded? drive 1" command.
> 3302 Autochanger "loaded? drive 1", result: nothing loaded.
> 3304 Issuing autochanger "load slot 1, drive 1" command.
> 3305 Autochanger "load slot 1, drive 1", status is OK.
> 3301 Issuing autochanger "loaded? drive 1" command.
> 3302 Autochanger "loaded? drive 1", result: nothing loaded.
> 3901 open device failed: ERR=../../stored/dev.c:425 Unable to open 
> device "HPSto
> rageTape1" (Tape1): ERR=No such file or directory
>
> *mount
> Automatically selected Storage: HPTape
> Enter autochanger drive[0]:
> Enter autochanger slot: 1
> 3001 OK mount. Device="HPStorageTape0" (Tape0)
> *label
> Automatically selected Storage: HPTape
> Enter autochanger drive[0]:
> Enter new Volume name: A
> Enter slot (0 or Enter for none): 1
> Automatically selected Pool: Default
> Connecting to Storage daemon HPTape at ILEMMA009:9103 ...
> Sending label command for Volume "A" Slot 1 ...
> 3301 Issuing autochanger "loaded? drive 0" command.
> 3302 Autochanger "loaded? drive 0", result: nothing loaded.
> 3304 Issuing autochanger "load slot 1, drive 0" command.
> 3305 Autochanger "load slot 1, drive 0", status is OK.
> 3301 Issuing autochanger "loaded? drive 0" command.
> 3302 Autochanger "loaded? drive 0", result is Slot 1.
> 3920 Cannot label Volume because it is already labeled: "TestVolume1"
> Label command failed for Volume A.
> Do not forget to mount the drive!!!
> You have messages.
> *messages
> 29-Mar 09:13 ilemma009-sd: Job Client1.2007-03-29_09.11.00 waiting. 
> Cannot find
> any appendable volumes.
> Please use the "label"  command to create a new Volume for:
>     Storage:      "HPStorageTape0" (Tape0)
>     Media type:   HPUltriumTape
>     Pool:         Default
> 29-Mar 09:13 ilemma009-dir: Client1.2007-03-29_09.11.00 Error: 
> ../../lib/message
> .c:713 Operator mail program terminated in error.
> CMD="C:\Program Files\Bacula\bin\bsmtp" -h @smtp_host@ -f "(Bacula) 
> Administrato
> r" -s "Bacula: Intervention needed for Client1.2007-03-29_09.11.00" 
> Administrato
> r
> ERR=Unknown error
> *label
> Automatically selected Storage: HPTape
> Enter autochanger drive[0]:
> Enter new Volume name: HPStorageTape0
> Enter slot (0 or Enter for none): 1
> Automatically selected Pool: Default
> Connecting to Storage daemon HPTape at ILEMMA009:9103 ...
> Sending label command for Volume "HPStorageTape0" Slot 1 ...
> 3301 Issuing autochanger "loaded? drive 0" command.
> 3302 Autochanger "loaded? drive 0", result is Slot 1.
> 3301 Issuing autochanger "loaded? drive 0" command.
> 3302 Autochanger "loaded? drive 0", result is Slot 1.
> 3920 Cannot label Volume because it is already labeled: "TestVolume1"
> Label command failed for Volume HPStorageTape0.
> Do not forget to mount the drive!!!
> *messages
> You have no messages.
> *
>
>
> I don't understand what he needs !
>
> because I have this in the director always when launching a job : (it 
> doesn't change for a long time !)
>
> Running Jobs:
> Writing: Full Backup job Client1 JobId=31 Volume=""
>     pool="Default" device=""HPStorageTape0" (Tape0)"
>     spooling=0 despooling=0 despool_wait=0
>     Files=0 Bytes=0 Bytes/sec=0
>     FDReadSeqNo=6 in_msg=6 out_msg=4 fd=784
> ====
>
>
>
> ----- Message d'origine ----
> De : Kern Sibbald <[EMAIL PROTECTED]>
> À : bacula-users@lists.sourceforge.net
> Envoyé le : Mercredi, 28 Mars 2007, 14h01mn 29s
> Objet : Re: [Bacula-users] ioctl MTWEOF error (was 
> :Windows::Permission denied)
>
> On Wednesday 28 March 2007 15:28, Brian Debelius wrote:
> > So does the statement from btape 'The last block of the first tape
> > matches.' tell us that everything is ok even though the we received the
> > error?
>
> Yes, I should have mentioned, that as far as I can see from the write 
> part and
> the seek/read back part, it worked.
>
> That said, as I mentioned, I believe that the WEOF error is indication 
> of a
> bad driver (or Bacula not understanding Win32 error codes, or a real
> problem), and I wouldn't run my tape drives that way.  
>
> >
> > 6-Mar 18:39 btape: Ready to read from volume "TestVolume1" on device
> > "HPStorage
> > Tape0" (Tape0).
> > Rewinding.
> > Reading the first 10000 records from 0:0.
> > 10000 records read now at 1:5084
> > Reposition from 1:5084 to 148:13127
> > Reading block 13127.
> >
> > The last block of the first tape matches.
> >
> > Kern Sibbald wrote:
> > > On Wednesday 28 March 2007 12:57, Brian Debelius wrote:
> > >  
> > >> A workaround, which I do because i have not figured out how to 
> correct
> > >> this, is to just make sure your backups do not fill the tape.
> > >>    
> > >
> > > First, these problems are not normally fatal, but I wouldn't run 
> my tape
> drive
> > > like that.
> > >
> > > Excluding tape/drive errors which produce similar problems, the most
> frequent
> > > causes of this are:
> > >
> > > 1. Old tape drives that don't have a logical end of tape marker 
> (this is
> not
> > > likely to be the case except in drives manufactured more than 10 
> years
> ago).
> > >
> > > 2. Poor tape driver implementation.  This is the most common 
> cause. Tape
> > > driver writers often don't really know what they are doing.  The 
> driver
> must
> > > read the logical end of tape (this occurs before the physical end 
> of the
> > > tape) and must signal it to the program.  In the Unix world most 
> off brand
> > > OSes do not signal the end of the tape. I won't mention their 
> names other
> > > than to say that Solaris, Linux, and I think FreeBSD, do so 
> correctly.  
> > > Correctly signaling a logical end of tape means sending back a error
> status
> > > to the write with an errno == ENOSPC then allowing the program to 
> continue
> > > writing until the hardware end of tape.
> > >
> > > Alternatively, the OS can signal with an error status and errno == 
> EIO and
> > > continue to allow the program to write until the physical end of 
> the tape.  
> > > This is *much* less correct since Bacula does not know if it is a 
> real
> error
> > > condition or an end of tape.  However, aside from the worrysome error
> > > messages, the results are the same -- i.e. OK.
> > >
> > > The worst case is the OS signals an error status (errno = EIO) and 
> does
> not
> > > allow the program to write to the physical end of the tape.  This 
> is a bad
> > > situation, but Bacula should handle it. At least the data can be
> recovered --
> > > in most cases.  The problem is when the WEOF fails, one cannot be 
> sure
> > > whether or not the tape is properly terminated, and there is a 
> chance that
> > > some restore operation may read off the end of the tape.
> > >
> > > 3. Since I think we are talking about Win32, it is possible that 
> the low
> level
> > > system calls (via mscrt.dll or whatever the name of the Microsoft
> > > compatibility layer we use) is not well written to return
> reasonable/correct
> > > statuses.  This would be equivalent to poorly written Unix OS 
> drivers I
> > > mentioned above.
> > >
> > >  
> > >> brian-
> > >>
> > >> [EMAIL PROTECTED] wrote:
> > >>    
> > >>> Can any one help us fix this problem ? (details below)
> > >>>
> > >>> Thank you
> > >>>
> > >>> Nawfel BERAICH
> > >>> Casablanca 9h30 AM
> > >>>
> > >>> ----- Message d'origine ----
> > >>> De : Brian Debelius <[EMAIL PROTECTED]>
> > >>> À : [EMAIL PROTECTED]
> > >>> Cc : bacula-users@lists.sourceforge.net
> > >>> Envoyé le : Mardi, 27 Mars 2007, 14h15mn 51s
> > >>> Objet : Re : [Bacula-users] Re : Windows::Permission denied
> > >>>
> > >>> You are not to the point to start backing up files yet.  This 
> needs to
> > >>> be fixed first.
> > >>>
> > >>>
> > >>> [EMAIL PROTECTED] wrote:
> > >>>      
> > >>>> Is it that blocking ? I think that with this kind of error bacula
> > >>>>        
> > >>> will start the Job and fail while trying to finish it (because 
> it's an
> > >>> I/O error) but my bacula dont start writing the jobs ! it always 
> say
> > >>> that there is an error and stop without spending any time in 
> writing
> > >>> files... :-( !
> > >>>      
> > >>>> Thank you so much Brian for you precious help !
> > >>>>
> > >>>> ----- Message d'origine ----
> > >>>> De : Brian Debelius <[EMAIL PROTECTED]>
> > >>>> À : [EMAIL PROTECTED]
> > >>>> Cc : bacula-users@lists.sourceforge.net
> > >>>> Envoyé le : Mardi, 27 Mars 2007, 13h25mn 14s
> > >>>> Objet : Re: Re : Re : Re : Re : [Bacula-users] Re :
> > >>>>        
> > >>> Windows::Permission denied
> > >>>      
> > >>>> Ok, you are now beyond my experience.  Can someone help with 
> fixing his
> > >>>> EOF error?
> > >>>>
> > >>>> 26-Mar 18:35 btape: End of Volume "TestVolume1" at 148:13128 on 
> device
> > >>>> "HPStorag
> > >>>> eTape0" (Tape0). Write of 64512 bytes got -1.
> > >>>> 26-Mar 18:35 btape: btape Error: Error writing final EOF to 
> tape. This
> > >>>> Volume ma
> > >>>> y not be readable.
> > >>>> ../../stored/dev.c:1688 ioctl MTWEOF error on "HPStorageTape0" 
> (Tape0).
> > >>>> ERR=Inpu
> > >>>> t/output error.
> > >>>>
> > >>>> brian-
> > >>>>
> > >>>>        
> > >> 
> -------------------------------------------------------------------------
> > >> 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 
> <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 
> <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 
> <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
>
>
> ------------------------------------------------------------------------
> Découvrez une nouvelle façon d'obtenir des réponses à toutes vos 
> questions ! Profitez des connaissances, des opinions et des 
> expériences des internautes sur Yahoo! Questions/Réponses 
> <http://fr.rd.yahoo.com/evt=42054/*http://fr.answers.yahoo.com>.
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> 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
>   








        

        
                
___________________________________________________________________________ 
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! 
Profitez des connaissances, des opinions et des expériences des internautes sur 
Yahoo! Questions/Réponses 
http://fr.answers.yahoo.com
-------------------------------------------------------------------------
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