Hi, > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf > Of Mario Ohnewald > Sent: 12 December 2006 09:49 > To: mario > Cc: bacula-users@lists.sourceforge.net > Subject: Re: [Bacula-users] ERR=There is no valid media in > the device "DVD-Writer" > > :-( > > Has anyone an idea?
Give us a chance! Your last message was only 16 hours ago. Anyway I had started looking at this last night so here are some thoughts. > > Thanks, Mario > > > > > Richard Mortimer wrote: > >> On Sat, 2006-12-09 at 12:40 +0100, Kern Sibbald wrote: > >> > >>>> If a DVD is full, it mails me that i need to insert e > new one, but it > >>>> does not carry on writing to it. Is there a way to let > bacula try to > >>>> write to a new medium every 6h or so? Or maybe bacula can check > >>>> silently > >>>> if a new media is in the drive? > >>>> > >>>> > >>> There is a Poll feature, but I don't recommend it. I > think (I don't > >>> burn DVDs > >>> here so I am not 100% sure) that the proper solution is > for you to do a > >>> "mount" command in bconsole after inserting the blank > DVD. This is the > >>> same > >>> procedure that you would follow after mounting a new tape. > >>> > >> > >> As one who does burn DVDs I can confirm the following: > >> > >> a) for a blank DVD mount will only work if you have > automatic labelling > >> turned on. > >> > >> b) if automatic labelling is turned off then you have to > manually issue > >> label and the end of the label does a mount. This causes > bacula to pick > >> up the new volume and restart its writing. > >> > >> c) if you have a pre-labelled volume then mount will do the trick. > >> > >> Note if you are feeling really adventurous then you might > be able to > >> hook into the appropriate hotplugging framework and get > that to do a > >> bconsole mount for you. Note that I've never tried this so > I don't know > >> if it will really work. > > I have now turned Autolabeling on. And i run into another > error i can“t > > figure it out: > > > > 11-Dec 18:43 linux-dir: No prior Full backup Job record found. > > 11-Dec 18:43 linux-dir: No prior or suitable Full backup found in > > catalog. Doing FULL backup. > > 11-Dec 18:43 linux-dir: Start Backup JobId 3, > > Job=Client1.2006-12-11_18.43.47 > > *messages > > 11-Dec 18:43 linux-dir: Created new Volume "File-0001" in catalog. > > *messages > > 11-Dec 18:43 linux-sd: Marking Volume "info" in Error in Catalog. For some reason your sd has decided that it is playing with volume name "info". The line above is where it is telling the director that the volume is in error and then SD reports a fatal error which ends up aborting the whole job. The interesting thing is why SD decided that it was using "info". I don't know enough about the internals of volume selection etc. to work that out. Some ideas though... Did you ever create a volume named "info"? Have you wiped your bacula database since then and started again? The other standard question is are you running the same versions of director, sd and fd or are they different ones? > > 11-Dec 18:43 linux-dir: Client1.2006-12-11_18.43.47 Error: > Unable to get > > Media record for Volume info: ERR=sql_get.c:950 Media > record for Volume > > "info" not found. > > > > 11-Dec 18:43 linux-sd: Client1.2006-12-11_18.43.47 Fatal > error: Error > > getting Volume info: 1991 Catalog Request for vol=info failed: > > sql_get.c:950 Media record for Volume "info" not found. > > 11-Dec 18:43 linux-sd: Client1.2006-12-11_18.43.47 Fatal > error: Job 3 > > canceled. > > 11-Dec 18:43 linux-fd: Client1.2006-12-11_18.43.47 Fatal error: > > job.c:1751 Bad response to Append Data command. Wanted 3000 OK data > > , got 3903 Error append data > > > > > > > > Any idea whats going wrong here? Where does it take ther > "info" from? ------------------------------------------------------------------------- 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