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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Running 4.3
I'm looping through all my controllers 100+ and i start to get this error
get-navolsis : Not enough memory for reply value, but command completed successfully At C:\powershell\f_dashboard.ps1:60 char:9 + $dupe = get-navolsis + ~~~~~~~~~~~~ + CategoryInfo : InvalidOperation: (filer.domain.com:NaController) [Get-NaVolSis], EONTAPI_ENOMEM + FullyQualifiedErrorId : VolumeListInfoFailed,DataONTAP.PowerShell.SDK.Cmdlets.Sis.GetNaVolSis
I've never got this before and i'm going to try an older version 3.x to see if i get it there.
Can someone else verify this ..
Solved! See The Solution
1 ACCEPTED SOLUTION
JGPSHNTAP has accepted the solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Andrew -
Would you agree i should be able to do this
$dedupe =[math]::round(((get-navolsis | measure -property sizesaved -sum).sum/1gb),2)
I then dump out $dedupe each time I write that
I didn't mean to mark this as a solution
Basically i can loop that line through all my controllers and dump it out each time..
4 REPLIES 4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This sounds like a PowerShell error. Are you storing all of the returned values into a single variable? Would it be more prudent to iterate over the results in real-time in a loop vs collecting them and then iterating over the full result?
Andrew
If this post resolved your issue, please help others by selecting ACCEPT AS SOLUTION or adding a KUDO.
JGPSHNTAP has accepted the solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Andrew -
Would you agree i should be able to do this
$dedupe =[math]::round(((get-navolsis | measure -property sizesaved -sum).sum/1gb),2)
I then dump out $dedupe each time I write that
I didn't mean to mark this as a solution
Basically i can loop that line through all my controllers and dump it out each time..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, that should definitely work, at least on the surface.
I was curious if you were doing something like:
$dedupeInfo = Get-NaVol | Get-NaVolSis
for all 100+ controllers, which would create a very large variable (and presumably eat a lot of memory on your desktop).
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
^^
Nah, each time i'm dumping dedup out in the loop.
No big deal, what I had to do was for each volume get it and dump it each time. Not a horrible solution, but its working...
