This may be wide of the mark, but recalling similar effects from the past, check you don't have files which appear identically named but differ in case sensitivity. CIFS, and guessing SMBFS from Linux, treats names as case insensitive and if you have two which differ slightly in case, may just display the first one which matches.
Its a long time since I've seen or dealt with this but worth checking out.
... Paul
Paul Jones, B.Sc, M.Sc, Ph.D. - Head of Systems Services, Information Technology Service, Durham University, South Road, Durham DH1 3LE Email: p.s.jones@durham.ac.uk, Phone/Fax: 0191 334 2749/2701
-----Original Message----- From: owner-toasters@mathworks.com [mailto:owner-toasters@mathworks.com] On Behalf Of Buerger, Andreas Sent: 30 May 2008 12:03 To: toasters@mathworks.com Subject: Different view of the same file from win & linux
Hi,
We are experiencing a strange issue on one of our r200 systems. We have a volume, which is accessed from linux and windows. There is no issue with rights etc, the problem is that there are a few files, that have been created some time ago, have different versions and a different content, just from the OS that you are looking from.
I tracked this user issue on my admin host (SuSe 9.3 2.6.11.4-20a-default): (The original host is running on Solaris, both the problem occurs on every host) I mounted the volume twice, via NFS & CIFS.
SMB Mount: //nstore2/pdmmig$ on /mnt1 type smbfs (0)
NFS Mount: nstore2:/vol/pdmmig on /mnt type nfs (rw,addr=172.18.131.211)
This is one of the files that are affected by this strange issue:
ls -l /mnt1/mcad_vault/Singapore_Dev_Loc_xml/CAD_NEW_1_CAApData.xml -rwxr-xr-x 1 root root 2540 Jul 19 2007 /mnt1/mcad_vault/Singapore_Dev_Loc_xml/CAD_NEW_1_CAApData.xml
ls -l /mnt/mcad_vault/Singapore_Dev_Loc_xml/CAD_NEW_1_CAApData.xml -rw-rw-rw- 1 6500 6500 4136 Jul 20 2007 /mnt/mcad_vault/Singapore_Dev_Loc_xml/CAD_NEW_1_CAApData.xml
A diff on both files, proves the difference that is already indicated by the file size. There is no difference between the two paths, both mounts point to the same path and to the same file, but there is a difference in the content between them. I've already tested a little bit with caching, links etc, but this doesn't seem to point in the right way. Additionally it's not possible for me, to reproduce the problem with new files.
Do you have any ideas?
Regards Andreas
Wincor Nixdorf Int. GmbH WN CIO4 Computing & Storage Heinz-Nixdorf-Ring 1 33106 Paderborn
Phone: +49 5251 693 4215 Fax: +49 5251 693 4200 Mail: andreas.buerger@wincor-nixdorf.com
-- WINCOR NIXDORF International GmbH Sitz der Gesellschaft: Paderborn Registergericht Paderborn HRB 3507 Geschäftsführer: Eckard Heidloff (Vorsitzender), Stefan Auerbach, Dr. Jürgen Wunram Vorsitzender des Aufsichtsrats: Karl-Heinz Stiller Steuernummer: 339/5884/0020 - Ust-ID Nr.: DE812927716 - WEEE-Reg.-Nr. DE44477193
Diese E-Mail enthält vertrauliche Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese E-Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser E-Mail ist nicht gestattet.
This e-mail may contain confidential information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden.