<?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 Get-NcVol won't show path from Get-NcCifsShare in Software Development Kit (SDK) and API Discussions</title>
    <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Get-NcVol-won-t-show-path-from-Get-NcCifsShare/m-p/150258#M2950</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Most of our CIFS volumes have their namespace under vol, a leftover from our 7-mode days. Recently, we have simply allowed Ontap to create the namespace, which results in /flexvol1 instead of /vol/flexvol1 as a path. Using&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;$sharedetails = Get-NcCifsShare $sharename
Get-NcVol $sharedetails.Path&lt;/PRE&gt;
&lt;P&gt;gives a result for Get-NcVol $sharedetails.Path if the namespace is in /vol. But the same query on a volume in / returns a null. Anyone have any ideas? TIA.&lt;/P&gt;</description>
    <pubDate>Wed, 04 Jun 2025 12:19:24 GMT</pubDate>
    <dc:creator>sillywalk</dc:creator>
    <dc:date>2025-06-04T12:19:24Z</dc:date>
    <item>
      <title>Get-NcVol won't show path from Get-NcCifsShare</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Get-NcVol-won-t-show-path-from-Get-NcCifsShare/m-p/150258#M2950</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Most of our CIFS volumes have their namespace under vol, a leftover from our 7-mode days. Recently, we have simply allowed Ontap to create the namespace, which results in /flexvol1 instead of /vol/flexvol1 as a path. Using&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;$sharedetails = Get-NcCifsShare $sharename
Get-NcVol $sharedetails.Path&lt;/PRE&gt;
&lt;P&gt;gives a result for Get-NcVol $sharedetails.Path if the namespace is in /vol. But the same query on a volume in / returns a null. Anyone have any ideas? TIA.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 12:19:24 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Get-NcVol-won-t-show-path-from-Get-NcCifsShare/m-p/150258#M2950</guid>
      <dc:creator>sillywalk</dc:creator>
      <dc:date>2025-06-04T12:19:24Z</dc:date>
    </item>
    <item>
      <title>Re: Get-NcVol won't show path from Get-NcCifsShare</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Get-NcVol-won-t-show-path-from-Get-NcCifsShare/m-p/150344#M2951</link>
      <description>&lt;P&gt;I get the same behavior running ONTAP 9.3P14 with version 9.6 of the PowerShell Toolkit. However, if you pipe your Get-NcCifsShare output to Get-NcVol, it does actually return the proper data, so that might be an option for you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;Get-NcCifsShare &amp;lt;share_name&amp;gt; | Get-NcVol 
&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2019 15:41:58 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Get-NcVol-won-t-show-path-from-Get-NcCifsShare/m-p/150344#M2951</guid>
      <dc:creator>donny_lang</dc:creator>
      <dc:date>2019-08-19T15:41:58Z</dc:date>
    </item>
  </channel>
</rss>

