<?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: How to traverse a list of inodes in Network and Storage Protocols</title>
    <link>https://community.netapp.com/t5/Network-and-Storage-Protocols/How-to-traverse-a-list-of-inodes/m-p/55950#M5165</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you may be best using host-based scanning tools to get a full directory listings. I have in the past written many snippets of code that would traverse an infinitely deep directory tree, it's not too tricky.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the command line, use "priv set advanced" to go into advanced mode, then use "inodepath help" to get a full listing of the command options. To be honest, I've not used inodepath for anything before, but it may be the right thing to help you out, I'm not sure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also use "ls" in advanced mode, but again this is just single volume levels.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is a way of getting a full directory listing, but I must warn you that this is &lt;STRONG&gt;very&lt;/STRONG&gt; unsupported, and so I won't post it on the forums.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 Jun 2009 08:19:33 GMT</pubDate>
    <dc:creator>chriskranz</dc:creator>
    <dc:date>2009-06-08T08:19:33Z</dc:date>
    <item>
      <title>How to traverse a list of inodes</title>
      <link>https://community.netapp.com/t5/Network-and-Storage-Protocols/How-to-traverse-a-list-of-inodes/m-p/55931#M5162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV class="jive-rendered-content"&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to traverse the inode list for a given cifs/nfs share on a netapp filer. I would like to extract file/directory metadata and associated ACLs. If I have a list of inode list I could save myself travesring the directory tree structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly let me know if there is way by which I can get a handle on the inode list using NetApp SDK or any other mechanism.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;-Himanshu&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2025 07:27:30 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Network-and-Storage-Protocols/How-to-traverse-a-list-of-inodes/m-p/55931#M5162</guid>
      <dc:creator>himanshuashwani</dc:creator>
      <dc:date>2025-06-05T07:27:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to traverse a list of inodes</title>
      <link>https://community.netapp.com/t5/Network-and-Storage-Protocols/How-to-traverse-a-list-of-inodes/m-p/55937#M5163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure what you are trying to achieve by getting a full listing of the inode tables, and I don't think it'll give you the information you are after.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can have a look at "inodepath", which is a "priv set advanced" command, and as such, not supported. But it does have some functionality for querying inodes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"fsecurity" can output some good details on what ACL's are set, but they aren't easily traversed, and I'm not sure it'll traverse all the sub-directories easily.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But what information are you looking for?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jun 2009 07:52:19 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Network-and-Storage-Protocols/How-to-traverse-a-list-of-inodes/m-p/55937#M5163</guid>
      <dc:creator>chriskranz</dc:creator>
      <dc:date>2009-06-08T07:52:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to traverse a list of inodes</title>
      <link>https://community.netapp.com/t5/Network-and-Storage-Protocols/How-to-traverse-a-list-of-inodes/m-p/55945#M5164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Chirs for the prompt reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically I want to traverse the directory tree, for a given share, and get all metadata for files and directories including ACL information. Now I can do this by writing depth-first or breadth-first search code to traverse the tree. I want to avoid writing these recrusive procedures since the depth and breadth of the tree is unknown.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if I have a list of all inodes, I can traverse the list and get the full pathnames of objects corresponding to those inodes. I could then use the pathnames to query for metadata and ACL information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this clarifies. I've looked at fsecurity which I may use once I have the object path name.So my question is would I be able to get a list of inodes?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you share more information on inodepath? I don't know how to use 'priv set advanced'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Himanshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jun 2009 08:04:55 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Network-and-Storage-Protocols/How-to-traverse-a-list-of-inodes/m-p/55945#M5164</guid>
      <dc:creator>himanshuashwani</dc:creator>
      <dc:date>2009-06-08T08:04:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to traverse a list of inodes</title>
      <link>https://community.netapp.com/t5/Network-and-Storage-Protocols/How-to-traverse-a-list-of-inodes/m-p/55950#M5165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you may be best using host-based scanning tools to get a full directory listings. I have in the past written many snippets of code that would traverse an infinitely deep directory tree, it's not too tricky.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the command line, use "priv set advanced" to go into advanced mode, then use "inodepath help" to get a full listing of the command options. To be honest, I've not used inodepath for anything before, but it may be the right thing to help you out, I'm not sure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also use "ls" in advanced mode, but again this is just single volume levels.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is a way of getting a full directory listing, but I must warn you that this is &lt;STRONG&gt;very&lt;/STRONG&gt; unsupported, and so I won't post it on the forums.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jun 2009 08:19:33 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Network-and-Storage-Protocols/How-to-traverse-a-list-of-inodes/m-p/55950#M5165</guid>
      <dc:creator>chriskranz</dc:creator>
      <dc:date>2009-06-08T08:19:33Z</dc:date>
    </item>
  </channel>
</rss>

