[Samba] Existing files don't show up in share, new files do

Pepijn Schmitz samba at chaos.demon.nl
Fri May 16 15:29:30 GMT 2008

I am suddenly no longer able to see any existing files on one of my
shares, from my Windows clients.

I have a Linux server (Fedora Core 8) which used to be my firewall and
router as well as file and print server. There are two Samba shares on
it I have mounted on various Windows clients: my home directory and a
multimedia directory with my music and videos, etc. I mount the former
as H: on all my Windows machines and the latter as M:.

Recently I installed a new server to be router and firewall. I kept the
existing server as file server though, only it now no longer has a fixed
IP address, and it is no longer configured to be be the master browser.

Since this change, my Windows clients no longer see the existing files
on the multimedia share! Some strange features of the problem are:

* It occurs on my Windows Vista Home Premium 64-bit machine, as well as
on my Windows XP SP2 machine, in exactly the same way.
* My home directory share doesn't have the problem, I can still see all
the existing files there.
* There are no errors connecting to the share from the Windows side, nor
do I see strange things in the logs on the file server.
* I can still create new files on the share from Windows! The new file
will show up locally on the file server (as verified by logging in with
SSH and checking the shared directory), and my other Windows client will
see the new file as well.
* I can also create new files locally on the file server, and these will
also show up on the Windows clients.
* I can see no difference between the existing files and any new files
created locally or through a Windows client. The file permissions are
all the same.
* The only difference between the two shares is that my home directory
is on the root filesystem (ext3) and the multimedia share
(/mnt/data/multimedia) is on a mounted ext3 file system (/mnt/data). But
this hasn't changed!
* While googling the problem I found some references to a "directory
name cache size" option which might be related, so I added a "directory
name cache size = 0" to my smb.conf, but that made no difference.

I've attached my smb.conf (I've removed all the comments for brevity).
I'll provide any log, trace or debug info if someone tells me how to.
Hopefully somebody here can help me!

Kind regards,
Pepijn Schmitz

-------------- next part --------------
	workgroup = CHAOSMANOR
	server string = Chaos Manor File Server
	interfaces = eth0
	hosts allow = 10.
	log file = /var/log/samba/log.%m
	max log size = 50
	security = user
	passdb backend = tdbsam
	domain master = no
	domain logons = no
	load printers = no
	cups options = raw
directory name cache size = 0

	comment = Home Directories
	browseable = yes
	writable = yes

	comment = Multimedia Files
	path = /mnt/data/multimedia
	public = yes
	writable = yes
	printable = no
	write list = pepijn

More information about the samba mailing list