> hello, > > i encountered a very strange problem and hope that someone out there knows a solution. that is, when i'm deleting several tousand files with a batch script on a samba share, windows says: "the system could not find the path specified" and deletes just approximatly one third of the files. this only occures if i'm delete explicitly from a dos shell using E:\>del *.pdf. if i mark all files in the explorer and click on delete it works fine. > > our configuration consists of a sun sunfire 6800 with solaris 8 as samba fileserver and a hp pentium 3 machine with windows 2000 as client. network works fine so far (according to ftp tests 11mbytes/s) except that taking files from the share to a local drive on the windows machine takes twice the time than putting a file from the local win drive on the share. but i understand that this can be fixed by setting send/read buffer down. > > what could be the reason that windows cannot find most of the files by deleting? and how to solve this? > > many thanks for your help. > > greetz & have phun > > Raphael Debinski > Systemspezialist Unix > > Die Schweizerische Post > PostFinance > Informatik > CH-3030 Bern > > E-Mail: debinskir@post.ch <mailto:debinskir@post.ch > > http://www.postfinance.ch <http://www.postfinance.ch> > >
On Wed, Sep 11, 2002 at 08:29:30AM +0200, debinskir@post.ch wrote:> > hello, > > > > i encountered a very strange problem and hope that someone out there knows a solution. that is, when i'm deleting several tousand files with a batch script on a samba share, windows says: "the system could not find the path specified" and deletes just approximatly one third of the files. this only occures if i'm delete explicitly from a dos shell using E:\>del *.pdf. if i mark all files in the explorer and click on delete it works fine.The problem is name mangling. A lot of your files share the same first 5 characters in their name. In Samba 2.2, with the default name mangling scheme, this means that a number of your files actualy have the name mangled name... (We get hash collisions, but only the command prompt uses the short names, hence why explorer works) The code in Samba HEAD and 2.2.5 adds a new mangling scheme and is *much* better at this. It's default in HEAD, and 'managling method = hash2' gets you it in 2.2.5 Andrew Bartlett
Hallo Andrew,> The code in Samba HEAD and 2.2.5 adds a new mangling scheme > and is *much* better at this. It's default in HEAD, and > 'managling method = hash2' gets you it in 2.2.5is it possible to change the mangling method to hash2, if there are data written with the old mangling method? tom ______________________________________________________________________________ WEB.DE Club - jetzt testen fur 1 Euro! Nutzen Sie Ihre Chance unter https://digitaledienste.web.de/Club/?mc=021105