[Samba] Files not appearing on Samba mount.

Garry Argrave Garry.Argrave at ProQuestAlison.com
Mon Nov 22 17:21:26 GMT 2004


We have a share on a Windows 2000 Server that is mounted onto a RedHat
box 
using the following entry in fstab:

//server/filesystem /opt/bumvfs smbfs 
username=username,password=password,debug=4,dmask=777,fmask=777,sockopt=
SO_KEEPALIVE 
0 0

On this we create a directory structure such as:

\dodgy_test\wxy2\VFStp\VFSnetwork_entities\VFSCommonReports\VFSGM_H\VFSR
eports\VFSStandard+Reports\VFSRegion

Then we create files with names such as:

19/11/2004 12:21 207 VFSREGN1+%280603%29+deFILE.vfsproperties
19/11/2004 12:21 45,526 VFSREGN1+%280603%29+en
19/11/2004 12:21 206 VFSREGN1+%280603%29+enFILE.vfsproperties
19/11/2004 12:21 202 VFSREGN1+%280603%29FILE.vfsproperties
19/11/2004 12:21 92,539 VFSREGN1+%280604%29
19/11/2004 12:21 81,633 VFSREGN1+%280604%29+de
19/11/2004 12:21 207 VFSREGN1+%280604%29+deFILE.vfsproperties
19/11/2004 12:21 75,055 VFSREGN1+%280604%29+en
19/11/2004 12:21 206 VFSREGN1+%280604%29+enFILE.vfsproperties
19/11/2004 12:21 202 VFSREGN1+%280604%29FILE.vfsproperties
19/11/2004 12:21 59,911 VFSREGN1+%280702%29
19/11/2004 12:21 202 VFSREGN1+%280702%29FILE.vfsproperties
19/11/2004 12:21 61,171 VFSREGN1+%280703%29
19/11/2004 12:21 49,564 VFSREGN1+%280703%29+de
19/11/2004 12:21 207 VFSREGN1+%280703%29+deFILE.vfsproperties

The files appear fine on the Windows box and can be seen with no
problem. 
If you go to this directory on the Samba mount on the Linux box you
cannot 
see the files unless you create a file with a letter at the beginning of
the 
alpabet (see below).


The directory listing is like this :

[aainternal at distill VFSRegion]$ ls -la
total 0
[aainternal at distill VFSRegion]$



Until you create a file with a name at the front of the Alphabet.

[aainternal at distill VFSRegion]$ touch Aardvark

[aainternal at distill VFSRegion]$ ls -la | more

total 16299

drwxrwxrwx 1 root root 4096 Nov 22 10:12 .

drwxrwxrwx 1 root root 4096 Nov 19 13:59 ..

-rwxr-xr-x 1 root root 0 Nov 22 10:12 Aardvark

-rwxr-xr-x 1 root root 10 Nov 22 09:26 BigAaardvark

-rwxr-xr-x 1 root root 207 Nov 19 12:21 
VFSREGN1+%280603%29+deFILE.vfsproperties

-rwxr-xr-x 1 root root 45526 Nov 19 12:21 
VFSREGN1+%280603%29+en

-rwxr-xr-x 1 root root 206 Nov 19 12:21 
VFSREGN1+%280603%29+enFILE.vfsproperties

-rwxr-xr-x 1 root root 202 Nov 19 12:21 
VFSREGN1+%280603%29FILE.vfsproperties

-rwxr-xr-x 1 root root 92539 Nov 19 12:21 VFSREGN1+%280604%29

-rwxr-xr-x 1 root root 81633 Nov 19 12:21 
VFSREGN1+%280604%29+de

-rwxr-xr-x 1 root root 207 Nov 19 12:21 
VFSREGN1+%280604%29+deFILE.vfsproperties

-rwxr-xr-x 1 root root 75055 Nov 19 12:21 
VFSREGN1+%280604%29+en

And so on.



If you then remove those files at the front of the Alphabet you get this
:

[aainternal at distill VFSRegion]$ rm Aardvark BigAaardvark

rm: remove regular empty file `Aardvark'? Y

rm: remove regular file `BigAaardvark'? Y

[aainternal at distill VFSRegion]$ ls -la

total 0

[aainternal at distill VFSRegion]$


We have tried this on RedHat 9 running 2.4.20-31.9smp and samba 2.2.7a 
and also on RedHat Enterprise running 2.4.21-20.ELsmp and Samba 
3.0.7-1.3E.1.

Has anyone else seen this before and is there any way around it????

Any help appreciated.









_______________________________________________________
ProQuest Alison

The information contained in this e-mail and any attached files is intended only for the use of the person(s) to whom it is addressed and may be privileged, confidential and exempt from disclosure under applicable law. The views of the author may not necessarily reflect the views of the Company. If you are not the intended recipient please do not copy or convey this message or any attached files to any other person but delete this message and any attached files and notify us of incorrect receipt via e-mail to mailadmin at proquestalison.com.


________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet.


More information about the samba mailing list