Hi Robert!

On Fri, Mar 24, 2006 at 08:10:30AM +0100, Robert Einsle wrote:

> first, mercy for your response and your hints.

     Since, I believe that (mercy) means THANKS, you're very welcome!  :-D

> My first Problem is, how to automatically mount this Harddisks to my 
> Server, but hald is here an good Idea. I must look for an good Howto for it.

     I didn't find a tremendous amount of documentation on HAL.  One of
the best I did find is at this URL:

http://people.redhat.com/davidz/hal/0.4/hal-spec.html

     Particularly note the 'hal-device-manager' -- something you can run.
It's mentioned on page 8 of the above specification.

     Here is the first thing I absolutely had to do to set up what I have
successfully set up:  identify exactly a couple of strings (I chose the
vendor and model) which are reported by my USB hard drives, when they are
powered on.

     I had been using 'lsusb -v' and this did NOT give me the strings in
the exact way they were reported.  But 'hal-device-manager' does.

     If you do want to set this up, one of the things you have to do is see
exactly what your USB disk(s) is/are reporting.

     We can help you know what to do next, but you'll have to see exactly
what your device reports.

     I then created a directory (/etc/hal/fdi/95userpolicy) and created
two XML files (ending with .fdi) in that directory, which provided the hal
daemon with what it needed to identify the drive, and the name of the
directory to create in /media.

> The Another Problem is, there are only buerau staff, so the solution 
> must be simple to use. I dont want someone to dismount the Harddisks. 
> The solution must be fully automatically.

     The way I do it is simple to use.  I power on either my SimpleTech
USB hard drive (for Saturday morning) or my Western Digital USB hard
drive (for Tuesday morning).  The hald identifies the disk, creates the
directory /media/simpletech (for the SimpleTech drive) or /media/wd (for
the Western Digital drive), and things are ready.

     There is absolutely nothing I need to do besides assure the USB drive
is powered on before they're needed.

     Now, I do typically unmount the drive, by right-clicking the icon
which appears on my GNOME desktop, and choosing "Unmount Volume".  This
unmounts the drive; it no longer appears in "mount" output.  The directory
is still there.  (If I do an ls of /media/simpletech or /media/wd, no
files show up; just as any other directory that are used to mount other
devices/locations on if they are not mounted.)  When I power off the
drive, the directory (/media/simpletech or /media/wd) then gets deleted by
the hal daemon.

     It may be possible, in your situation, for someone else to unmount
the drive.  You may want a little additional research to assure that no
one else can.  (Can you assure that only you use root, or only people you
could trust not to unmount the drive if it shouldn't be unmounted use
root?  We can discuss your situation.)

> The System is an Debian Sarge, the Firewire Controller is Texas 
> Instruments fully supported by Linux, the Harddisks too.

     This ought to be okay.

> So, my Steps are:
> 
> - configure Hal to automatically mount the Harddisks to different 
> mountpoints.

     Agreed.  (It took me longer to figure out the HAL stuff than to get
them working as I wanted with bacula afterward!)  :-)

> - configure 5 different Filestorages in Bacula, each for one Harddisk.
> - Label the different Harddisks

     These are likely possible.  Other people may wind up helping you more
on bacula-specific configuration.  I really have only configured one, my
current backup, configuration.  I am actually quite ignorant on bacula
configuration.

     (I worked out my own, with much trial and error!)  :-)

> Is this an Solution bacula works on it? Can bacula backup the Server 
> when it found only one Volume?

     I believe bacula could/should work with you.  It's that much better
if you have time to research your specific points/needs.  (I really don't,
right now.)

     Let me know, as you look into the HAL specification URL I provided,
what your problems are.  I will gladly offer as much help as I can!  I
have often enough come to this list hoping someone else with more
experience than I in something could help me!  :-)

     Barry

-- 
Barry L. Bond                     | http://home.cfl.rr.com/os9barry/
Software Engineer, ITT Industries | (My personal home web page, last
                                  | updated February 17, 2005)
                                  |
[EMAIL PROTECTED] <- personal      |  Re-Vita Products:
[EMAIL PROTECTED] <- Work ONLY   |  http://www.re-vita.net/barrybond
                                  |  Re-Vita Distributor Information
Home office:  407-382-2815        |  http://www.re-vita.net/barrybond-2
Work:         321-494-5627        |  Toll free order:  1-888-820-5531


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