<?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: SnapCenter: add-smresource cmdlet syntax for LUNs in Qtrees for the storage plugin in Data Protection</title>
    <link>https://community.netapp.com/t5/Data-Protection/SnapCenter-add-smresource-cmdlet-syntax-for-LUNs-in-Qtrees-for-the-storage/m-p/433046#M13565</link>
    <description>&lt;P&gt;The path will be&amp;nbsp;&lt;VAR class="keyword varname"&gt;&lt;SPAN&gt;/vol/vol-name/qtree-name/lun-name&lt;/SPAN&gt;&lt;/VAR&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.netapp.com/ontap-9/topic/com.netapp.doc.dot-cm-cmpr-980/lun__show.html" target="_self"&gt;LUN show&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="ph excl"&gt;{&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="keyword option"&gt;-path&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;VAR class="keyword varname"&gt;&amp;lt;path&amp;gt;&lt;/VAR&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;- LUN PathSpecifies the path of the new LUN. The LUN path cannot contain any files. Examples of correct LUN paths are&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;VAR class="keyword varname"&gt;/vol/vol1/lun1&lt;/VAR&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;VAR class="keyword varname"&gt;&lt;SPAN&gt;/vol/vol1/qtree1/lun1&lt;/SPAN&gt;&lt;/VAR&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 16 Mar 2022 07:15:37 GMT</pubDate>
    <dc:creator>Mjizzini</dc:creator>
    <dc:date>2022-03-16T07:15:37Z</dc:date>
    <item>
      <title>SnapCenter: add-smresource cmdlet syntax for LUNs in Qtrees for the storage plugin</title>
      <link>https://community.netapp.com/t5/Data-Protection/SnapCenter-add-smresource-cmdlet-syntax-for-LUNs-in-Qtrees-for-the-storage/m-p/432108#M13549</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am looking for help with the add-smresource cmdlet for the Storage community plugin:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We want to add resources of type "StorageResource" (coming from the "Storage" custom plugin) to SnapCenter.&lt;BR /&gt;We want to use the add-smresource plugin. We succeeded with a LUN (UN-Path svm:/vol/lun) that is NOT in a qtree:&lt;BR /&gt;:&amp;gt;add-smresource -hostname 'host' -resourcename 'test' -plugincode Storage -resourcetype StorageResource&amp;nbsp; &amp;nbsp;&lt;BR /&gt;-StorageFootPrint&amp;nbsp;(@{"LunName"="lun";"VolumeName"="vol";"StorageSystem"="svm"})&lt;BR /&gt;&lt;BR /&gt;Does anybody know the correct syntax when the LUN resides in a qtree? Example LUN-Path:&lt;BR /&gt;svm:/vol/qtree/lun&lt;BR /&gt;We tried many combinations of the storage footprint but always got an error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help and hint woul be great,&lt;BR /&gt;&lt;BR /&gt;Matthias&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 10:04:42 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/SnapCenter-add-smresource-cmdlet-syntax-for-LUNs-in-Qtrees-for-the-storage/m-p/432108#M13549</guid>
      <dc:creator>Matthias_Dietermann</dc:creator>
      <dc:date>2025-06-04T10:04:42Z</dc:date>
    </item>
    <item>
      <title>Re: SnapCenter: add-smresource cmdlet syntax for LUNs in Qtrees for the storage plugin</title>
      <link>https://community.netapp.com/t5/Data-Protection/SnapCenter-add-smresource-cmdlet-syntax-for-LUNs-in-Qtrees-for-the-storage/m-p/433046#M13565</link>
      <description>&lt;P&gt;The path will be&amp;nbsp;&lt;VAR class="keyword varname"&gt;&lt;SPAN&gt;/vol/vol-name/qtree-name/lun-name&lt;/SPAN&gt;&lt;/VAR&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.netapp.com/ontap-9/topic/com.netapp.doc.dot-cm-cmpr-980/lun__show.html" target="_self"&gt;LUN show&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="ph excl"&gt;{&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="keyword option"&gt;-path&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;VAR class="keyword varname"&gt;&amp;lt;path&amp;gt;&lt;/VAR&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;- LUN PathSpecifies the path of the new LUN. The LUN path cannot contain any files. Examples of correct LUN paths are&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;VAR class="keyword varname"&gt;/vol/vol1/lun1&lt;/VAR&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;VAR class="keyword varname"&gt;&lt;SPAN&gt;/vol/vol1/qtree1/lun1&lt;/SPAN&gt;&lt;/VAR&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Mar 2022 07:15:37 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/SnapCenter-add-smresource-cmdlet-syntax-for-LUNs-in-Qtrees-for-the-storage/m-p/433046#M13565</guid>
      <dc:creator>Mjizzini</dc:creator>
      <dc:date>2022-03-16T07:15:37Z</dc:date>
    </item>
    <item>
      <title>Re: SnapCenter: add-smresource cmdlet syntax for LUNs in Qtrees for the storage plugin</title>
      <link>https://community.netapp.com/t5/Data-Protection/SnapCenter-add-smresource-cmdlet-syntax-for-LUNs-in-Qtrees-for-the-storage/m-p/433120#M13567</link>
      <description>&lt;P&gt;Hi, and thanks for the reply!&lt;/P&gt;&lt;P&gt;In this case it turned out that we encountered a "bug" in SC:&lt;/P&gt;&lt;P&gt;&lt;A href="https://kb.netapp.com/Advice_and_Troubleshooting/Data_Protection_and_Security/SnapCenter/Add-SMResource_from_SnapCenter_Powershell_for_the_custom_Storage_plugin_fails" target="_blank"&gt;https://kb.netapp.com/Advice_and_Troubleshooting/Data_Protection_and_Security/SnapCenter/Add-SMResource_from_SnapCenter_Powershell_for_the_custom_Storage_plugin_fails&lt;/A&gt;&lt;/P&gt;&lt;P&gt;In the SC database the resource has to be changed from "Storage Resource" to "StorageResource" (remove the Blank).&lt;BR /&gt;And then we had to replace&amp;nbsp;"LunName"="a/u.lun";" with&amp;nbsp;"LunName"="a\u.lun";" (replace Slash with BackSlash) for this specific resource.&amp;nbsp;&lt;BR /&gt;After these two one character changes the add-smresource cmdlet works for the StoragePlugin.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Mar 2022 18:10:07 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/SnapCenter-add-smresource-cmdlet-syntax-for-LUNs-in-Qtrees-for-the-storage/m-p/433120#M13567</guid>
      <dc:creator>Matthias_Dietermann</dc:creator>
      <dc:date>2022-03-17T18:10:07Z</dc:date>
    </item>
  </channel>
</rss>

