Really strange problem with XP & SAMBA

Really strange problem with XP & SAMBA

Post by Enrique Ariz?n Beni » Wed, 02 Jun 2004 18:43:57

Hi all, just around 2 months ago I setup a micro-network with 2
Windows XP home workstations+NortonAV using a Linux (RedHat 9 + Samba
Version 2.2.7a-security-rollup-fix) as main file server. It ran
flawesly from the first moment but a power failure last week made the
server reboot. After it Windows XP Home can not work properly with the
server. It's possible to read files from samba shares, even large ones
but when writting to the samba shares windows programs take a long
time (minutes) to complete or just completely blocks. I though it was
just a hardware problem after the power failure (voltage peak breaking
the ethernet cards) but the strange thing comes next:
 - Both Windows XP home workstations continue to work one another with
no problem, sharing, reading and writing files through the network.
 - I can also read/write to the Linux samba server with any other
computer at hand (Win2000, Win98, linux, ...).
 - I checked changing the switch and ethernet cards.
 - No setup changes have been made to the initial setup and it worked
for 2 months before the power failure!!!
 - The samba log just complain client has remotely disconected when
trying to write.

 Is it possible to know what is failing to work. ?Any hint?



Really strange problem with XP & SAMBA

Post by Ralf Herrman » Thu, 03 Jun 2004 08:31:16


first of all i would advice you to ask in another news group dedicated to samba:


You might find more help there.

Regarding your problem i have no solution for you. But any it seems like the
server power-down could have crashed some run-time databases of samba and this
might cause the trouble. All machines that were not logged into samba when
the crash occured might not suffer from this issue, since there have not been
runtime-entries for them when the power failed.
I'm not fimilar with sambs interna's so i can't name any specific file.
Although i think it might be raelted to some file locking.

You should also consider the installation of the last samba release (see to gain from some bug fixing.
AFAIK there has been an issue between a newly M$ security update for XP, 2k and
the likes and samba which is addressed only in the latest releases.
If you want to stay with the 2.2.x code base there is also an update
(i think 2.2.9) which you could use.




1. Really strange Samba problem

I've got 2 pc's networked, one Win95 (OSR2), the other Linux (2.0.35), running
Samba. On the Win95 pc, I'm sharing a CDRW drive, and another disk partition,
drive "F:"  Basically, I've been using the CDRW as a backup device for the
file systems on the Linux pc.

I got curious as to speed (since the networked drives "seemed" slow), so I
decided to run a simple check.  I had a directory on a data cd which had
270 files in it, about 20 MB.  I copied that to Drive F:, so now both
Drive D: (cdrom) and Drive F: on the Win95 PC have the same directory of files,
270 of 'em.

I first smbmount DRVD on the Linux machine, and copy all files from the test
directory to another directory on the Linux machine.  I get all 270 files okay.

Then to compare speed, I umounted DRVD and smbmounted DRVF.  Now, when I do
the copy, I only get 256 files!!!  Even stranger, when I do an ls /mnt (where
DRVD is mounted) I only see 64 files!!!  and some of the 64 are files that are
not in the 256 that got copied!

Anyone got any idea what's going on here?  Kinda shakes my faith in using
Samba (especially as a backup route).

Dave Brown   Austin, TX

2. authentication problem in using rsh

3. HELP --- really, really strange network problem!!

4. Strange network problem

5. Need help with LINUX & DSL, really strange problem.

6. dosemu 0.53pl37 doesn't recognize my mouse

7. Really strange samba puzzle

8. !! Invalid Partition Table - Problem !!

9. Windows XP and Samba - whats the maximum size of a XP Share folder?

10. Really, really strange crash...

11. Really strange thing with Linux & WinNT 4.0 - Help...

12. Samba & Win XP