I am having a few issues with copying / moving files on the samba server using windows explorer. I also watch clients (eg Netscape caching) come to a grinding halt for a period of time if they are reading/writing files to a network drive. If I move / copy a file to a share on the samba server it will move the status bar all the way across, sit there for a while then pop up this message: 'Cannot create or replace <filename>. The specified network resource or device is no longer available.' and then most of the time if I try it again in a few seconds it works fine. There are few files that have been severly problematic, but I can't nail it down to any one thing. I have played around with oplocks, filenames, sizes (bigger ones are more problematic), max xmit, and various other smb.conf stuff that I thought may be at fault. I just can't nail it down to one thing. Any ideas anyone? :-( -- Greg Cockburn Performance Magic Wellington New Zealand Phone +64 4 9711980 Mobile +64 25 275 6378 ICQ# 19058919 http://www.performancemagic.com
I'm having the same problem. Except that after a few seconds my file will still not copy. I've found a couple files that I can not copy anywhere onto the samba server. Heres a few observations that I've made... The file often makes it to the drive on the samba server. After I get the error from windows I end up with 2 processes on the samba server attached to the client. The first (original) process still has the file open (SWAT reports... Sharing=DENY_ALL, R/W=WRONLY, oplock=NONE). At this point the second process seems to have taken over the connection. I don't know if this is related at all but I might as well mention it... Last week I changed out my firewall hardware. In doing so I messed up part of the script that the modifies the /etc/hosts file. Now samba is not on the firewall, but it broke. About half of the office could not write anything to the server, the other half had no problems. When I fixed the firewall everything was back to normal, where just a few files fail to write. I don't know if this matters, everybodies DNS goes through the firewall to our ISP.> Message: 2 > Date: Sun, 08 Oct 2000 20:24:08 +1300 > From: Greg Cockburn <greg@performancemagic.com> > Organization: Performance Magic > To: samba@us4.samba.org > Subject: Win explorer issues > > I am having a few issues with copying / moving files on the samba server > using windows explorer. I also watch clients (eg Netscape caching) come > to a grinding halt for a period of time if they are reading/writing > files to a network drive. > > If I move / copy a file to a share on the samba server it will move the > status bar all the way across, sit there for a while then pop up this > message: > > 'Cannot create or replace <filename>. The specified network resource or > device is no longer available.' > > and then most of the time if I try it again in a few seconds it works > fine. There are few files that have been severly problematic, but I > can't nail it down to any one thing. I have played around with oplocks, > filenames, sizes (bigger ones are more problematic), max xmit, and > various other smb.conf stuff that I thought may be at fault. I just > can't nail it down to one thing. > > Any ideas anyone? :-(
Gary James wrote: | The file often makes it to the drive on the samba server. | After I get the error from windows I end up with 2 processes on the | samba server attached to the client. The first (original) process | still has the file open (SWAT reports... Sharing=DENY_ALL, R/W=WRONLY, | oplock=NONE). At this point the second process seems to have taken | over the connection. Aha: the client had failed, disconnected and reconnected. I'll send you a note on diagnosing this in a sec... | Last week I changed out my firewall hardware. In doing so I messed up | part of the script that the modifies the /etc/hosts file. Now samba is | not on the firewall, but it broke. You probably dinged your internal routing... which raises this question: Does your firewall connect to multiple internal subnets and route between them? If so, it could be adding delays to the file transfers, causing the client to time out, disconnect and reconnect... --dave -- David Collier-Brown, | Always do right. This will gratify some people 185 Ellerslie Ave., | and astonish the rest. -- Mark Twain Willowdale, Ontario | //www.oreilly.com/catalog/samba/author.html Work: (905) 415-2849 Home: (416) 223-8968 Email: davecb@canada.sun.com