<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Unable to connect to filer due to incorrect credentials for server. have only windowaccess to sh in ONTAP Discussions</title>
    <link>https://community.netapp.com/t5/ONTAP-Discussions/Unable-to-connect-to-filer-due-to-incorrect-credentials-for-server-have-only/m-p/147338#M32773</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;sorry, the question is not clear. can you add any error message or&amp;nbsp;example for the result you want to achieve?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Gidi&lt;/P&gt;</description>
    <pubDate>Thu, 21 Mar 2019 11:13:54 GMT</pubDate>
    <dc:creator>GidonMarcus</dc:creator>
    <dc:date>2019-03-21T11:13:54Z</dc:date>
    <item>
      <title>Unable to connect to filer due to incorrect credentials for server. have only windowaccess to shares</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Unable-to-connect-to-filer-due-to-incorrect-credentials-for-server-have-only/m-p/147322#M32768</link>
      <description>&lt;P&gt;param([string]$paNetAppHost, [string]$pausername)&lt;/P&gt;
&lt;P&gt;Import-module DataOnTap&lt;/P&gt;
&lt;P&gt;$PathtoCSV = "C:\NetappTotalVolume.csv"&lt;/P&gt;
&lt;P&gt;#Connect to filer&lt;/P&gt;
&lt;P&gt;Connect-NAController $pafileshare –cred $pausername&lt;/P&gt;
&lt;P&gt;$allvolumesnames = get-navol | Select-Object Name,Available&lt;/P&gt;
&lt;P&gt;#set headers of CSV file&lt;/P&gt;
&lt;P&gt;"VolumeName,Available Space(GB),Used Space(GB),Total Volume Space(GB)" &amp;gt; $PathtoCSV&lt;/P&gt;
&lt;P&gt;foreach ($netapp_vol in $allvolumesnames) {&lt;/P&gt;
&lt;P&gt;$CurrentVolname = $netapp_vol.name&lt;/P&gt;
&lt;P&gt;$VolumesAvailable = $netapp_vol.available&lt;/P&gt;
&lt;P&gt;$VolumeSizeTotal = get-navolsize -name $CurrentVolname | Select-Object -ExpandProperty VolumeSize&lt;/P&gt;
&lt;P&gt;#Convert to GB&lt;/P&gt;
&lt;P&gt;$VolumeAvailable1GB = ($VolumesAvailable / 1GB)&lt;/P&gt;
&lt;P&gt;$VolumeSizeTotal1GB = ($VolumeSizeTotal / 1GB)&lt;/P&gt;
&lt;P&gt;#Calc usedspace&lt;/P&gt;
&lt;P&gt;$VolumeUsedSpace1GB = $VolumeSizeTotal1GB - $VolumeAvailable1GB&lt;/P&gt;
&lt;P&gt;#Create/add to CSV file&lt;/P&gt;
&lt;P&gt;$Combine = $CurrentVolname,$VolumeAvailable1GB,$VolumeUsedSpace1GB,$VolumeSizeTotal1GB&lt;/P&gt;
&lt;P&gt;$Combine -join "," &amp;gt;&amp;gt; $PathtoCSV&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 12:42:41 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Unable-to-connect-to-filer-due-to-incorrect-credentials-for-server-have-only/m-p/147322#M32768</guid>
      <dc:creator>Anu1234</dc:creator>
      <dc:date>2025-06-04T12:42:41Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to connect to filer due to incorrect credentials for server. have only windowaccess to sh</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Unable-to-connect-to-filer-due-to-incorrect-credentials-for-server-have-only/m-p/147323#M32769</link>
      <description>&lt;P&gt;we don't have admin access to file server. we just only map the shares. so. iwould like to get the volume of each folder under the file share.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in Advance&lt;/P&gt;</description>
      <pubDate>Wed, 20 Mar 2019 17:14:40 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Unable-to-connect-to-filer-due-to-incorrect-credentials-for-server-have-only/m-p/147323#M32769</guid>
      <dc:creator>Anu1234</dc:creator>
      <dc:date>2019-03-20T17:14:40Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to connect to filer due to incorrect credentials for server. have only windowaccess to sh</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Unable-to-connect-to-filer-due-to-incorrect-credentials-for-server-have-only/m-p/147338#M32773</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;sorry, the question is not clear. can you add any error message or&amp;nbsp;example for the result you want to achieve?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Gidi&lt;/P&gt;</description>
      <pubDate>Thu, 21 Mar 2019 11:13:54 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Unable-to-connect-to-filer-due-to-incorrect-credentials-for-server-have-only/m-p/147338#M32773</guid>
      <dc:creator>GidonMarcus</dc:creator>
      <dc:date>2019-03-21T11:13:54Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to connect to filer due to incorrect credentials for server. have only windowaccess to sh</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Unable-to-connect-to-filer-due-to-incorrect-credentials-for-server-have-only/m-p/147342#M32776</link>
      <description>&lt;P&gt;The following error I am getting after running the above code.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;we only have windows access to file shares not admin access to file shares.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Connect-NaController : Incorrect credentials for usalbfs33-181.am.health.ge.com.&lt;BR /&gt;At line:9 char:1&lt;BR /&gt;+ Connect-NaController usalbfs33-181.am.health.ge.com –cred $pausername&lt;BR /&gt;+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;+ CategoryInfo : InvalidResult: (usalbfs33-181.am.health.ge.com:NaController) [Con &lt;BR /&gt;nect-NaController], NaAuthException&lt;BR /&gt;+ FullyQualifiedErrorId : HttpConnectionFailed,DataONTAP.PowerShell.SDK.ConnectNaController&lt;BR /&gt;&lt;BR /&gt;get-navol : Value in $global:CurrentNaController is not of type NetApp.Ontapi.Filer.NaController&lt;BR /&gt;At line:11 char:20&lt;BR /&gt;+ $allvolumesnames = get-navol | Select-Object Name,Available&lt;BR /&gt;+ ~~~~~~~~~&lt;BR /&gt;+ CategoryInfo : InvalidArgument: (:) [Get-NaVol], ArgumentException&lt;BR /&gt;+ FullyQualifiedErrorId : ControllerNotSpecified,DataONTAP.PowerShell.SDK.Cmdlets.Volume.Ge &lt;BR /&gt;tNaVol&lt;BR /&gt;&lt;BR /&gt;out-file : Access to the path 'C:\NetappTotalVolume.csv' is denied.&lt;BR /&gt;At line:15 char:1&lt;BR /&gt;+ "VolumeName,Available Space(GB),Used Space(GB),Total Volume Space(GB) ...&lt;BR /&gt;+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;+ CategoryInfo : OpenError: (:) [Out-File], UnauthorizedAccessException&lt;BR /&gt;+ FullyQualifiedErrorId : FileOpenFailure,Microsoft.PowerShell.Commands.OutFileCommand&lt;/P&gt;</description>
      <pubDate>Thu, 21 Mar 2019 12:00:04 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Unable-to-connect-to-filer-due-to-incorrect-credentials-for-server-have-only/m-p/147342#M32776</guid>
      <dc:creator>Anu1234</dc:creator>
      <dc:date>2019-03-21T12:00:04Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to connect to filer due to incorrect credentials for server. have only windowaccess to sh</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Unable-to-connect-to-filer-due-to-incorrect-credentials-for-server-have-only/m-p/147347#M32777</link>
      <description>&lt;P&gt;You will need access to the system that's running these CIFS shares,&amp;nbsp; readonly should be enough.&amp;nbsp; &amp;nbsp;This PS is designed to run netapp ONTAP commands to gather data and output to a CSV.&amp;nbsp; &amp;nbsp; &amp;nbsp; Volumes to shares don't always have a 1 to 1 ratio either.&amp;nbsp; &amp;nbsp;There are times when you can have 20 shares off various qtrees map all within a single volume.&amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Mar 2019 13:12:59 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Unable-to-connect-to-filer-due-to-incorrect-credentials-for-server-have-only/m-p/147347#M32777</guid>
      <dc:creator>SpindleNinja</dc:creator>
      <dc:date>2019-03-21T13:12:59Z</dc:date>
    </item>
  </channel>
</rss>

