I have a problem with accessing files on an ext4 file system mounted as type NFS on a Linux server running CENTOS 6.5. I know the files exist on this file system because I can see them when I explicitly call them (e.g. with ls
, awk
, or cat
), but are not visible to some programs like rsync
or when piped from ls
into another program like grep
or awk
.
As an example to clarify, the following will return empty:
ls /mnt/seisvault2/data/sac/201402/20140203_220000_MAN/ | grep WCI\.BH1\.IU.10
While this shows me that the file actually exists:
ls /mnt/seisvault2/data/sac/201402/20140203_220000_MAN/WCI.BH1.IU.10
.
In the numerous directories where this is a problem, most files appear normally, without needing to be called explicitly as shown in the example.
Can anyone help me understand this problem?
As an example of why this is a problem, rsync -a copies the "missing" files on its first run, but for each subsequent run, it doesn't think the file is in the target directory, and so copies it again.