[Samba] slow access while crossmounting samba

Luca Ferrari fluca1978 at infinito.it
Thu May 12 12:55:39 GMT 2005


On Tuesday 03 May 2005 17:18 Luca Ferrari's cat walking on the keyboard  
wrote:

> Hi,
> I've got two linux machines with the same distribution and samba 3 that
> cross-mounts a share (i.e., machine a mounts a share of machine b and vice
> versa). I'm experiencing slow access from the machines to the opposite
> mounted share and I don't know what this slow performance can be due to.
> I'm not running with oplocks cause the share is accessed only by the other
> linux machine (no windows clients) and oplocks produced a few problems with
> my database indexes (dataflex) in the past. Thus oplocks and level2oplocks
> are disabled. The following is a part of my configuration file:
>
> [DATA]
>    comment       = database
>    path          = /vol1/sys/
>    writable      = yes
>    browsable     = no
>    available     = yes
>    public        = yes
>    printable     = no
>    guest ok      = yes
>    copy          = lock_template
>    guest account = smb_guest
>    read raw      = yes
>
> where the lock_template is the following:
>
> [lock_template]
>         locking           = no
>         posix locking     = yes
>         oplocks           = no
>         level2 oplocks    = no
>
>
> As you can see I've tried also read raw, but I didn't see any difference.
> Any idea?
>
> Thanks,
> Luca
>

I'm still having problems of speed in cross-mounting, and I've tried to place 
the host names in the /etc/hosts file and in the lmhost file, but I cannot 
see valuable changes. Any idea?


-- 
Luca Ferrari,
fluca1978 at infinito.it


More information about the samba mailing list