The transition to NetApp MS Azure AD B2C is complete. If you missed the pre-registration, you will be invited to reigister at next log in.
Please note that access to your NetApp data may take up to 1 hour.
To learn more, read the FAQ and watch the video.
Need assistance? Complete this form and select “Registration Issue” as the Feedback Category.

Microsoft Virtualization Discussions

possible to use set-ncqtree or ?? to enable/disable oplocks on a volume in cmode?


anyone, anyway to define oplocks on a volume using set-ncqtree or another cmdlet?

via console CLI using the following works:-

qtree oplocks -volume <vol> -qtree "" -oplock-mode enable -vserver <vserver>

qtree oplocks -volume <vol> -qtree * -oplock-mode enable -vserver <vserver>

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.:-

set-ncqtree -volume <vol> -qtree "" -DisableOplocks -vservercontext <vserver>

set-ncqtree -volume <vol> -qtree * -DisableOplocks -vservercontext <vserver>



The syntax is:

Set-NcQtree /vol/vol1/qtree1 -SecurityStyle ntfs -EnableOplocks -VserverContext vserver_1

Or you can replace -EnableOplocks with -DisableOplocks

NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner