It seems to come from here: src/dird/catreq.c:266

      if (!db_get_media_record(jcr, jcr->db, &mr)) {
         Jmsg(jcr, M_ERROR, 0, _("Unable to get Media record for Volume
%s: ERR=%s\n"),
              mr.VolumeName, db_strerror(jcr->db));
         bnet_fsend(bs, _("1991 Catalog Request for vol=%s failed: %s"),
            mr.VolumeName, db_strerror(jcr->db));
         db_unlock(jcr->db);
         return;
      }

But i am not that into it that i could find out what causes or fixes the
error.

> :-(
>
> Has anyone an idea?
>
> 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.
>> 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

Reply via email to