On 4/26/2012 10:11 AM, Ben Stanley wrote:
> On Thu, 2012-04-26 at 09:49 -0400, Josh Fisher wrote:
>> On 4/26/2012 9:29 AM, Ben Stanley wrote:
>>> Hi,
>>>
>>> I have configured bacula for my home network consisting of 5 machines,
>>> backing up on to a USB hard disk.
>>>
>>> Initially, I configured it using the recommended configuration for hard
>>> disks, that is, to mount the HDD externally to bacula (fstab or by the
>>> desktop environment), but I found that this arrangement is too fragile,
>>> and my backups were failing. Additionally, this runs on a server
>>> machine, and there is no automounter (and I didn't want to install
>>> autofs).
>> Why don't you want to use autofs? I have been using autofs to mount USB
>> drives for quite a while without any issues.
>>
> Unfortunately, on Ubuntu, autofs seems to have all kinds of strange
> issues with locking up. It seems to be best avoided. (I do use it in
> other contexts involving nfs, and it gives me all kinds of grief.)
>
> Josh, I referred to quite a bit of your earlier work while I was
> figuring things out. Thanks for what you have published. I'd appreciate
> your comments on whether looking for the volume files under the mount
> point is sensible.

Thank you. Yes, it is sensible. I'm not sure why mounting the USB drives 
externally to Bacula would be fragile. It shouldn't be. Mounting a 
filesystem on a USB drive should be no less stable than mounting a file 
system on a SATA drive. The simple solution is to manually mount the 
drive whenever it is attached, then manually unmount it when it is 
detached. Then, as you did before, simply treat it as any other HDD. If 
that causes instability, then there is something else wrong that is not 
related to mount/umount. What filesystem is being used on the USB drives?


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Bacula-devel mailing list
Bacula-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-devel

Reply via email to