<?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: Validate that a path is valid for a cifs share creation in Network and Storage Protocols</title>
    <link>https://community.netapp.com/t5/Network-and-Storage-Protocols/Validate-that-a-path-is-valid-for-a-cifs-share-creation/m-p/135933#M8902</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am working on a similar script in powershell to validate DR will work.&lt;/P&gt;&lt;P&gt;We don't have SVM DR setup yet.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you share your script please.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Fri, 10 Nov 2017 03:35:05 GMT</pubDate>
    <dc:creator>nitish</dc:creator>
    <dc:date>2017-11-10T03:35:05Z</dc:date>
    <item>
      <title>Validate that a path is valid for a cifs share creation</title>
      <link>https://community.netapp.com/t5/Network-and-Storage-Protocols/Validate-that-a-path-is-valid-for-a-cifs-share-creation/m-p/116586#M8247</link>
      <description>&lt;P&gt;I'm writing a script to validate that our DR SVM is recoverable, in terms of having the same CIFS properties, shares, access, and user mappings. That said, CIFS shares can be created on any inode, not just a qtree, and a perfectly legal command to create a share will fail if the folder being shared has been deleted.&amp;nbsp;I'd like to include a check to see that the path I've saved is a valid target for a CIFS share, but I would rather not have to check this by opening the share with NFS or CIFS. Is there a way to do this in the CLI or API?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm using CDOT 8.2.3.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Mar 2016 21:37:13 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Network-and-Storage-Protocols/Validate-that-a-path-is-valid-for-a-cifs-share-creation/m-p/116586#M8247</guid>
      <dc:creator>basilberntsen</dc:creator>
      <dc:date>2016-03-02T21:37:13Z</dc:date>
    </item>
    <item>
      <title>Re: Validate that a path is valid for a cifs share creation</title>
      <link>https://community.netapp.com/t5/Network-and-Storage-Protocols/Validate-that-a-path-is-valid-for-a-cifs-share-creation/m-p/116589#M8248</link>
      <description>&lt;P&gt;Upgrade to 8.3.1 and use SVM-DR.. &amp;nbsp; And in 8.4 it's going to be all like 7-mode vfiler.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I wouldn't waste your time writing powershell scripts if it's essentially all done.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What i've done in the past is use identity preserve mode and then have custom workflow to add the right lif and remove the other one&lt;/P&gt;</description>
      <pubDate>Wed, 02 Mar 2016 21:04:13 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Network-and-Storage-Protocols/Validate-that-a-path-is-valid-for-a-cifs-share-creation/m-p/116589#M8248</guid>
      <dc:creator>JGPSHNTAP</dc:creator>
      <dc:date>2016-03-02T21:04:13Z</dc:date>
    </item>
    <item>
      <title>Re: Validate that a path is valid for a cifs share creation</title>
      <link>https://community.netapp.com/t5/Network-and-Storage-Protocols/Validate-that-a-path-is-valid-for-a-cifs-share-creation/m-p/116591#M8249</link>
      <description>&lt;P&gt;It'll take a while before that's ready, and in the meantime, I have DR tests to pass.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Mar 2016 21:35:42 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Network-and-Storage-Protocols/Validate-that-a-path-is-valid-for-a-cifs-share-creation/m-p/116591#M8249</guid>
      <dc:creator>basilberntsen</dc:creator>
      <dc:date>2016-03-02T21:35:42Z</dc:date>
    </item>
    <item>
      <title>Re: Validate that a path is valid for a cifs share creation</title>
      <link>https://community.netapp.com/t5/Network-and-Storage-Protocols/Validate-that-a-path-is-valid-for-a-cifs-share-creation/m-p/116864#M8266</link>
      <description>&lt;P&gt;Hello&amp;nbsp;basilberntsen,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can have your scrip checking if the directory exist using the "ls" command from the node layer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;below is an example of what you can run.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;mohammaj-cluster::*&amp;gt; cifs share show -vserver vs2 -share-name odx -fields path&lt;BR /&gt;vserver share-name path&lt;BR /&gt;------- ---------- ----&lt;BR /&gt;vs2 odx /odx&lt;/P&gt;&lt;P&gt;mohammaj-cluster::*&amp;gt; vol show -vserver vs2 -volume odx -fields node&lt;BR /&gt;vserver volume node&lt;BR /&gt;------- ------ -------------------&lt;BR /&gt;vs2 odx mohammaj-cluster-01&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;mohammaj-cluster::*&amp;gt; node run -node mohammaj-cluster-01 "priv set diag; ls /vol/odx"&lt;BR /&gt;.&lt;BR /&gt;..&lt;BR /&gt;dir1&lt;BR /&gt;dir11&lt;/P&gt;&lt;P&gt;mohammaj-cluster::*&amp;gt; node run -node mohammaj-cluster-01 "priv set diag; ls /vol/odx/dir1" &amp;nbsp; &amp;nbsp;&amp;lt;--- you can add somthing like this to your script.&lt;BR /&gt;.&lt;BR /&gt;..&lt;BR /&gt;odx_2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Usually you will have "/vol/volumename" as a path for your volume. Note that&amp;nbsp;if you will have the same volume name living on the same node for different vservers. you may have diffrent path. example&amp;nbsp;&lt;SPAN&gt;"/vol/volumename(1)"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;mohammaj-cluster::*&amp;gt; node run -node mohammaj-cluster-01 "priv set diag; vol status"&lt;BR /&gt;Volume State Status Options&lt;BR /&gt;vol0 online&amp;nbsp;&lt;BR /&gt;vs1_root online&amp;nbsp;&lt;BR /&gt;odx online &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;SPAN&gt;&amp;lt;------- odx volume on vs1&lt;/SPAN&gt;&lt;BR /&gt;odx(1) online &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;------- odx volume on vserver1&lt;/P&gt;</description>
      <pubDate>Wed, 09 Mar 2016 09:11:43 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Network-and-Storage-Protocols/Validate-that-a-path-is-valid-for-a-cifs-share-creation/m-p/116864#M8266</guid>
      <dc:creator>Mjizzini</dc:creator>
      <dc:date>2016-03-09T09:11:43Z</dc:date>
    </item>
    <item>
      <title>Re: Validate that a path is valid for a cifs share creation</title>
      <link>https://community.netapp.com/t5/Network-and-Storage-Protocols/Validate-that-a-path-is-valid-for-a-cifs-share-creation/m-p/135933#M8902</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am working on a similar script in powershell to validate DR will work.&lt;/P&gt;&lt;P&gt;We don't have SVM DR setup yet.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you share your script please.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 10 Nov 2017 03:35:05 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Network-and-Storage-Protocols/Validate-that-a-path-is-valid-for-a-cifs-share-creation/m-p/135933#M8902</guid>
      <dc:creator>nitish</dc:creator>
      <dc:date>2017-11-10T03:35:05Z</dc:date>
    </item>
  </channel>
</rss>

