Hi Ger! Ger, I come here, because I am so EXTREMELY ignorant on bacula configuration, hoping someone can help me figure out what's wrong! If someone who has experience with something can offer assistance to someone else who wants the same thing, we'll likely wind up with you spending less time to accomplish this than I did! :-D
>I dont know if Robert wants to use that approach, but it sure is what i'm >looking for.. So if you could tell us how you got your hal daemon to create >and mount your USB disks that would be great! I didn't find much good documentation on the HAL daemon. The best I found is at this URL: http://people.redhat.com/davidz/hal/0.4/hal-spec.html You need to identify some unique/exact strings which are reported, by your USB hard drive(s) when you power them on. The best way I found was to run hal-device-manager. When you power on the USB device, you'll see it appear. I happened to choose the storage.vendor and model; strings which uniquely identify my two specific USB hard drives. I then created a directory in my already existing /etc/hal/fdi/policy directory, named 95userpolicy. I placed two XML files in this directory, which I chose to name simpletech.fdi and wd.fdi. Here are the contents of these two files. simpletech.fdi: <<>> <?xml version="1.0" encoding="ISO-8859-1"?> <!-- -*- SGML -*- --> <deviceinfo version="0.2"> <device> <match key="volume.is_partition" bool="true"> <match key="volume.fsusage" string="filesystem"> <match key="@block.storage_device:storage.vendor" string="HDS72404"> <match key="@block.storage_device:storage.model" string="0KLAT80"> <merge key="volume.policy.desired_mount_point" type="string">simpletech</merge> </match> </match> </match> </match> </device> </deviceinfo> <<>> wd.fdi: <<>> <?xml version="1.0" encoding="ISO-8859-1"?> <!-- -*- SGML -*- --> <deviceinfo version="0.2"> <device> <match key="block.is_volume" bool="true"> <match key="volume.fsusage" string="filesystem"> <match key="@block.storage_device:storage.vendor" string="WD"> <match key="@block.storage_device:storage.model" string="3200JB External"> <merge key="volume.policy.desired_mount_point" type="string">wd</merge> </match> </match> </match> </match> </device> </deviceinfo> <<>> I have a SimpleTech 400GB drive, and a Western Digital 320GB drive. The strings you see in the above files were uniquely reported by the respective drive. For the SimpleTech drive, "HDS72404" was reported in the storage.vendor field. "OKLAT80" was reported in the storage.model field. My ".desired_mount_point" line contains the string THAT IS ADDED TO /media. (So, the directory /media/simpletech is created by hald. For the Western Digital drive, the directory /media/wd is created.) There are sample files you can create, in the documentation. >I am using Ubuntu btw. That's probably okay. Actually, you should first see whether you're running the hald process. (I've read that some systems did not have it running, but those were able to get it and run it.) The best way I know is for you to read the above URL, and begin seeing if you believe you understand how to see your device in hal-device-manager. And then, let me know whatever question you wind up having. >Many thanks, Ger, you're VERY welcome. I truly am pleased to help someone in any way I can. 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