I'll just throw in my 0.02 about USB:

In 2.6 kernels, Redhat/Fedora use hal (hardware application layer?).
However Suse does something completely different (and OSX?); fiddling
with hal and fstab-sync isn't a universal fix.

I know two ways to "label" usb devices:
i) for ext2/ext3 filesystems use e2label for the partitions. With
e2label, regardless of the device numbering (eg sda,sdb), the partition
will get mounted to the same point every time.
ii) Define a lvm (logical volume management) volume. Similarly, it will
have consistent labelling for mount points. I haven't tested this very
much. It is possible to create an lvm volume w/o creating paritions
first, but for labels, it seems to want partitions.
It also looks like redhat has modified lvm they distribute (a la GFS),
so it my not behave as expected.

I am not a bacula expert...maybe make a pool for all your usb devices
(ie the "labelled" mount points), and whatever is attached is used ?
Alternatively, always write to the same partition (eg /dev/sda1) ?


>I'm still concerned about how Bacula is going to deal with directories
>and
>volumes that "disappear".  In any case, I have my two little 2GB USB
>devices,
>and I am going to work over the next months on making Bacula
>understand what
>a USB device is and to deal with it in a more reasonable way.  To do
>this, I
>think there are more than sufficient directives in the Device resource
>in the
>SD, with one exception -- most likely I need to add a "Device Type =
>xxx"
>directive which could have values such as "Tape, File, DVD, USB, >FIFO,
..."
>Bacula currently "guesses" at what the device type is, and in most
>cases, it
>gets it right, but USB vs DVD is not so easy, and on FreeBSD there is
>no
>distinction between character devices and block devices.

-- 
Chris Hunter
Systems Programmer
Department of Astronomy, Yale University
[EMAIL PROTECTED]





-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to