[Samba] Puzzling

Stefan G. Weichinger monitor at oops.co.at
Tue Sep 30 18:23:47 GMT 2003

Hi Wayne,

am Dienstag, 30. September 2003 um 18:32 schrieben Sie:

w> Dear List:

w> I have installed the lastest Samba 3.0 onto an AMD 2.6 GHz RedHat 9.0
w> system running mirrored SCSI drives.  The system is multi homed as such:-

w> eth0 -
w>       -

w> eth1 - public IP address

What do you mean? eth0 has 2 adresses or what?
What does ifconfig tell you?

w> I connect from an XP Home box to a Samba share via the
w> subnet, mapped as Drive Z and performed the following file transfers.

Samba (Z:) ->> Samba (Z:) 928 MB folder 20 mins
Samba (Z:) ->> XP (C:) 928 MB folder 21 mins
XP (C:) ->> Samba (Z:) 928 MB folder 3 mins

You smb.conf tells us other things:

hosts allow = 192.168.50. 192.168.1. 127.

bind interfaces only = TRUE

Leave this one out unless you really know what to use it for.

#interfaces = eth0 eth0:1 lo
interfaces =

You talk about but use the adress. Check
your IPs on the Samba box and on the XP box and edit your smb.conf to
the right "interfaces" and "hosts allow" options. To make it easier
use the line

interfaces = eth0 eth1

and leave out the "bind interfaces"-line. It will bind to your subnets
nicely, you avoid typos and readjusting smb.conf when changing IPs.

Did you map Z: to the [Oasis]-share ?

> [Oasis]
>    comment = Oasis Data & Programs
>    path = /thelook/Oasis
>    public = yes
>    writable = yes
>    printable = no
>    write list = @oasis
>    force create mode = 0770
>    force group = +oasis
>    oplocks = False
>    level2 oplocks = False
>    blocking locks = no

With the last 3 options you basically set your performance down.
Drastically. I donŽt know if you really want them to be set like this.
At least I would comment them out for testing.

Do your log-files say something special? Set "log level" to 1 or 2 and
look at your files. Compare the results for the 2 installations.

On the other hand, what do you mean by "If I replace the mirrored SCSI
drive with a SCSI drive..." ? Might it be simply a difference in
harddisk performance? (Again, let the locking-parameters away and let
the OS do its work handling the locks ...)

Let us know more details ...

best regards,
Stefan G. Weichinger
mailto:monitor at oops.co.at

More information about the samba mailing list