Files on CIFS share show no contents until updated
Issue
- A CIFS share is mounted from our NAS on several different Windows and RHEL clients
- A file is updated on the NAS by another system via FTP
- That file can no longer be read on some CIFS clients until the file is updated again
Output from RHEL system displaying issue
#df -h
Filesystem Size Used Avail Use% Mounted on
//CIFS-SERVER/share 1.2T 904G 281G 77% /mountpoint
# ls -l /mountpoint/examplefile
-rw-r--r-- 1 root root 176 Jun 28 23:02 /mountpoint/examplefile
# cat /mountpoint/examplefile
# cksum /mountpoint/examplefile
1119974017 176 /mountpoint/examplefile
Output from RHEL system working as expected
#df -h
Filesystem Size Used Avail Use% Mounted on
//CIFS-SERVER/share 1.2T 904G 281G 77% /mountpoint
# ls -l /mountpoint/examplefile
-rw-r--r-- 1 root root 176 Jun 28 23:02 /mountpoint/examplefile
# cat /mountpoint/examplefile
<shows expected file contents>
# cksum /mountpoint/examplefile
2807975810 176 /mountpoint/examplefile
Environment
- Red Hat Enterprise Linux 5
- CIFS share mounted on multiple RHEL servers
- Files on the share are updated by other means
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
