[Box Backup] backup on nfs-mounted storage

Ben Summers boxbackup at fluffy.co.uk
Thu Oct 19 09:26:50 BST 2006


On 17 Oct 2006, at 21:20, Chris Wilson wrote:

> Hi Ruben,
>
> On Tue, 17 Oct 2006, ruben wrote:
>>
>> So, this should in principle work, if I compile it with the fcntl  
>> implementation?
>
> I think so, but I'm not 100% positive that fcntl locks work on NFS  
> either.
>
>> Are there any drawbacks on using the fcntl implementation instead  
>> of flock?
>
> I'm not aware of any, but I'm not the best person to ask (Ben or  
> Martin would certainly know better than me). Box Backup does its  
> own account locking, and bbackupd should not request write access  
> to more than one file at a time, as far as I know, so the lock  
> should not actually be needed anyway in normal use, as far as I know.

bbstored uses file locks on a file in the filesystem to do account  
locking. You do need locks on whatever filesystem you're using for  
the server.

The client doesn't need locking.

Ben










More information about the Boxbackup mailing list