Hi, I have DVD's working almost well in my setup. The problem is that I can not reuse a DVD volume because bacula mounts the DVD (to ensure that it is the right dvd to write to?) before writing, and it does not umount it again before the actual writing. My device is unable to write if it is mounted, it complains with these messages: Error trying to open /dev/hdc exclusively ... retrying in 1 second. Error trying to open /dev/hdc exclusively ... retrying in 1 second. Error trying to open /dev/hdc exclusively ... retrying in 1 second. Error trying to open /dev/hdc exclusively ... retrying in 1 second. [...]
And the writing finally fails. This way, I can only do one backup per DVD volume, which is a strong limitation. I added this line to the beginning of the write() method in the dvd-handler to fix this situation: os.system("sudo /bin/umount /dev/hdc") And now it appends data to existing DVD volumes just nice. I imagine that this is not the best place to put this command (besides it's an ugly hack that only works at this machine), but it solves the problem a lets us use bacula with complete functionality in production for DVD's also. May I enter a bug in the tracking system for this issue? Thanks. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users