i've 7.1 version of dvd+rw tools this is the command that i use
root@chimera:~# python /etc/bacula/scripts/dvd-handler /dev/scd0 prepare Running dd if=/dev/zero bs=1024 count=512 | growisofs -use-the-force-luke=notray -quiet -use-the-force-luke=4gms -Z /dev/scd0=/dev/fd/0 Executing 'builtin_dd if=/dev/fd/0 of=/dev/scd0 obs=32k seek=0' 512+0 records in 512+0 records out 524288 bytes (524 kB) copied, 2,68157 s, 196 kB/s /dev/scd0: restarting DVD+RW format... /dev/scd0: "Current Write Speed" is 4.1x1352KBps. /dev/scd0: flushing cache /dev/scd0: stopping de-icing /dev/scd0: writing lead-out
Medium prepared successfully. root@chimera:~# bconsole Connecting to Director 192.168.1.3:9101 1000 OK: chimera-dir Version: 2.2.8 (26 January 2008) Enter a period to cancel a command. *mount Automatically selected Catalog: MyCatalog Using Catalog "MyCatalog" The defined Storage resources are: 1: File 2: DVDdrive 3: DVD-GALADRIEL Select Storage resource (1-3): 2 3907 Device "DVD Writer" (/dev/scd0) cannot be mounted. ERR=Child exited with code 1 *run A job name must be specified. The defined Job resources are: 1: Galadriel 2: Arwen 3: Vellerofonte-Win 4: Chimera 5: EssentialDVD 6: AllCompressedDVD 7: BackupCatalog 8: RestoreFiles Select Job resource (1-8): 5 Run Backup job JobName: EssentialDVD Level: Full Client: galadriel-fd FileSet: Essential Pool: DVD (From Job resource) Storage: DVDdrive (From Job resource) When: 2008-08-26 10:13:07 Priority: 10 OK to run? (yes/mod/no): yes Job queued. JobId=149 * 26-Aug 10:13 chimera-dir JobId 149: Start Backup JobId 149, Job=EssentialDVD.2008-08-26_10.13.11 26-Aug 10:13 chimera-dir JobId 149: Created new Volume "DVD2008-08-26-2" in catalog. 26-Aug 10:13 chimera-dir JobId 149: Using Device "DVDWriter" 26-Aug 10:13 chimera-sd JobId 149: Volume "DVD2008-08-26-2" previously written, moving to end of data. 26-Aug 10:13 chimera-sd JobId 149: Error: Bacula cannot write on DVD Volume "DVD2008-08-26-2" because: The sizes do not match! Volume=1349990 Catalog=0 26-Aug 10:13 chimera-sd JobId 149: Marking Volume "DVD2008-08-26-2" in Error in Catalog. 26-Aug 10:13 chimera-dir JobId 149: Created new Volume "DVD2008-08-26-3" in catalog. 26-Aug 10:13 chimera-sd JobId 149: Please mount Volume "DVD2008-08-26-3" or label a new one for: Job: EssentialDVD.2008-08-26_10.13.11 Storage: "DVD Writer" (/dev/scd0) Pool: DVD Media type: DVD
|