Hello,

> > /dev/hdc      /media/cdrom1   iso9660 ro,user,noauto  0       0
> >
> > to /etc/fstab
>
> Yes, my /etc/fstab looks like this! I tried manually mount and I did a
> reboot. This is not helping :(
>
> > I must admit that to-date I've run as root for DVD stuff. That's
> > something to think about once we've got the 1.39 DVD stuff working.
>
> Should I run bacula-sd as root?
>
> What else should I try to get the DVD mounted?

I am not sure whether the following fits to your problem (I did not follow 
this thread). If it doesn't help, please ignore my post:

I am using 'UDF formatted DVD-RAMs' for backup at home. So it's the 
write-files-to-disk approach rather than the write-data-part-to-media 
approach.

To mount the media automatically when bacula needs it (and umount after 
backup) I am using autofs.

That is a daemon which does the 'mount/umount' part for you (or bacula for 
that matter). It requires similar informations as in fstab. Then it listens 
on the mount point through some kernel mechanism. Whenever a program (ie 
bacula-sd) is trying to access the directory, autofs will kick in and perform 
the mount operation as per configuration. The accessing program (bacula-sd) 
is just put on hold for as long as it takes.

Once mounted autofs will keep on watching the mount point. When it is idle for 
a certain amount of time, it will just umount it.

The cool thing is that I can always change DVDs without doing anything but 
pressing the eject button on the drive (it's locked when mounted). No 
additional scripting and/or RunBefore/After jobs needed in bacula.

I can post the config if anyone is interested. Just let me know.

best regards,
Stephan





-------------------------------------------------------------------------
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