-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Kern Sibbald wrote:
> On Sunday 10 September 2006 13:58, Michel Meyers wrote:
>> Kern Sibbald wrote:
>>> On Saturday 09 September 2006 20:31, Michel Meyers wrote:
>>>> Hello again,
>>>>
>>>> While I'm annoying the list with my DVD writing issues, I just noticed
> this:
>>>> # ./dvd-handler /dev/hdd free
>>>> 4689526784
>>>>
>>>> Yet Bacula states:
>>>> 09-Sep 20:26 shodan-sd: End of Volume "DVD-003" at 0:491323391 on device
>>>> "DVD-Writer" (/dev/hdd). Write of 64512 bytes got 16384.
[...]
>> OK, I'll try again with spooling off.
>
> Yes, I have never tried running DVD writing with spooling turned on.  It will
> amost surely screw things up.  In your case, having one giant file (part 2)
> means that something is broken because you set the maximum part size at 800M.
>
> I recommend the following:
> 1. Make sure spooling is not turned on in the bacula-dir.conf file.
 > 2. You can leave the Spooling Directory directive in the Device
resource in
 > the SD as DVD writing does automatic spooling.  If you remove that
directive,
 > it will use your working directory for spooling.

Done now

> 3. Make sure our patch is really in your dvd+rw-tools as there seems to be
> something strange with the freespace routine, which is exactly what the patch
> provides.

It is, my growisofs reports:
# growisofs -version
* growisofs by <[EMAIL PROTECTED]>, version 6.1.1,
   front-ending to mkisofs: mkisofs 2.01.01a03-unofficial-iconv
(i686-pc-linux-gnu)

Nicolas' patch contains:
      printf ("* %.*sgrowisofs by <[EMAIL PROTECTED]>,"\
- -           " version 6.1,\n",(int)(s-(cmd)),(cmd));    \
+           " version 6.1.1,\n",(

So 6.1.1 is the patched version. It also reported the free space
correctly before, only Bacula stopped writting after about 490MB for
some reason (looked like it got a short write and concluded the medium
was full).

> 4. Make sure you have a "Device Type = DVD" in your Device resource (I forgot
> to check).

That one was missing (I had "Media Type = DVD" but not "Device Type"), I
added it now.

> 5. Pull the current CVS or apply the patch that Richard sent this afternoon.

Done.

Here comes the backup...

10-Sep 15:02 shodan-dir: Start Backup JobId 3,
Job=shodan.2006-09-10_15.02.48
*m
10-Sep 15:02 shodan-sd: Volume "DVD-007" previously written, moving to
end of data.
10-Sep 15:02 shodan-sd: Ready to append to end of Volume "DVD-007"
part=2 size=5508717
10-Sep 15:13 shodan-sd: Part 2 (838809989 bytes) written to DVD.
10-Sep 15:13 shodan-sd: Remaining free space 3,850,338,304 on
"DVD-Writer" (/dev/hdd)


So either changing the device type or, more likely, switching of
spooling or the patch, fixed the problem with the DVD running full too
early.

I'll do some more testing when I have the time (especially with DVD-005
that won't let itself get relabelled).

Greetings,
      Michel
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32) - GPGrelay v0.959

iD8DBQFFBBCX2Vs+MkscAyURAga7AKDhtDwN6Nys+G2/ZDdCQ/Rq3oEm6wCgrkIF
AYC4hywA2F+sxciBoUlWj4c=
=F5aN
-----END PGP SIGNATURE-----

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to