Hi,

05.09.2007 18:43,, Wes Hardaker wrote::
>>>>>> "AL" == Arno Lehmann <[EMAIL PROTECTED]> writes:
> 
> [Arno: sorry...  you're going to get multiple copies of this as I messed
> up my from address that the list expects me to use]

No problem...

> [This message is actually about an old thread I started a while back
> regarding DVDs not being written properly, probably due to small writes;
> Arno Lehmann kindly responded with good advice]
> 
> WH> I have it working with DVDs and the situation in question as I can
> WH> tell went like this:
> WH> - it was backing up the main system.
> WH> - I believe it tried to store the information in: BaculaDVD0009.8.
> WH> - However, the disc doesn't actually contain that part, but the log
> WH> shows success:
> WH> 
> WH> 12-Jun 23:05 machine-sd: Ready to append to end of Volume "BaculaDVD0009" 
> part=8 size=3040970041
> WH> 12-Jun 23:05 machine-sd: Job write elapsed time = 00:00:04, Transfer rate 
> = 57.92 K bytes/second
> WH> 12-Jun 23:05 machine-sd: Part 8 (233000 bytes) written to DVD.
> 
> AL> It might be that the part file in question still is in your temporary 
> AL> storage directory. Do you have "Write Part After Job" set in the job 
> AL> definition?
> 
> I have, in the end implemented Arno's solution which is to set Write
> Part After Job on only the catalog backup that gets executed after
> everything else.
> 
> However, in all of this I had 2 disks (out of 11) that failed in the way
> indicated: bacula says to mount the disk but it indeed was mounted but
> bacula didn't know that because the last part was missing from the
> disk.  (I "fixed" these by marking them as Full, and bacula then
> proceeded to desire a new volume).
> 
> So my remaining questions are that I can't find documentation for:

I haven't used DV writing for a long time, so I'm not sure about these 
questions, but anyway...

> 1) is the disk with the missing part actually missing data (I assume
>    so)?

It probably will, yes.

> 2) is the part that was supposed to be written to an older volume (say
>    #8 in a pool) but couldn't be written to the new next volume (#9)
>    instead or is that part "lost" as well?

I think it will be lost, but you can try to check. As far as I know, 
Bacula does not rename the part files it writes to DVD, so, if a part 
from volume 8 is written to disk 9, there should be a file with a name 
belonging to volume 8 on that disk.

> 3) How do I verify that the contents of a DVD match what bacula expects
>    there to be on the disk.  I haven't seen a archive verification
>    option anywhere?

Hmmm... a "Volume to Catalog" verify job could help, but there seem to 
be problems there. I'd try bls on the disks and see what that reports.

> 4) assuming that some of the archives are bad, what's the best way to
>    fix the issue?  Can I mark the volume as "Error" and will bacula
>    automatically re-archive the files that were in that volume again on
>    the next run through the various backup schedules?  (the brunt of the
>    question is really: do files get re-backed up automatically when a
>    volume is marked in error, or does something else need to be done).

That won't work. It will be best to check which jobs have their data 
on the disks in question (using the 'query' command) and manually 
re-run any jobs you need.

> 5) Should I give up and buy a tape drive (ha ha; sigh)

Seriously, in my opinion that would be the best thing to do... even 
using a used DLT or LTO drive will probably be more reliable than DVD 
backup, and tape backups, in my experience, require much less 
administration than DVD ones, so the extra money you spend will result 
in less time to operate Bacula in the future.

Arno

-- 
Arno Lehmann
IT-Service Lehmann
www.its-lehmann.de

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to