I am having problems with Samba on Ubuntu Server 11.10. Basically the network gets disconnected when a large file or a large number of files are copied to the server over the network. In order to do the testing I copied 100GB of backup files from a portable hard drive to my Ubuntu Samba Server over the network. I tried the following so far:
1. First it failed when I copied files from Linux Mint 11 desktop to the samba file server. When I loose the connection I cannot even ssh into the server, I had to reboot the server to bring it back online. (I did not try to just re-enable network)
2. To confirm that it is not a problem with my network switch I replaced it with another Gbit switch still the same issue.
3. Then I tried to do the same copying from a Windows 7 Home Premium and the same thing happend.
4. To rule out that it is not a problem with large number of files or external hard-drive and USB connection, I tried to copy a Virtual disk image of about 25GB from LinuxMint to the server that failed almost half way.
5. To rule out any hardware issues with any of the machines involved or the network, I installed NFS server on the Ubuntu Server and NFS client on Linux Mint and tried to copy the disk image and I could copy it successfully all the three time I tried.
Apparently something is wrong with the Samba configuration or Samba module. Is there a way to fix this? I did not change any of the parameters of Ubuntu Server installation or Samba configuration. It is pretty much default installation except that I added samba shares into the samba config file.
Even though I got the best performance with NFS about 65-70 MB/s continous), I really want to use Samba to share files because I like the smb password based security rather than IP based security.
Any help would be appreciated.
TIA
1. First it failed when I copied files from Linux Mint 11 desktop to the samba file server. When I loose the connection I cannot even ssh into the server, I had to reboot the server to bring it back online. (I did not try to just re-enable network)
2. To confirm that it is not a problem with my network switch I replaced it with another Gbit switch still the same issue.
3. Then I tried to do the same copying from a Windows 7 Home Premium and the same thing happend.
4. To rule out that it is not a problem with large number of files or external hard-drive and USB connection, I tried to copy a Virtual disk image of about 25GB from LinuxMint to the server that failed almost half way.
5. To rule out any hardware issues with any of the machines involved or the network, I installed NFS server on the Ubuntu Server and NFS client on Linux Mint and tried to copy the disk image and I could copy it successfully all the three time I tried.
Apparently something is wrong with the Samba configuration or Samba module. Is there a way to fix this? I did not change any of the parameters of Ubuntu Server installation or Samba configuration. It is pretty much default installation except that I added samba shares into the samba config file.
Even though I got the best performance with NFS about 65-70 MB/s continous), I really want to use Samba to share files because I like the smb password based security rather than IP based security.
Any help would be appreciated.
TIA