Bacula-users

[Bacula-users] Fwd: Don't work automount for hdd partition

2010-03-17 06:57:48
Subject: [Bacula-users] Fwd: Don't work automount for hdd partition
From: Ivan Goncharov <goncharov.ivan.v AT gmail DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Wed, 17 Mar 2010 12:54:51 +0200
15 марта 2010 г. 17:44 пользователь Beck J Mr <james.beck AT shunsley.eril DOT net> написал:

Ivan,
 
You don't need anything in fstab for this to work; get rid of that line if you don't need it for anything else.
 
You need to tell the mount command which disk volume to mount. I think bacula.conf should read:
 
Mount Command = "/bin/mount /dev/disk/by-uuid/44a05141-9107-4288-bc71-1ccdaa04d0b1 %m"

Unmount Command = "/bin/umount %m"
 
If anybody has a better way of doing this, please feel free to correct me :)
 
James


Hello, James

Thanks for answer
I change Mount command as U was sad, but it do not work.
In /var/log/bacula/log I see next:
16-Mar 23:05 vanuch-sd JobId 80: Please mount Volume "Volumes0007" or label a new one for:
    Job:          Client1.2010-03-16_23.05.00.03
    Storage:      "FileStorage" (/backup)
    Pool:         Default
    Media type:   File
17-Mar 00:05 vanuch-sd JobId 80: Please mount Volume "Volumes0007" or label a new one for:
    Job:          Client1.2010-03-16_23.05.00.03
    Storage:      "FileStorage" (/backup)
    Pool:         Default
    Media type:   File

an in mount -l absent mount point /backup 
Bacula can not mount it.

I think - maybe user bacula can not permissions for run this command and add to sudoers next:
bacula ALL = NOPASSWD: /bin/mount,/bin/umount
bat this do not help me.

Do you have some others ideas?


--
Feci, quod potui, faciant meliora potentes
я сделал всё  что мог, кто может, пусть сделает лучше



--
Feci, quod potui, faciant meliora potentes
я сделал всё  что мог, кто может, пусть сделает лучше
------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
<Prev in Thread] Current Thread [Next in Thread>