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
Get-NcNfsExport : Error Message : Multiple values are not supported for 'nosuid' option
2016-06-28
02:40 PM
4,244 Views
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
When I was trying to pull NFS export info from one of our vserver, the cmdlet reports error like this:
Get-NcNfsExport : Multiple values are not supported for 'nosuid' option
At line:1 char:1
+ Get-NcNfsExport -VserverContext vservername
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (co-tx-cnsan:NcController) [Get-NcNfsExport], EINTERNALERROR
+ FullyQualifiedErrorId : ApiException,DataONTAP.C.PowerShell.SDK.Cmdlets.Nfs.GetNcNfsExport
But it happens ONLY to this vserver, not even other vservers on the same cluster.
I am using PSTK v3.3.0 and the CDOT version is 8.2.3P5.
PS C:\temp> Get-Module |?{$_.Name -like 'DataOntap'}|select version
Version
-------
3.3.0
PS C:\temp> Get-NcSystemVersion|select Value
Value
-----
NetApp Release 8.2.3P5 Cluster-Mode: Thu Jul 16 21:51:07 PDT 2015
Nosuid is a property of SecurityRules (DataONTAP.C.Types.Nfs.SecurityRuleInfo) , which is a property of an export (DataONTAP.C.Types.Nfs.ExportsRuleInfo2) for the output of Get-NcNfsExport
Anyone ran into this before and have any idea ?
Thanks,
Timothy
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Do you know which export and which rule is causing it to break? Maybe something is broken with that rule?
Andrew
If this post resolved your issue, please help others by selecting ACCEPT AS SOLUTION or adding a KUDO.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I met same issue. by my understanding, if an export policy include 3 rules, when every rules have same setting about "nosuid" (either "true" or "false"). the API Get-NcNfsExport could return well but only one line (I assume 3 lines)
if some rules with nosuid= true and some one with nosuid = false, (means different nosuid setting for every rules). the API Get-NcNfsExport will return error.
Actually ONTAP support different nosuid setting for every rule, why API could not support it. Does it have any potential risks?
For the API, Get-NcNfsExport (nfs-exportfs-list-rules-2), why it only return one line for the polciy with multiple rules?
