]> git.sur5r.net Git - bacula/bacula/blob - bacula/examples/Write-DVD-with-UDF.txt
Tweak ChangeLog and ReleaseNotes for last backport from Enterprise
[bacula/bacula] / bacula / examples / Write-DVD-with-UDF.txt
1 From stephan.ebelt@net-linx.com Fri Apr  7 21:01:24 2006
2 From: Stephan Ebelt <stephan.ebelt@net-linx.com>
3 Subject: [Bacula-devel] DVD + packet writing + UDF
4
5 Hello,
6
7 is anyone using this approach in production?
8
9 I do for about a week now. And it appears to be easier to setup and is,
10 in fact, quite media independent. (I actually gave up on trying the
11 growisofs/dvd-handler method - bacula constantly rejected most of my
12 media...)
13
14 Here is how it works for me (all done with bacula 1.38.5 on FC4 with the
15 udftools package installed):
16
17 1. load udf file system support (modprobe udf)
18
19 2. create a packet writing device on top of the dvd drive (pktsetup
20    dvd-writer /dev/hdc)
21
22 3. format a blank media with UDF file system (mkudffs --media-type=dvd
23    /dev/pktcdvd/dvd-writer), I tried with DVD-RAM, DVD+RW and CD-RW
24    media. All appear to work fine - at different speeds of course.
25
26 4. mount the freshly formatted media (mount -t udf
27    /dev/pktcdvd/dvd-writer /mnt/dvd-writer -o noatime). Note that
28    'noatime' makes the media living longer.
29
30 5. configure the SD as it would write to hard disk:
31
32     Device {
33       Name       = DVD-Writer
34       Media Type = DVD
35
36       ArchiveDevice  = /mnt/dvd-writer
37
38       LabelMedia     = no      # I want only one Volume per DVD
39       AutomaticMount = yes
40       RemovableMedia = yes
41       AlwaysOpen     = no
42     }
43
44 Now the whole thing can be automated further: steps 1, 2 and 5 are
45 one-time system setup.
46
47 Step 3 would require some logic to determine whether a media really is
48 blank. I guess something the like is already in dvd-handler?.
49
50 Step 4 should be automatic with 1.39.5+ (with the RequiresMount,
51 MountPoint, MountCommand... etc... options being more general). I havn't
52 tried this yet.
53
54 I do not know how stable this is yet. I am a bit concerned because I
55 read in a older mail (from Nicolas Boichat, end of 2004) that he
56 considered packet-writing/UDF as not reliable enough at that time.
57
58 However, the few restores I tried were all successful. Also I can read
59 the DVDs on at least one other computer. Maybe the UDF and pkcdvd code
60 matured in the meantime? I'll leave it running here and keep on testing...
61
62 best regards,
63 Stephan
64
65
66
67 -------------------------------------------------------
68 This SF.Net email is sponsored by xPML, a groundbreaking scripting language
69 that extends applications into web and mobile media. Attend the live webcast
70 and join the prime developer group breaking into this new coding territory!
71 http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
72 _______________________________________________
73 Bacula-devel mailing list
74 Bacula-devel@lists.sourceforge.net
75 https://lists.sourceforge.net/lists/listinfo/bacula-devel