Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
possible to use set-ncqtree or ?? to enable/disable oplocks on a volume in cmode?
2014-01-10
04:09 AM
2,498 Views
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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>
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The syntax is:
Set-NcQtree /vol/vol1/qtree1 -SecurityStyle ntfs -EnableOplocks -VserverContext vserver_1
Or you can replace -EnableOplocks with -DisableOplocks