[EMAIL PROTECTED] schrieb:

> Hi !
>
> I'm unable to label my DVD. (bacula 1.38.5)
>
> Here is what I do :
>
> homer bacula # bconsole
>
> Connecting to Director homer:9101
>
> 1000 OK: homer-dir Version: 1.38.5 (18 January 2006)
>
> Enter a period to cancel a command.
>
> *label
>
> Using default Catalog name=MyCatalog DB=bacula
>
> The defined Storage resources are:
>
> 1: File
>
> 2: DVD
>
> Select Storage resource (1-2): 2
>
> Enter new Volume name: DVD-FULL-0001
>
> Automatically selected Pool: Default
>
> Connecting to Storage daemon DVD at homer:9103 ...
>
> Sending label command for Volume "DVD-FULL-0001" Slot 0 ...
>
> 3910 Unable to open device "DVD-Writer" (/dev/hda): ERR=There is no
> valid media in the device "DVD-Writer" (/dev/hda).
>
> Label command failed for Volume DVD-FULL-0001.
>
> Do not forget to mount the drive!!!
>
> *q
>
> However, if I run the "mediainfo" command, I have good results :
>
> homer bacula # "/usr/bin/dvd+rw-mediainfo" /dev/hda
>
> INQUIRY: [LITE-ON ][DVDRW SOHW-1673S][JS02]
>
> GET [CURRENT] CONFIGURATION:
>
> Mounted Media: 1Bh, DVD+R
>
> Media ID: RICOHJPN/R00
>
> Current Write Speed: 2.4x1385=3324KB/s
>
> Write Speed #0: 2.0x1385=2770KB/s
>
> GET [CURRENT] PERFORMANCE:
>
> Write Performance: 2.4x1385=3324KB/[EMAIL PROTECTED] -> 0]
>
> Speed Descriptor#0: 00/0 [EMAIL PROTECTED]/s [EMAIL PROTECTED]/s
>
> READ DVD STRUCTURE[#0h]:
>
> Media Book Type: A1h, DVD+R book [revision 1]
>
> Legacy lead-out at: 2295104*2KB=4700372992
>
> READ DISC INFORMATION:
>
> Disc status: blank
>
> Number of Sessions: 1
>
> State of Last Session: empty
>
> Number of Tracks: 1
>
> READ TRACK INFORMATION[#1]:
>
> Track State: blank
>
> Track Start Address: 0*2KB
>
> Next Writable Address: 0*2KB
>
> Free Blocks: 2295104*2KB
>
> Track Size: 2295104*2KB
>
> ROM Compatibility LBA: 262144
>
> READ CAPACITY: 1*2048=2048
>
> The logs are showing strange things :
>
> homer bacula # tail /var/log/messages
>
> Mar 12 18:41:37 homer isofs_fill_super: bread failed, dev=hda,
> iso_blknum=16, block=16
>
> Mar 12 18:41:38 homer attempt to access beyond end of device
>
> Mar 12 18:41:38 homer hda: rw=0, want=68, limit=4
>
> Mar 12 18:41:38 homer isofs_fill_super: bread failed, dev=hda,
> iso_blknum=16, block=16
>
> Mar 12 18:41:38 homer attempt to access beyond end of device
>
> Mar 12 18:41:38 homer hda: rw=0, want=68, limit=4
>
> Mar 12 18:41:38 homer isofs_fill_super: bread failed, dev=hda,
> iso_blknum=16, block=16
>
> Mar 12 18:41:40 homer attempt to access beyond end of device
>
> Mar 12 18:41:40 homer hda: rw=0, want=68, limit=4
>
> Mar 12 18:41:40 homer isofs_fill_super: bread failed, dev=hda,
> iso_blknum=16, block=16
>
> homer bacula #
>
> So, I tried to burn a DVD with growisofs, and it worked :
>
> homer bacula # growisofs -Z /dev/dvd -R -J
> /mnt/files/celine/Documents.tar.gz
>
> Executing 'mkisofs -R -J /mnt/files/celine/Documents.tar.gz |
> builtin_dd of=/dev/dvd obs=32k seek=0'
>
> /dev/dvd: "Current Write Speed" is 2.5x1385KBps.
>
> 1.09% done, estimate finish Sun Mar 12 19:38:02 2006
>
> 2.17% done, estimate finish Sun Mar 12 19:21:55 2006
>
> 3.25% done, estimate finish Sun Mar 12 19:16:03 2006
>
> ......
>
> 98.67% done, estimate finish Sun Mar 12 19:04:48 2006
>
> 99.76% done, estimate finish Sun Mar 12 19:04:47 2006
>
> Total translation table size: 0
>
> Total rockridge attributes bytes: 257
>
> Total directory bytes: 0
>
> Path table size(bytes): 10
>
> Max brk space used 21000
>
> 461128 extents written (900 MB)
>
> builtin_dd: 461136*2KB out @ average 2.2x1385KBps
>
> /dev/dvd: flushing cache
>
> /dev/dvd: closing track
>
> /dev/dvd: closing session
>
> homer bacula #
>
> What could be my problem ?
>
> Regards,
>
hello,

i am not sure if it helps, but check the following:

1. make sure your spool-dir exists and is writeable, we got into trouble
because we had spool below /tmp which was cleared regulary
2. make sure you use the ide-scsi emulation layer for your dvd as there
are problems with iso9660 sessions beyond the 2G layer
3. we needed to uncomment the -notray option in dvd-handler when using
ide-scsi layer

i hope this helps.

cheers ,

Sebastian Hültenschmidt






-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to