Hi,
I need your help!
I want to realize samba usage below, but I don't know how to do it.
samba server is redhat linux AS 4.0 up4 i386, samba version is
samba-3.0.10-1.4E.9.
When I create share and make all users and groups excepts valid users and groups
not see this share name in network
neighbor,I do not use the options ' browsable=no',because using it will
let all valid users and group can not see the share.
for example,add share in smb.conf
[share_test]
path=/data
valid users=root,user1,user2
writable=yes
user1,user2 login samba server and can see sharename 'share_test' and
access it in network neighbor, other users login samba server and can not see
sharename 'share_test'.
I don't know how to resolve it. need your help! thank you!
sannas From garydale at
torfree.net Tue Aug 21 03:33:36 2007
From: garydale at torfree.net (Gary Dale)
Date: Tue Aug 21 03:40:29 2007
Subject: [Samba] Extremely slow file serving
In-Reply-To: <20070821022657.GA8550@csy.ca>
References: <20070821022657.GA8550@csy.ca>
Message-ID: <46CA5D10.10004@torfree.net>
Try setting loglevel to something like 10 (restart Samba) and run your
tests again. Perhaps you can find something in the logs to explain the
problem.
Shane wrote:> Hello,
>
> I have a Samba file server on a lan serving a number of
> clients. I'm getting read speeds, that is client reading
> from samba server of 20-30kbps and write speeds of 4-5mbps.
> Reading from the file server via ftp or NFS are up in the
> 5-8mb level. For the sake of testing, I have the file
> server connected to a Linux client using a mounted file
> share. Both nics negotiate at 100mbps full-duplex. I did
> try switching to half-duplex with no effect. I also tried
> changing the network switch, again no effect.
>
> >From samba client:
> # dd if=test.dat of=/dev/null bs=1k count=10k
> 1905+0 records in
> 1904+0 records out
> 1949696 bytes (1.9 MB) copied, 63.2419 seconds, 30.8 kB/s
>
> Cut the transfer with break which is why it's short.
>
> >From client via nfs
> $ dd if=test.dat of=/dev/null bs=1k
> 218776+1 records in
> 218776+1 records out
> 224026883 bytes (224 MB) copied, 19.3038 seconds, 11.6 MB/s
>
> And from client to samba server:
> # dd if=/dev/zero of=test2.dat bs=1k count=100k oflag=sync
> 102400+0 records in
> 102400+0 records out
> 104857600 bytes (105 MB) copied, 43.1757 seconds, 2.4 MB/s
>
> So write isn't great either but the file server is raid-5
> so that's probably more the cause. During reads from the
> samba server, the load never exceeds 0.2 and there are no
> colisions or errors in ifconfig output.
>
> Any help with this greatly appreciated.
>
> System info:
> Linux 2.6.23-rc3
> Intel quad core q6600 1gb ram
> disks 6x sata 320gb in raid5 all ncq enabled
>
> smb.conf, nearly stock
> # Samba config file created using SWAT
> # from 127.0.0.1 (127.0.0.1)
> # Date: 2007/08/20 16:36:47
>
> [global]
> workgroup = CM
> interfaces = eth0
> preferred master = Yes
> ldap ssl = no
>
> [world]
> path = /data/world
> force group = world
> read only = No
> create mask = 0770
> directory mask = 0770
>
>