<?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 possible to use set-ncqtree or ?? to enable/disable oplocks on a volume in cmode? in Microsoft Virtualization Discussions</title>
    <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/possible-to-use-set-ncqtree-or-to-enable-disable-oplocks-on-a-volume-in-cmode/m-p/21922#M1012</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;anyone, anyway to define oplocks on a volume using set-ncqtree or another cmdlet?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;via console CLI using the following works:-&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #1f497d; font-size: 11.0pt; font-family: 'Calibri','sans-serif';"&gt;qtree oplocks -volume &amp;lt;vol&amp;gt; -qtree "" -oplock-mode enable -vserver &amp;lt;vserver&amp;gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #1f497d; font-size: 11.0pt; font-family: 'Calibri','sans-serif';"&gt;&lt;EM style="color: #1f497d; font-size: 11.0pt; font-family: 'Calibri','sans-serif';"&gt;qtree oplocks -volume &amp;lt;vol&amp;gt; -qtree * -oplock-mode enable -vserver &amp;lt;vserver&amp;gt;&lt;/EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;however, I can't do the same, or find any alternative where the set-ncqtree will work when a qtree isn't specified, or by using a wildcard for the qtree...e.g.:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333399;"&gt;&lt;EM&gt;set-ncqtree -volume &amp;lt;vol&amp;gt; -qtree "" -DisableOplocks -vservercontext &amp;lt;vserver&amp;gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333399;"&gt;&lt;EM&gt;set-ncqtree -volume &amp;lt;vol&amp;gt; -qtree * -DisableOplocks -vservercontext &amp;lt;vserver&amp;gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Jun 2025 05:45:53 GMT</pubDate>
    <dc:creator>TIMRUFUS12</dc:creator>
    <dc:date>2025-06-05T05:45:53Z</dc:date>
    <item>
      <title>possible to use set-ncqtree or ?? to enable/disable oplocks on a volume in cmode?</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/possible-to-use-set-ncqtree-or-to-enable-disable-oplocks-on-a-volume-in-cmode/m-p/21922#M1012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;anyone, anyway to define oplocks on a volume using set-ncqtree or another cmdlet?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;via console CLI using the following works:-&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #1f497d; font-size: 11.0pt; font-family: 'Calibri','sans-serif';"&gt;qtree oplocks -volume &amp;lt;vol&amp;gt; -qtree "" -oplock-mode enable -vserver &amp;lt;vserver&amp;gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #1f497d; font-size: 11.0pt; font-family: 'Calibri','sans-serif';"&gt;&lt;EM style="color: #1f497d; font-size: 11.0pt; font-family: 'Calibri','sans-serif';"&gt;qtree oplocks -volume &amp;lt;vol&amp;gt; -qtree * -oplock-mode enable -vserver &amp;lt;vserver&amp;gt;&lt;/EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;however, I can't do the same, or find any alternative where the set-ncqtree will work when a qtree isn't specified, or by using a wildcard for the qtree...e.g.:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333399;"&gt;&lt;EM&gt;set-ncqtree -volume &amp;lt;vol&amp;gt; -qtree "" -DisableOplocks -vservercontext &amp;lt;vserver&amp;gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333399;"&gt;&lt;EM&gt;set-ncqtree -volume &amp;lt;vol&amp;gt; -qtree * -DisableOplocks -vservercontext &amp;lt;vserver&amp;gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2025 05:45:53 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/possible-to-use-set-ncqtree-or-to-enable-disable-oplocks-on-a-volume-in-cmode/m-p/21922#M1012</guid>
      <dc:creator>TIMRUFUS12</dc:creator>
      <dc:date>2025-06-05T05:45:53Z</dc:date>
    </item>
    <item>
      <title>Re: possible to use set-ncqtree or ?? to enable/disable oplocks on a volume in cmode?</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/possible-to-use-set-ncqtree-or-to-enable-disable-oplocks-on-a-volume-in-cmode/m-p/21927#M1013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The syntax is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set-NcQtree /vol/vol1/qtree1 -SecurityStyle ntfs -EnableOplocks -VserverContext vserver_1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or you can replace -EnableOplocks with -DisableOplocks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jan 2014 06:31:02 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/possible-to-use-set-ncqtree-or-to-enable-disable-oplocks-on-a-volume-in-cmode/m-p/21927#M1013</guid>
      <dc:creator>davidrnexon</dc:creator>
      <dc:date>2014-01-28T06:31:02Z</dc:date>
    </item>
  </channel>
</rss>

