Microsoft Virtualization Discussions
i looked at Get-NcExportRule & Get-NcExportPolicy & get-ncvol
How to i add new IP to existing policy (or export) , its a NFS export.
I know the policy name,vserver name, i could not see the junction path from - Get-NcExportRule & Get-NcExportPolicy
from client side i think i know the junction path only , the get-ncvol gives only juction path, but that does not tell repective policy name
how to co-related these 3 cmds to get the policy name etc ?
Also how to add new ip ?
i would like to check single script which can show below
5. which ips has RW & which has say RO
To add a new ip to an existing export policy try this:New-NcExportRule name-of-export-policy -clientmatch 10.20.30.40 -ReadOnlySecurityFlavor any -ReadWriteSecurityFlavor any -SuperUserSecurityFlavor any
@Socra is correct, though you can also pipeline the Get-NcExportPolicy into New-NcExportRule. There are some examples of managing access to exports (and shares and LUNs) here.
Hope that helps!