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
PSTK cmdlet add-ncnfsservice is not creating correct service properties
2025-02-13
08:38 AM
797 Views
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We found what appears to be a bug or unintended behavior with add-ncnfsservice.
We want to create a new NFS service configuration on a vserver, but we want to have NFSv4.0 and NFSv4.1 disabled; only NFSv3 enabled.
We first obtain a default configuration:
$nfs_config = get-NcNfsService -template
If we examine the template values, we can see that NFSv3 is enabled and NFSv4 is disabled:
(I have shortened the output but I have attached the full output to my post)
PS> $nfs_config
Vserver GeneralAccess IsNfsv3 IsNfsv4 IsNfsv41 DefaultWindowsUser
------- ------------- ------- ------- -------- ------------------
True True False False
Using this template, I create a new NFS service on my SVM:
PS> add-NcNfsService -vservercontext XXXXXX -attributes $nfs_config
Vserver GeneralAccess IsNfsv3 IsNfsv4 IsNfsv41 DefaultWindowsUser
------- ------------- ------- ------- -------- ------------------
XXXXXXX True True True True
If I go to the OnTAP CLI and perform a "nfs show", it shows that v4.0 and v4.1 are enabled, which is not the desired config.
Please comment and provide a resolution for this.
Solved! See The Solution
1 ACCEPTED SOLUTION
prachana has accepted the solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Steve,
We have identified the issue and will address it in the upcoming PSTK release.
1 REPLY 1
prachana has accepted the solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Steve,
We have identified the issue and will address it in the upcoming PSTK release.
