<?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: Unble to create home directory shares with Powershell - Standard shares must define an absolute in ONTAP Discussions</title>
    <link>https://community.netapp.com/t5/ONTAP-Discussions/Unble-to-create-home-directory-shares-with-Powershell-Standard-shares-must/m-p/125255#M26993</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.netapp.com/t5/user/viewprofilepage/user-id/32277"&gt;@wafl_scan﻿&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you explain the "%w" value you provided for the path? &amp;nbsp;Does that denote something special? &amp;nbsp;Also, if the share(s) were to be created using the CLI, what would the command be?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;</description>
    <pubDate>Wed, 09 Nov 2016 17:53:10 GMT</pubDate>
    <dc:creator>asulliva</dc:creator>
    <dc:date>2016-11-09T17:53:10Z</dc:date>
    <item>
      <title>Unble to create home directory shares with Powershell - Standard shares must define an absolute</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Unble-to-create-home-directory-shares-with-Powershell-Standard-shares-must/m-p/125247#M26991</link>
      <description>&lt;P&gt;NetApp support directed me here to pose my question.&amp;nbsp; If this is not the correct spot to ask please let me know where would be.&amp;nbsp; Thanks.&amp;nbsp; It seems that the NetApp Powershell module does not support creating home directory shares.&amp;nbsp; Can someone shed some light on what might be going on?&amp;nbsp;&amp;nbsp;Is there a way to add them via Powershell that I'm not understanding? &amp;nbsp;I keep getting "Standard shares must define an absolute share path in the Vserver's namespace." &amp;nbsp;Also the flag -DisablePathValidation doesn't make it work either. &amp;nbsp;Any help or suggestions would be appreciated.&amp;nbsp; Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;user&amp;gt;&amp;nbsp;O:\&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Get-NcVserver $DestinationSVM | Add-NcCifsShare -Name "CIFS.HOMEDIR" -Path "%w" -ShareProperties $ShareProps&lt;BR /&gt;Add-NcCifsShare : Failed to create CIFS share CIFS.HOMEDIR. Reason: Standard shares must define an absolute share path in the Vserver's namespace.&lt;BR /&gt;At line:1 char:37&lt;BR /&gt;+ ... nationSVM | Add-NcCifsShare -Name "CIFS.HOMEDIR" -Path "%w" -SharePro ...&lt;BR /&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; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; + CategoryInfo&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : InvalidOperation: (naeau1:NcController) [Add-NcCifsShare], EAPIERROR&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; + FullyQualifiedErrorId : ApiException,DataONTAP.C.PowerShell.SDK.Cmdlets.Cifs.AddNcCifsShare&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;user&amp;gt; O:\&amp;gt; Get-NcVserver $DestinationSVM | Add-NcCifsShare -Name "%w" -Path "%w" -ShareProperties $ShareProps -DisablePathValidation&lt;BR /&gt;Add-NcCifsShare : Failed to create CIFS share %w. Reason: Standard shares must define an absolute share path in the Vserver's namespace.&lt;BR /&gt;At line:1 char:37&lt;BR /&gt;+ ... nationSVM | Add-NcCifsShare -Name "%w" -Path "%w" -ShareProperties $S ...&lt;BR /&gt;+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;+ CategoryInfo : InvalidOperation: (naeau1:NcController) [Add-NcCifsShare], EAPIERROR&lt;BR /&gt;+ FullyQualifiedErrorId : ApiException,DataONTAP.C.PowerShell.SDK.Cmdlets.Cifs.AddNcCifsShare&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Nov 2016 15:25:17 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Unble-to-create-home-directory-shares-with-Powershell-Standard-shares-must/m-p/125247#M26991</guid>
      <dc:creator>wafl_scan</dc:creator>
      <dc:date>2016-11-09T15:25:17Z</dc:date>
    </item>
    <item>
      <title>Re: Unble to create home directory shares with Powershell - Standard shares must define an absolute</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Unble-to-create-home-directory-shares-with-Powershell-Standard-shares-must/m-p/125255#M26993</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.netapp.com/t5/user/viewprofilepage/user-id/32277"&gt;@wafl_scan﻿&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you explain the "%w" value you provided for the path? &amp;nbsp;Does that denote something special? &amp;nbsp;Also, if the share(s) were to be created using the CLI, what would the command be?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;</description>
      <pubDate>Wed, 09 Nov 2016 17:53:10 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Unble-to-create-home-directory-shares-with-Powershell-Standard-shares-must/m-p/125255#M26993</guid>
      <dc:creator>asulliva</dc:creator>
      <dc:date>2016-11-09T17:53:10Z</dc:date>
    </item>
    <item>
      <title>Re: Unble to create home directory shares with Powershell - Standard shares must define an absolute</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Unble-to-create-home-directory-shares-with-Powershell-Standard-shares-must/m-p/125257#M26994</link>
      <description>&lt;P&gt;The equivalent commands in the CLI are:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;vserver cifs share create -vserver&amp;nbsp;dr-eau-testlab&amp;nbsp;-share-name&amp;nbsp;&lt;SPAN class="filepath"&gt;%w&lt;/SPAN&gt;&amp;nbsp;-path&amp;nbsp;&lt;SPAN class="filepath"&gt;%w&lt;/SPAN&gt;&amp;nbsp;-share-properties&amp;nbsp;oplocks,browsable,changenotify,homedirectory&lt;/P&gt;&lt;P&gt;vserver cifs share create -vserver&amp;nbsp;dr-eau-testlab&amp;nbsp;-share-name&amp;nbsp;CIFS.HOMEDIR&lt;SPAN class="filepath"&gt;&amp;nbsp;&lt;/SPAN&gt;&amp;nbsp;-path&amp;nbsp;&lt;SPAN class="filepath"&gt;%w&lt;/SPAN&gt;&amp;nbsp;-share-properties&amp;nbsp;oplocks,browsable,changenotify,homedirectory&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;These shares appear to be documented by NetApp here:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://kb.netapp.com/support/s/article/how-to-configure-clustered-data-ontap-home-directories?language=en_US" target="_blank"&gt;https://kb.netapp.com/support/s/article/how-to-configure-clustered-data-ontap-home-directories?language=en_US&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://library.netapp.com/ecmdocs/ECMM1277801/html/nfamg/GUID-741EF656-6B92-4A28-BD98-5942AF22FDA9.html" target="_blank"&gt;https://library.netapp.com/ecmdocs/ECMM1277801/html/nfamg/GUID-741EF656-6B92-4A28-BD98-5942AF22FDA9.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Nov 2016 18:54:28 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Unble-to-create-home-directory-shares-with-Powershell-Standard-shares-must/m-p/125257#M26994</guid>
      <dc:creator>wafl_scan</dc:creator>
      <dc:date>2016-11-09T18:54:28Z</dc:date>
    </item>
    <item>
      <title>Re: Unble to create home directory shares with Powershell - Standard shares must define an absolute</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Unble-to-create-home-directory-shares-with-Powershell-Standard-shares-must/m-p/161167#M36799</link>
      <description>&lt;P&gt;This is an old topic but since it's the first hit in google for this error, the problem was mostly likely because he didn't use a '/'&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You need to give the full junction path name '/name' not just 'name'&lt;/P&gt;</description>
      <pubDate>Fri, 13 Nov 2020 20:23:47 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Unble-to-create-home-directory-shares-with-Powershell-Standard-shares-must/m-p/161167#M36799</guid>
      <dc:creator>jmiller_exd</dc:creator>
      <dc:date>2020-11-13T20:23:47Z</dc:date>
    </item>
  </channel>
</rss>

