<?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: ONTAPI to find the containing qtree or volume given a path?ONTAPI to find out the file type given a path? in Active IQ Unified Manager Discussions</title>
    <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/ONTAPI-to-find-the-containing-qtree-or-volume-given-a-path-ONTAPI-to-find-out/m-p/19896#M4298</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sudha,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; There is a CLI "dfm details" not aware of a ZAPI.&lt;/P&gt;&lt;P&gt;dfm details &amp;lt;obj id&amp;gt; will give what kind of path is it.&lt;/P&gt;&lt;P&gt;ex.&lt;/P&gt;&lt;P&gt;# dfm details 23800 | grep objType&lt;BR /&gt;objType&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Lun Path&lt;BR /&gt;#&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vishal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 03 Jan 2011 16:28:14 GMT</pubDate>
    <dc:creator>kvishal</dc:creator>
    <dc:date>2011-01-03T16:28:14Z</dc:date>
    <item>
      <title>ONTAPI to find the containing qtree or volume given a path?ONTAPI to find out the file type given a path?</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/ONTAPI-to-find-the-containing-qtree-or-volume-given-a-path-ONTAPI-to-find-out/m-p/19877#M4294</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have 6 paths as such&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. /vol/VolumeName - &lt;/P&gt;&lt;P&gt;2. /vol/VolumeName/qtree - &lt;/P&gt;&lt;P&gt;3. /vol/VolumeName/qtree/dir1 - &lt;/P&gt;&lt;P&gt;4. /vol/VolumeName/qtree/dir1/file.txt - &lt;/P&gt;&lt;P&gt;5. /vol/VolumeName/qtree/lun1&lt;/P&gt;&lt;P&gt;6. /vol/VolumeName/lun1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For each of these I need the containing volume or qtree unless the path is a lun , in which case I need the complete lun path.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the question is is there an ONTAPI to find out&amp;nbsp; file type and container type and&amp;nbsp; container name given a path.I tried to run all these paths through &lt;/P&gt;&lt;P&gt;the file-get-info API but it returns the file-type as directory for all fo them.&lt;/P&gt;&lt;P&gt;I found another api called file-inode-info whcih is documented but is not supported by the filer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am running NetApp Release 8.0 7-Mode: Thu Mar 11 16:17:13 PST 2010&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need this information while creating a dataset in DFM. DFM allows only qtree, volumes or luns to be entered into datasets&lt;/P&gt;&lt;P&gt;Any help is highly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Sudha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2025 07:04:07 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/ONTAPI-to-find-the-containing-qtree-or-volume-given-a-path-ONTAPI-to-find-out/m-p/19877#M4294</guid>
      <dc:creator>sudha_k_iyer</dc:creator>
      <dc:date>2025-06-05T07:04:07Z</dc:date>
    </item>
    <item>
      <title>Re: ONTAPI to find the containing qtree or volume given a path?ONTAPI to find out the file type given a path?</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/ONTAPI-to-find-the-containing-qtree-or-volume-given-a-path-ONTAPI-to-find-out/m-p/19882#M4295</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sudha,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; One solution I can think of, assuming you do not have direct API's&lt;/P&gt;&lt;P&gt;is to parse the pattern of the path and the use the list APIs to check whether its a lun or qtree&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/vol/x&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - this pattern can only be a volume&lt;/P&gt;&lt;P&gt;/vol/x/y&amp;nbsp;&amp;nbsp;&amp;nbsp; - this pattern can be a qtree or lun. you could use lun-list-info qtree-list APIs to check if its a qtree or lun.&lt;/P&gt;&lt;P&gt;/vol/x/y/z - this can only be a lun. you could use lun-list-info api to check if its a lun.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Dec 2010 14:34:55 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/ONTAPI-to-find-the-containing-qtree-or-volume-given-a-path-ONTAPI-to-find-out/m-p/19882#M4295</guid>
      <dc:creator>kvishal</dc:creator>
      <dc:date>2010-12-07T14:34:55Z</dc:date>
    </item>
    <item>
      <title>Re: ONTAPI to find the containing qtree or volume given a path?ONTAPI to find out the file type given a path?</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/ONTAPI-to-find-the-containing-qtree-or-volume-given-a-path-ONTAPI-to-find-out/m-p/19887#M4296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alternatively you could also use DFM APIs lun-list-iter-* and qtree-list-iter-* with object-name-or-id as the path&lt;/P&gt;&lt;P&gt;Using this you can check if the path is a valid qtree or lun before creating a dataset.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Dec 2010 14:43:16 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/ONTAPI-to-find-the-containing-qtree-or-volume-given-a-path-ONTAPI-to-find-out/m-p/19887#M4296</guid>
      <dc:creator>kvishal</dc:creator>
      <dc:date>2010-12-07T14:43:16Z</dc:date>
    </item>
    <item>
      <title>Re: ONTAPI to find the containing qtree or volume given a path?ONTAPI to find out the file type given a path?</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/ONTAPI-to-find-the-containing-qtree-or-volume-given-a-path-ONTAPI-to-find-out/m-p/19892#M4297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was doing the lun list , qtree list already was just wondering if there was an easier way to do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the replies.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Sudha &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Dec 2010 23:08:58 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/ONTAPI-to-find-the-containing-qtree-or-volume-given-a-path-ONTAPI-to-find-out/m-p/19892#M4297</guid>
      <dc:creator>sudha_k_iyer</dc:creator>
      <dc:date>2010-12-29T23:08:58Z</dc:date>
    </item>
    <item>
      <title>Re: ONTAPI to find the containing qtree or volume given a path?ONTAPI to find out the file type given a path?</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/ONTAPI-to-find-the-containing-qtree-or-volume-given-a-path-ONTAPI-to-find-out/m-p/19896#M4298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sudha,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; There is a CLI "dfm details" not aware of a ZAPI.&lt;/P&gt;&lt;P&gt;dfm details &amp;lt;obj id&amp;gt; will give what kind of path is it.&lt;/P&gt;&lt;P&gt;ex.&lt;/P&gt;&lt;P&gt;# dfm details 23800 | grep objType&lt;BR /&gt;objType&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Lun Path&lt;BR /&gt;#&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vishal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jan 2011 16:28:14 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/ONTAPI-to-find-the-containing-qtree-or-volume-given-a-path-ONTAPI-to-find-out/m-p/19896#M4298</guid>
      <dc:creator>kvishal</dc:creator>
      <dc:date>2011-01-03T16:28:14Z</dc:date>
    </item>
  </channel>
</rss>

