<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Find command does not see files until directory is accessed in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/find-command-does-not-see-files-until-directory-is-accessed/m-p/4777850#M606891</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;We have a HP Unix B.11.23 on which we have a mounted directory to a windows server "/mnt/index".&lt;BR /&gt;In this directory there are several subdirectories (one for each user) where the users can drop some files (through their "windows" client PC's). A program then reads these directories and indexes the files that the users have dropped. I now have the following problem. Sometimes some dropped files are not seen by the "find /mnt/index -type f" command.&lt;BR /&gt;This happens only sometimes and for some files only (which are not different from the other files). The problem to find these specific files keeps persisting until the user accesses the directory in which the files are stored (on his windows client PC) or when I execute the following command : ll /mnt/index/01_user where 01_user is the subdir where the files are stored. After that the find-command does find the files.&lt;BR /&gt;&lt;BR /&gt;Isn't that strange ?&lt;BR /&gt;&lt;BR /&gt;Best regards,</description>
    <pubDate>Fri, 15 Apr 2011 06:19:24 GMT</pubDate>
    <dc:creator>Brecht De Baets</dc:creator>
    <dc:date>2011-04-15T06:19:24Z</dc:date>
    <item>
      <title>Find command does not see files until directory is accessed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/find-command-does-not-see-files-until-directory-is-accessed/m-p/4777850#M606891</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;We have a HP Unix B.11.23 on which we have a mounted directory to a windows server "/mnt/index".&lt;BR /&gt;In this directory there are several subdirectories (one for each user) where the users can drop some files (through their "windows" client PC's). A program then reads these directories and indexes the files that the users have dropped. I now have the following problem. Sometimes some dropped files are not seen by the "find /mnt/index -type f" command.&lt;BR /&gt;This happens only sometimes and for some files only (which are not different from the other files). The problem to find these specific files keeps persisting until the user accesses the directory in which the files are stored (on his windows client PC) or when I execute the following command : ll /mnt/index/01_user where 01_user is the subdir where the files are stored. After that the find-command does find the files.&lt;BR /&gt;&lt;BR /&gt;Isn't that strange ?&lt;BR /&gt;&lt;BR /&gt;Best regards,</description>
      <pubDate>Fri, 15 Apr 2011 06:19:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/find-command-does-not-see-files-until-directory-is-accessed/m-p/4777850#M606891</guid>
      <dc:creator>Brecht De Baets</dc:creator>
      <dc:date>2011-04-15T06:19:24Z</dc:date>
    </item>
    <item>
      <title>Re: Find command does not see files until directory is accessed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/find-command-does-not-see-files-until-directory-is-accessed/m-p/4777851#M606892</link>
      <description>it sounds like you have an automounter. Are you using CIFS? I've not heard of a CIFS automounter.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;mounted directory to a windows server "/mnt/index".&lt;BR /&gt;&lt;BR /&gt;I guess you wanted to say "from a windows server", or how can you run a find command on windows?&lt;BR /&gt;&lt;BR /&gt;please clarify, what protocol, which os version, and which box shares the filesystem to which client</description>
      <pubDate>Fri, 15 Apr 2011 07:05:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/find-command-does-not-see-files-until-directory-is-accessed/m-p/4777851#M606892</guid>
      <dc:creator>Viktor Balogh</dc:creator>
      <dc:date>2011-04-15T07:05:57Z</dc:date>
    </item>
    <item>
      <title>Re: Find command does not see files until directory is accessed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/find-command-does-not-see-files-until-directory-is-accessed/m-p/4777852#M606893</link>
      <description>On a windows 2003 server we have the following folder \\server\indexering.&lt;BR /&gt;I just have a mount in unix on that folder(through /etc/fstab =&amp;gt; cifs). The name of the directory in unix is /mnt/index.&lt;BR /&gt;&lt;BR /&gt;The windows directory (indexering) which is mounted contains subfolders (one for each user). The users are dropping files through their client windows PC's in these subfolders.&lt;BR /&gt;&lt;BR /&gt;So if I execute a find statement in unix I should see these files (find /mnt/index -type f). In 99 % of the cases I do see these files when I execute a "find -type f" command, but sometimes the find command does not find the file, however an "ll" command does find it and after executing an "ll" command the find command also does find the file.&lt;BR /&gt;&lt;BR /&gt;So : &lt;BR /&gt;1) User saves a file in a subdirectory on   &lt;BR /&gt;   their client PC's (windows XP) for &lt;BR /&gt;   example in \\server\indexering\user_a&lt;BR /&gt;2) Most of the times (in unix) &lt;BR /&gt;   "find /mnt/index -type f" gives this &lt;BR /&gt;   saved file as a result. But sometimes it &lt;BR /&gt;   doesn't. So let's say "find /mnt/index -&lt;BR /&gt;   type f" gives no result.&lt;BR /&gt;3) After the user accesses the folder in &lt;BR /&gt;   windows explorer to see if the file is &lt;BR /&gt;   there (\\server\indexering\user_a)&lt;BR /&gt;   OR&lt;BR /&gt;   After in unix I execute the statement :&lt;BR /&gt;   ll /mnt/index/user_a &lt;BR /&gt;   =&amp;gt; the command "find /mnt/index -type f"&lt;BR /&gt;   does find the file.</description>
      <pubDate>Fri, 15 Apr 2011 08:13:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/find-command-does-not-see-files-until-directory-is-accessed/m-p/4777852#M606893</guid>
      <dc:creator>Brecht De Baets</dc:creator>
      <dc:date>2011-04-15T08:13:18Z</dc:date>
    </item>
  </channel>
</rss>

