<?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: Where is this CIFS share located? in Network and Storage Protocols</title>
    <link>https://community.netapp.com/t5/Network-and-Storage-Protocols/Where-is-this-CIFS-share-located/m-p/73612#M6659</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You say "...in addition to volumes or qtrees, a share could also be created by..."&amp;nbsp; I'm not sure what you mean by that first bit.&amp;nbsp; CIFS shares are not automatically created when a volume or qtree is created (unlike NFS exports, if nfs.export.auto-update is set, an export will be created for new volumes (but not qtrees)).&amp;nbsp; The only ways to create a CIFS share on the filer is with that command, with one of the NetApp management tools, or as I mentioned earlier through the windows server side.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To answer your question, there is not a command to do what you're asking.&amp;nbsp; "cifs shares" will list all the shares and the volume/path they point to, so you could do some sorting on that output, but it won't tell you about qtrees.&amp;nbsp; You could run "qtree status" and match between the two to figure it out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bill&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 15 Sep 2013 17:22:42 GMT</pubDate>
    <dc:creator>billshaffer</dc:creator>
    <dc:date>2013-09-15T17:22:42Z</dc:date>
    <item>
      <title>Where is this CIFS share located?</title>
      <link>https://community.netapp.com/t5/Network-and-Storage-Protocols/Where-is-this-CIFS-share-located/m-p/73590#M6654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to find out where is my cifs share "a1" located. &lt;/P&gt;&lt;P&gt;I know for sure it is under volume vol3. However, when I run qtree status vol3, I don't see "a1" tree is listed there.&amp;nbsp; Could it be possible that the share is not in a qtree? then where is the share located? Thanks for your help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;cifs shares a1_vol3$&lt;/P&gt;&lt;P&gt;Name&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mount Point&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; Description&lt;/P&gt;&lt;P&gt;----&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; -----------&lt;/P&gt;&lt;P&gt;a1_vol3$ /vol/vol3&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2025 05:54:01 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Network-and-Storage-Protocols/Where-is-this-CIFS-share-located/m-p/73590#M6654</guid>
      <dc:creator>CITMAGIC123</dc:creator>
      <dc:date>2025-06-05T05:54:01Z</dc:date>
    </item>
    <item>
      <title>Re: Where is this CIFS share located?</title>
      <link>https://community.netapp.com/t5/Network-and-Storage-Protocols/Where-is-this-CIFS-share-located/m-p/73594#M6655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It looks to me like the share named "a1_vol3$" maps to vol3.&amp;nbsp; "a1" is only in the name of the share, not the volume/qtree.&amp;nbsp; So when you do a qtree status, you'll see the volume (vol3) represented, but again "a1" is only a designation for the share name.&amp;nbsp; As to your implication that shares must/should be in a qtree, this is simply not the case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or have I misunderstood your question?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bill&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Sep 2013 20:39:51 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Network-and-Storage-Protocols/Where-is-this-CIFS-share-located/m-p/73594#M6655</guid>
      <dc:creator>billshaffer</dc:creator>
      <dc:date>2013-09-13T20:39:51Z</dc:date>
    </item>
    <item>
      <title>Re: Where is this CIFS share located?</title>
      <link>https://community.netapp.com/t5/Network-and-Storage-Protocols/Where-is-this-CIFS-share-located/m-p/73599#M6656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bill,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;got your points. Thanks!&lt;/P&gt;&lt;P&gt;Now if a1 is not a volume, nor a qtree, then how has this share a1 been mapped to the volume vol3, or how was it created? Was it created on a Window server as a folder, and then shown on the filer as "a1_vol3$"?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Sep 2013 20:46:26 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Network-and-Storage-Protocols/Where-is-this-CIFS-share-located/m-p/73599#M6656</guid>
      <dc:creator>CITMAGIC123</dc:creator>
      <dc:date>2013-09-13T20:46:26Z</dc:date>
    </item>
    <item>
      <title>Re: Where is this CIFS share located?</title>
      <link>https://community.netapp.com/t5/Network-and-Storage-Protocols/Where-is-this-CIFS-share-located/m-p/73603#M6657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A share is created by "cifs shares -add &amp;lt;sharename&amp;gt; &amp;lt;path&amp;gt; [&amp;lt;options&amp;gt;]".&amp;nbsp; The name of the share is completely independant from the name of the path.&amp;nbsp; Personally, I like to name my share after the volume/qtree/directory/whatever, just to keep my sanity, but not everyone does (or can).&amp;nbsp; So in this case, "cifs shares -add a1_vol3$ /vol/vol3" would have created this share.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is a way to create shares from windows servers if they have the proper permissions, but I've not had any real experience there, so I can't say for sure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does that help?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bill&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Sep 2013 21:46:06 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Network-and-Storage-Protocols/Where-is-this-CIFS-share-located/m-p/73603#M6657</guid>
      <dc:creator>billshaffer</dc:creator>
      <dc:date>2013-09-13T21:46:06Z</dc:date>
    </item>
    <item>
      <title>Re: Where is this CIFS share located?</title>
      <link>https://community.netapp.com/t5/Network-and-Storage-Protocols/Where-is-this-CIFS-share-located/m-p/73608#M6658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Definitely, you have helped me a lot on this question! You could tell that I am new to CIFS SHARES.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have one more last question.&lt;/P&gt;&lt;P&gt;As I understand so far, in addition to volumes or qtrees, a share could also be created by using the command you provided "cifs share -add..". My question is, are there any commands to list all shares under a volume, including all qtrees shares or non-qtree shares? Otherwise, I would not know what and how many shares under volumes...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Sep 2013 13:42:58 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Network-and-Storage-Protocols/Where-is-this-CIFS-share-located/m-p/73608#M6658</guid>
      <dc:creator>CITMAGIC123</dc:creator>
      <dc:date>2013-09-15T13:42:58Z</dc:date>
    </item>
    <item>
      <title>Re: Where is this CIFS share located?</title>
      <link>https://community.netapp.com/t5/Network-and-Storage-Protocols/Where-is-this-CIFS-share-located/m-p/73612#M6659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You say "...in addition to volumes or qtrees, a share could also be created by..."&amp;nbsp; I'm not sure what you mean by that first bit.&amp;nbsp; CIFS shares are not automatically created when a volume or qtree is created (unlike NFS exports, if nfs.export.auto-update is set, an export will be created for new volumes (but not qtrees)).&amp;nbsp; The only ways to create a CIFS share on the filer is with that command, with one of the NetApp management tools, or as I mentioned earlier through the windows server side.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To answer your question, there is not a command to do what you're asking.&amp;nbsp; "cifs shares" will list all the shares and the volume/path they point to, so you could do some sorting on that output, but it won't tell you about qtrees.&amp;nbsp; You could run "qtree status" and match between the two to figure it out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bill&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Sep 2013 17:22:42 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Network-and-Storage-Protocols/Where-is-this-CIFS-share-located/m-p/73612#M6659</guid>
      <dc:creator>billshaffer</dc:creator>
      <dc:date>2013-09-15T17:22:42Z</dc:date>
    </item>
    <item>
      <title>Re: Where is this CIFS share located?</title>
      <link>https://community.netapp.com/t5/Network-and-Storage-Protocols/Where-is-this-CIFS-share-located/m-p/73616#M6660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could do a non-interactive SSH. Plink the cifs shares command to the filer and then pipe the output through findstr (windows native version of grep).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Sep 2013 23:04:04 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Network-and-Storage-Protocols/Where-is-this-CIFS-share-located/m-p/73616#M6660</guid>
      <dc:creator>ChanceBingen</dc:creator>
      <dc:date>2013-09-15T23:04:04Z</dc:date>
    </item>
    <item>
      <title>Re: Where is this CIFS share located?</title>
      <link>https://community.netapp.com/t5/Network-and-Storage-Protocols/Where-is-this-CIFS-share-located/m-p/73622#M6661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi bingen,&lt;/P&gt;&lt;P&gt;Would you please explore your idea more in details? It'd better to show me an example. Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Sep 2013 11:19:55 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Network-and-Storage-Protocols/Where-is-this-CIFS-share-located/m-p/73622#M6661</guid>
      <dc:creator>netappmagic</dc:creator>
      <dc:date>2013-09-16T11:19:55Z</dc:date>
    </item>
    <item>
      <title>Re: Where is this CIFS share located?</title>
      <link>https://community.netapp.com/t5/Network-and-Storage-Protocols/Where-is-this-CIFS-share-located/m-p/73626#M6662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here's an example from one of my lab filers (edited for content, obviously).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;C:\Program Files (x86)\PuTTY&amp;gt;plink &amp;lt;username&amp;gt;@&amp;lt;filername&amp;gt; -pw &amp;lt;password&amp;gt; "cifs shares" | findstr web&lt;/P&gt;&lt;P&gt;web&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /vol/web&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So you can see, it only printed lines that had the string "web" in it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, a much better way to do this is with the Data ONTAP PowerShell Toolkit, using very basic PowerShell skills you can get the same results without having to leverage PLink.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS C:\Users\myuser&amp;gt; Get-NaCifsShare | Where {$_.MountPoint -eq "/vol/web"}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MountPoint&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ShareName&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; Description&lt;/P&gt;&lt;P&gt;----------&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;&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; -----------&lt;/P&gt;&lt;P&gt;/vol/web&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; web&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Sep 2013 14:41:16 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Network-and-Storage-Protocols/Where-is-this-CIFS-share-located/m-p/73626#M6662</guid>
      <dc:creator>ChanceBingen</dc:creator>
      <dc:date>2013-09-16T14:41:16Z</dc:date>
    </item>
  </channel>
</rss>

