Re: [Samba] About Samba running in a Solaris 11 Express container
Hi Samba Gurus, Would like to check if Samba release (latest 3.6.5) is already supporting Solaris 11 Express (x86) running in non-global zone or only in global-zone ? Appreciate highlight any pre-requisite. Thx a lot, Sam -- Oracle Tagliine Sam Sit | Sr Manager, ACS Delivery Phone: HYPERLINK tel:+85233657403+85233657403 | | Fax: HYPERLINK fax:+85233657403+85233657403 | | Mobile: HYPERLINK tel:+85296689998+85296689998 | Oracle Customer Services, ACS ORACLE Hong Kong HK HYPERLINK http://www.oracle.com/commitment; \nGreen Oracle Oracle is committed to developing practices and products that help protect the environment -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Re: Samba running slow
Salman Moghal wrote: I should have kept reading through the samba archive online. There was a similar, very recent, reported problem: http://groups.google.com/group/linux.samba/browse_frm/thread/8bf6e9791ae9b3cd/0a038c363be7ba2a#0a038c363be7ba2a After adding these lines in smb.conf, copying a file over samba share was lightening fast (just as fast as over FTP/HTTP connection): socket options = TCP_NODELAY oplocks = no level2 oplocks = no My eventual goal is to be able to play mp3 and movies over LAN. And I've run into the same problem with streaming a file across (as mentioned in the thread) -- streaming a file is very choppy. Any ideas? IP generally is choppy. If you want to do this right, I think you need switches that understand quality of service flags -- and then you have to set those on the appropriate packets from your samba server. However in many cases the MP3 / Video players have an adjustment for how large a buffer cache to run ahead before starting to play. Having a buffer that is sized to be 10-30 seconds of playing time will help a lot for this. Also look at your bandwidth. Run iostat on your server. A 100 mbit (fast ethernet) connection typically will get you 3-7 Mbytes per second. If you're well under this, then the ethernet isn't the bottleneck. You don't mention if you have gigabit everywhere, and have the ethernet infrastructure to support it. If you have gigabit to the switch, and fast ethernet to the desktop, you should be able to make streaming video work well. You may want to look for specific software to handle streaming -- If you do it as multicast, then multiple users who want the same stream don't tie up your server nearly as much. Of course I could be wrong about all this. Your milage may varry. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Re: Samba running slow
In pure mathematical terms, the maximum throughput on 100MB ethernet is: 100Mb / 8 = 12.5 MegaBytes per second. That assumes, of course, a perfect world with a 100% efficient protocol. Of course, this doesn't exist. So in network design, if you have one 100MB link from the switch your server is plugged into serving multiple clients, then best case throughput is: 12.5 / N Where N is the number of clients pulling data from the Samba server at any moment in time. Gigabit is a bit better of course: 1000Mb / 8 = 125 MegaBytes per second Assuming your server's hardware can sustain that throughput or more, 100MB switches with gigabit ports to cascade from the server backbone are the most desirable. If your server can definitely sustain better than the 125 MBps threshold (and you have load balanced NICs installed), it would be beneficial to either place your heaviest users directly on your server backbone or to have multiple cascaded switches. Sherwood Botsford wrote: Salman Moghal wrote: I should have kept reading through the samba archive online. There was a similar, very recent, reported problem: http://groups.google.com/group/linux.samba/browse_frm/thread/8bf6e9791ae9b3cd/0a038c363be7ba2a#0a038c363be7ba2a After adding these lines in smb.conf, copying a file over samba share was lightening fast (just as fast as over FTP/HTTP connection): socket options = TCP_NODELAY oplocks = no level2 oplocks = no My eventual goal is to be able to play mp3 and movies over LAN. And I've run into the same problem with streaming a file across (as mentioned in the thread) -- streaming a file is very choppy. Any ideas? IP generally is choppy. If you want to do this right, I think you need switches that understand quality of service flags -- and then you have to set those on the appropriate packets from your samba server. However in many cases the MP3 / Video players have an adjustment for how large a buffer cache to run ahead before starting to play. Having a buffer that is sized to be 10-30 seconds of playing time will help a lot for this. Also look at your bandwidth. Run iostat on your server. A 100 mbit (fast ethernet) connection typically will get you 3-7 Mbytes per second. If you're well under this, then the ethernet isn't the bottleneck. You don't mention if you have gigabit everywhere, and have the ethernet infrastructure to support it. If you have gigabit to the switch, and fast ethernet to the desktop, you should be able to make streaming video work well. You may want to look for specific software to handle streaming -- If you do it as multicast, then multiple users who want the same stream don't tie up your server nearly as much. Of course I could be wrong about all this. Your milage may varry. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] RE: Samba running slow
On Sun, 2007-01-28 at 15:55 -0500, Salman Moghal wrote: I tried to fiddle around with ethtool but couldn't disable auto-negociation. Finally I disabled the onboard card and replaced it with an old LinkSys NIC. The problem went away. I am now using Linksys card that uses tulip kernel drivers (I was using before the upgrade and never had any problems). Also, I have removed all the tweaks for oplocks from smb.conf.. and I'm not seeing this problem. I'm still not sure what is the root cause: - kernel 2.6.19-1 driver r8169 for Realtek RTL8111/8168B gigabit controller cards, or - samba not being able to work with the network driver? Samba has no knowledge of drivers, it just uses the kernel interfaces. If a network card does not work properly it is either an hardware problem or a kernel driver problem. -- Simo Sorce Samba Team GPL Compliance Officer email: [EMAIL PROTECTED] http://samba.org -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Re: Samba running slow
Hello, I just read your thread in the mailing-list and I do experience exactly the same problem. I have the exact same hardware (Asus P5B, Core 2 Duo) and the same version of kernel and samba. Actually I have tried the 'd' revision of samba but that doesn't work either. Unfortunately, I have not been able to solve it just yet and I too would very much like to tackle this issue. Now I am not a samba/kernel hacker but my gut feeling tells me that it is a combination of the latest kernel 2.6.19-1 with samba. Thanks to the cutting edge hardware, I cannot downgrade to an earlier kernel version to test as this do not support all features of the mobo. Today, I am planning on compiling the 2.6.19-2 kernel and see if that helps. 2.6.20 is also coming out soon but I don't see anything in the change log what could lead to solving this issue. Another approach might be to change the NIC to a standard PCI 100 Mbit card which is well supported by the kernel for years, but I would very much like to get it working in the current setup. I will keep you posted if I find anything. I would really appreciate it if you let me know when you are making progress too. If someone else has ideas, I am also open for suggestions. Kind regards, Tom -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Salman Moghal Sent: zaterdag 27 januari 2007 9:44 To: samba@lists.samba.org Subject: [Samba] Re: Samba running slow I should have kept reading through the samba archive online. There was a similar, very recent, reported problem: http://groups.google.com/group/linux.samba/browse_frm/thread/8bf6e9791ae9b3c d/0a038c363be7ba2a#0a038c363be7ba2a After adding these lines in smb.conf, copying a file over samba share was lightening fast (just as fast as over FTP/HTTP connection): socket options = TCP_NODELAY oplocks = no level2 oplocks = no My eventual goal is to be able to play mp3 and movies over LAN. And I've run into the same problem with streaming a file across (as mentioned in the thread) -- streaming a file is very choppy. Any ideas? - Original Message - From: Salman Moghal [EMAIL PROTECTED] To: samba@lists.samba.org Sent: Saturday, January 27, 2007 2:48 AM Subject: Re: Samba running slow Here's my samba version in FC6: samba-common-3.0.23c-2 samba-3.0.23c-2 samba-client-3.0.23c-2 - Original Message - From: Salman Moghal [EMAIL PROTECTED] To: samba@lists.samba.org Sent: Saturday, January 27, 2007 2:45 AM Subject: Samba running slow Hello everyone: Over the past few years I have been a happy samba user, running samba on Redhat / FC platforms. Recently I upgraded hardware, and Samba hasn't been performing well at all.. which makes me sad :-( The new hardware is Asus P5B board with a dual-core intel processor. This board has an onboard Realtek RTL8111/8168B gigabit ethernet controller, which was a hassle to setup. FC6 default kernel 2.6.18-x doesn't have drivers for it. Upgrading to the latest kernel 2.6.19-1 fixed that. Since then I have verified that both web and ftp servers are functioning normally. I use apache 2.2.3-5 and vsftpd 2.0.5-8. Downloading a 90MB file through apache and vsftp takes less than 1.5 minutes on my local LAN (LinkSys WRTGL router). However, if I mount a drive in XP and try to copy the same file over samba.. it takes over 20-25 minutes---weird! I looked through several online archives and suggestions.. however none seemed to work. So I decided to ask for help here.. Please help! Here are some details: Samba Server: Platform: Fedora Core 6 - kernel 2.6.19-1.2895.fc6 Hardware: Asus P5B motherboard with on-board Realtek RTL8111/8168B gigabit ethernet controller Samba Client: Windows XP Pro (SP2) Router: LinkSys WRTGL Note: FC6 kernel 2.6.19-x uses r8169 kernel modules for this realtek ethernet controller.. Samba config: [global] netbios name = JUPITER workgroup = HOME.NET server string = Linux Samba Server security = share encrypt passwords = yes smb passwd file = /etc/samba/smbpasswd hosts allow = 192.168.1. 127. guest account = samba log file = /var/log/samba/%m.log max log size = 50 interfaces = 192.168.1.1/255.255.255.0 local master = yes dns proxy = no # disable printing load printers = no printing = bsd printcap name = /dev/null disable spoolss = yes [scratch] comment = Scratch Directory path = /opt/scratch read only = no public = yes writable = yes guest ok = yes group = samba create mask = 0664 directory mask = 0775 ##write list = @root [web] comment = Web Root path = /var/www/html read only = no ##public = yes writable = yes group = samba create mask = 0664 directory mask = 0775 ##guest ok = yes ethtool info: Settings for eth0: Supported ports: [ TP ] Supported link modes: 10baseT/Half 10baseT/Full
RE: [Samba] Re: Samba running slow
Just a quick update : 2.6.19.2 kernel gives the same issues -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tom Van den Eynde Sent: zaterdag 27 januari 2007 14:32 To: samba@lists.samba.org Subject: RE: [Samba] Re: Samba running slow Hello, I just read your thread in the mailing-list and I do experience exactly the same problem. I have the exact same hardware (Asus P5B, Core 2 Duo) and the same version of kernel and samba. Actually I have tried the 'd' revision of samba but that doesn't work either. Unfortunately, I have not been able to solve it just yet and I too would very much like to tackle this issue. Now I am not a samba/kernel hacker but my gut feeling tells me that it is a combination of the latest kernel 2.6.19-1 with samba. Thanks to the cutting edge hardware, I cannot downgrade to an earlier kernel version to test as this do not support all features of the mobo. Today, I am planning on compiling the 2.6.19-2 kernel and see if that helps. 2.6.20 is also coming out soon but I don't see anything in the change log what could lead to solving this issue. Another approach might be to change the NIC to a standard PCI 100 Mbit card which is well supported by the kernel for years, but I would very much like to get it working in the current setup. I will keep you posted if I find anything. I would really appreciate it if you let me know when you are making progress too. If someone else has ideas, I am also open for suggestions. Kind regards, Tom -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Salman Moghal Sent: zaterdag 27 januari 2007 9:44 To: samba@lists.samba.org Subject: [Samba] Re: Samba running slow I should have kept reading through the samba archive online. There was a similar, very recent, reported problem: http://groups.google.com/group/linux.samba/browse_frm/thread/8bf6e9791ae9b3c d/0a038c363be7ba2a#0a038c363be7ba2a After adding these lines in smb.conf, copying a file over samba share was lightening fast (just as fast as over FTP/HTTP connection): socket options = TCP_NODELAY oplocks = no level2 oplocks = no My eventual goal is to be able to play mp3 and movies over LAN. And I've run into the same problem with streaming a file across (as mentioned in the thread) -- streaming a file is very choppy. Any ideas? - Original Message - From: Salman Moghal [EMAIL PROTECTED] To: samba@lists.samba.org Sent: Saturday, January 27, 2007 2:48 AM Subject: Re: Samba running slow Here's my samba version in FC6: samba-common-3.0.23c-2 samba-3.0.23c-2 samba-client-3.0.23c-2 - Original Message - From: Salman Moghal [EMAIL PROTECTED] To: samba@lists.samba.org Sent: Saturday, January 27, 2007 2:45 AM Subject: Samba running slow Hello everyone: Over the past few years I have been a happy samba user, running samba on Redhat / FC platforms. Recently I upgraded hardware, and Samba hasn't been performing well at all.. which makes me sad :-( The new hardware is Asus P5B board with a dual-core intel processor. This board has an onboard Realtek RTL8111/8168B gigabit ethernet controller, which was a hassle to setup. FC6 default kernel 2.6.18-x doesn't have drivers for it. Upgrading to the latest kernel 2.6.19-1 fixed that. Since then I have verified that both web and ftp servers are functioning normally. I use apache 2.2.3-5 and vsftpd 2.0.5-8. Downloading a 90MB file through apache and vsftp takes less than 1.5 minutes on my local LAN (LinkSys WRTGL router). However, if I mount a drive in XP and try to copy the same file over samba.. it takes over 20-25 minutes---weird! I looked through several online archives and suggestions.. however none seemed to work. So I decided to ask for help here.. Please help! Here are some details: Samba Server: Platform: Fedora Core 6 - kernel 2.6.19-1.2895.fc6 Hardware: Asus P5B motherboard with on-board Realtek RTL8111/8168B gigabit ethernet controller Samba Client: Windows XP Pro (SP2) Router: LinkSys WRTGL Note: FC6 kernel 2.6.19-x uses r8169 kernel modules for this realtek ethernet controller.. Samba config: [global] netbios name = JUPITER workgroup = HOME.NET server string = Linux Samba Server security = share encrypt passwords = yes smb passwd file = /etc/samba/smbpasswd hosts allow = 192.168.1. 127. guest account = samba log file = /var/log/samba/%m.log max log size = 50 interfaces = 192.168.1.1/255.255.255.0 local master = yes dns proxy = no # disable printing load printers = no printing = bsd printcap name = /dev/null disable spoolss = yes [scratch] comment = Scratch Directory path = /opt/scratch read only = no public = yes writable = yes guest ok = yes group = samba create mask = 0664 directory mask = 0775 ##write list = @root [web] comment = Web Root path = /var/www/html read
RE: [Samba] Is Samba running?
Ok... samba was not running. If I run the following line '/etc/rc.d/init.d/smb start' the Samba share appears in the XP box network browser. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: domingo, 6 de Fevereiro de 2005 3:12 To: samba@lists.samba.org Subject: RE: [Samba] Is Samba running? I think I'm running samba 3 because I installed it with Fedora 3 setup. Smbstatus gives me the following: Sessionid.tdb not initialized /var/cach/samba/connection.tdb not initialized ... ... Failed to open byte range locking database ERROR: Failed to initialize locking database ps -wuax | grep -E smb|nmb gives me the following: Warning: bad syntax, perhaps a bogus '-'? see. My 'smb.conf' goes like this: global] workgroup = WORKGROUP netbios name = HOBBIT security = share [data] comment = Data path = /export read only = Yes guest ok = Yes thaks Rui -Original Message- From: Jeff [mailto:[EMAIL PROTECTED] Sent: domingo, 6 de Fevereiro de 2005 2:49 To: [EMAIL PROTECTED] Cc: samba@lists.samba.org Subject: Re: [Samba] Is Samba running? [EMAIL PROTECTED] wrote: I'm trying to see my Fedora box with a samba share in the XP Network browser but no luck so far and I don't know where to start to solve the problem. So I thought Samba was not running... but do not know how to check it... What version of samba are you running? How did you install it? configure or rpm? What errors are you getting when you try to map a drive? You'll have to supply some more information first, run those two commands from the shell, on your Fedora box. and tell us what they output. Do you know that samba is started? the command `ps -wuax | grep -E smb|nmb` should return two differnt processes - smbd and nmbd. Also the command `smbstatus` will give you info about samba shares. are you seeing anything in your log files on Fedora from the xp box, which would be log.machinename or log.ip.address and are most likely stored in /var/log or /var/log/samba. If so what do they say? HTH Jeff -Original Message- From: Jeff [mailto:[EMAIL PROTECTED] Sent: domingo, 6 de Fevereiro de 2005 2:13 To: [EMAIL PROTECTED] Cc: samba@lists.samba.org Subject: Re: [Samba] Is Samba running? [EMAIL PROTECTED] wrote: Hi all, How can I know if Samba is running properly? What exactly are you trying to determine? ps -wuax | grep -E smb|nmb - will show you if/what the processes are running what does smbstatus show? - this will show the status of all things samba Jeff Thanks Rui -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Is Samba running?
[EMAIL PROTECTED] wrote: Hi all, How can I know if Samba is running properly? What exactly are you trying to determine? ps -wuax | grep -E smb|nmb - will show you if/what the processes are running what does smbstatus show? - this will show the status of all things samba Jeff Thanks Rui -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Is Samba running?
I'm trying to see my Fedora box with a samba share in the XP Network browser but no luck so far and I don't know where to start to solve the problem. So I thought Samba was not running... but do not know how to check it... -Original Message- From: Jeff [mailto:[EMAIL PROTECTED] Sent: domingo, 6 de Fevereiro de 2005 2:13 To: [EMAIL PROTECTED] Cc: samba@lists.samba.org Subject: Re: [Samba] Is Samba running? [EMAIL PROTECTED] wrote: Hi all, How can I know if Samba is running properly? What exactly are you trying to determine? ps -wuax | grep -E smb|nmb - will show you if/what the processes are running what does smbstatus show? - this will show the status of all things samba Jeff Thanks Rui -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Is Samba running?
[EMAIL PROTECTED] wrote: I'm trying to see my Fedora box with a samba share in the XP Network browser but no luck so far and I don't know where to start to solve the problem. So I thought Samba was not running... but do not know how to check it... What version of samba are you running? How did you install it? configure or rpm? What errors are you getting when you try to map a drive? You'll have to supply some more information first, run those two commands from the shell, on your Fedora box. and tell us what they output. Do you know that samba is started? the command `ps -wuax | grep -E smb|nmb` should return two differnt processes - smbd and nmbd. Also the command `smbstatus` will give you info about samba shares. are you seeing anything in your log files on Fedora from the xp box, which would be log.machinename or log.ip.address and are most likely stored in /var/log or /var/log/samba. If so what do they say? HTH Jeff -Original Message- From: Jeff [mailto:[EMAIL PROTECTED] Sent: domingo, 6 de Fevereiro de 2005 2:13 To: [EMAIL PROTECTED] Cc: samba@lists.samba.org Subject: Re: [Samba] Is Samba running? [EMAIL PROTECTED] wrote: Hi all, How can I know if Samba is running properly? What exactly are you trying to determine? ps -wuax | grep -E smb|nmb - will show you if/what the processes are running what does smbstatus show? - this will show the status of all things samba Jeff Thanks Rui -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Is Samba running?
I think I'm running samba 3 because I installed it with Fedora 3 setup. Smbstatus gives me the following: Sessionid.tdb not initialized /var/cach/samba/connection.tdb not initialized ... ... Failed to open byte range locking database ERROR: Failed to initialize locking database ps -wuax | grep -E smb|nmb gives me the following: Warning: bad syntax, perhaps a bogus '-'? see. My 'smb.conf' goes like this: global] workgroup = WORKGROUP netbios name = HOBBIT security = share [data] comment = Data path = /export read only = Yes guest ok = Yes thaks Rui -Original Message- From: Jeff [mailto:[EMAIL PROTECTED] Sent: domingo, 6 de Fevereiro de 2005 2:49 To: [EMAIL PROTECTED] Cc: samba@lists.samba.org Subject: Re: [Samba] Is Samba running? [EMAIL PROTECTED] wrote: I'm trying to see my Fedora box with a samba share in the XP Network browser but no luck so far and I don't know where to start to solve the problem. So I thought Samba was not running... but do not know how to check it... What version of samba are you running? How did you install it? configure or rpm? What errors are you getting when you try to map a drive? You'll have to supply some more information first, run those two commands from the shell, on your Fedora box. and tell us what they output. Do you know that samba is started? the command `ps -wuax | grep -E smb|nmb` should return two differnt processes - smbd and nmbd. Also the command `smbstatus` will give you info about samba shares. are you seeing anything in your log files on Fedora from the xp box, which would be log.machinename or log.ip.address and are most likely stored in /var/log or /var/log/samba. If so what do they say? HTH Jeff -Original Message- From: Jeff [mailto:[EMAIL PROTECTED] Sent: domingo, 6 de Fevereiro de 2005 2:13 To: [EMAIL PROTECTED] Cc: samba@lists.samba.org Subject: Re: [Samba] Is Samba running? [EMAIL PROTECTED] wrote: Hi all, How can I know if Samba is running properly? What exactly are you trying to determine? ps -wuax | grep -E smb|nmb - will show you if/what the processes are running what does smbstatus show? - this will show the status of all things samba Jeff Thanks Rui -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba