>I have the configuration below for an USB disk in bacula-sd.conf. The disk > gets mounted and a backup job runs properly, but the disk won't get > unmounted after the job. > > udev sets the owner of the device file as bacula: > > brw-r----- 1 bacula disk 8, 16 Apr 11 21:01 /dev/sdb > brw-r----- 1 bacula disk 8, 17 Apr 11 21:01 /dev/sdb1 > > lrwxrwxrwx 1 root root 3 Apr 11 21:01 /dev/backup-a -> sdb > lrwxrwxrwx 1 root root 4 Apr 11 21:01 /dev/backup-a1 -> sdb1 > > /etc/fstab has this line, so user 'bacula' (the device file owner) should > be able to mount and unmount it: > /dev/backup-a1 /mnt/backup-a ext3 rw,noauto,owner 0 0 > This obviously is ok, since mount works fine. But why not unmount? > > Bacula version 2.4.4, on CentOS 5.2 x86_64 > > > Device { > Name = USB-Disk-A > Device Type = File > Media Type = USB-Disk-A > Archive Device = /mnt/backup-a > LabelMedia = yes; > Random Access = yes; > AutomaticMount = yes; > RemovableMedia = yes; > AlwaysOpen = no; > # Volume Poll Interval = 15 > Requires Mount = yes > Mount Point = /mnt/backup-a > Mount Command = "/bin/mount %m" > Unmount Command = "/bin/umount %m" > } >
I still tried "lazy umount" (-l option), it didn't help: Unmount Command = "/bin/umount -l %m" I also tried running SD as root, no success either. I found a couple of similar posts from the last few months, and an old bug report #830 that was closed in July 2007 as "fixed". Looks like some old problem is back? Btw, OS version above was a typo, this is up-to-date CentOS 5.3 -- TiN ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users