<?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 Re: Build list of files on a volume in Software Development Kit (SDK) and API Discussions</title>
    <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Build-list-of-files-on-a-volume/m-p/37249#M334</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE __jive_macro_name="quote" class="jive_text_macro jive_macro_quote" modifiedtitle="true"&gt;&lt;P&gt;uzimmermann wrote:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So my question, is there a way via the SDK/API to get a list of files, which could be faster?&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As Amir mentioned, there are ZAPI calls for this, however they're not going to be more efficient than walking it via NFS.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Jun 2012 03:14:17 GMT</pubDate>
    <dc:creator>kevingraham</dc:creator>
    <dc:date>2012-06-27T03:14:17Z</dc:date>
    <item>
      <title>Build list of files on a volume</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Build-list-of-files-on-a-volume/m-p/37240#M332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We currently use a NetApp v3140 to house a NFS volume for images. Currently there are about 25-26 million files. Once a week we are running a find on that volume to build a list of files, but lately it has been slower and slower, taking 12-20 hours. All we need is a list of names, for this purpose we do not care about the path or any other information returned by stat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So my question, is there a way via the SDK/API to get a list of files, which could be faster?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2025 06:24:25 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Build-list-of-files-on-a-volume/m-p/37240#M332</guid>
      <dc:creator>uzimmermann</dc:creator>
      <dc:date>2025-06-05T06:24:25Z</dc:date>
    </item>
    <item>
      <title>Re: Build list of files on a volume</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Build-list-of-files-on-a-volume/m-p/37244#M333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You can try "file-list-directory-iter-*"&amp;nbsp;&amp;nbsp; API to get the list of files in a directory path starting with "/vol" and then iterate over the list using "file-list-directory-iter-next" API to get the info about the individual file like name,etc. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While iterating you can query how many more records are remaining, whether to continue or stop,etc. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;-Amir&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Jun 2012 05:38:51 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Build-list-of-files-on-a-volume/m-p/37244#M333</guid>
      <dc:creator>amirm</dc:creator>
      <dc:date>2012-06-23T05:38:51Z</dc:date>
    </item>
    <item>
      <title>Re: Build list of files on a volume</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Build-list-of-files-on-a-volume/m-p/37249#M334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE __jive_macro_name="quote" class="jive_text_macro jive_macro_quote" modifiedtitle="true"&gt;&lt;P&gt;uzimmermann wrote:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So my question, is there a way via the SDK/API to get a list of files, which could be faster?&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As Amir mentioned, there are ZAPI calls for this, however they're not going to be more efficient than walking it via NFS.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jun 2012 03:14:17 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Build-list-of-files-on-a-volume/m-p/37249#M334</guid>
      <dc:creator>kevingraham</dc:creator>
      <dc:date>2012-06-27T03:14:17Z</dc:date>
    </item>
  </channel>
</rss>

