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
Hi,
IHAC that wants to retrieve Shelf type (e.g. DS2246) and shelf serial number from a 7-Mode system. For cDOT there is the Get-NcStorageShelf command.
Is there a similar command available for 7-mode?
And is there any command mapping 7-Mode <=> cDOT for PSTK?
Thanks in advance!
Solved! See The Solution
1 ACCEPTED SOLUTION
hpreckur has accepted the solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I think i went thru this years ago and i don't think its availble with direct tru a cmdlet
You can do this
$d = invoke-nassh "storage show shelf"
PS C:\powershell> $d = $d.split("`n")
PS C:\powershell> $d | ?{$_ -like "*shelf name*" -or $_ -like "*shelf S/N*"}
11 REPLIES 11
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Here I will help you out
get-nahelp *shelf*
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks! Looks like the shelf S/N is not available for 7-mode...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
On the other hand: a NetAppDocs document show shelf type and S/N for 7-Mode as well. So some PSTK command should show it.
hpreckur has accepted the solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I think i went thru this years ago and i don't think its availble with direct tru a cmdlet
You can do this
$d = invoke-nassh "storage show shelf"
PS C:\powershell> $d = $d.split("`n")
PS C:\powershell> $d | ?{$_ -like "*shelf name*" -or $_ -like "*shelf S/N*"}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks again!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can you mark answers and please hit kudos.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Does NetApp PSK not have possibility to show me my shelf serial numbers direclty (without using ssh) ?
Best Regards,
Lukas
Lukas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
sorry no
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
😞 ok
How I can get Shelf Serial Number for my Shelf list?
Get-NcShelf | where {$_.ShelfName -like "NAME*"} | Sort -Property ShelfId -Unique | Format-Table -AutoSize
Thank you,
Lukas
Best Regards,
Lukas
Lukas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @LUKASPRELOVSKY the command you enetred in the last reply is for Cluster mode. while the post is specially for 7-mode.
which platform do you need the command for ?
adding the Cdot way anyway:.....
Get-NcStorageShelf | ft NcController,Shelf,SerialNumber,ShelfModel,ModuleType NcController Shelf SerialNumber ShelfModel ModuleType ------------ ----- ------------ ---------- ---------- A 1.10 1234567890 DS4243 iom3 A 1.11 1234567890 DS4243 iom3 A 1.12 1234567890 DS4243 iom3 A 1.13 1234567890 DS4243 iom3 A 2.20 1234567890 DS4243 iom3 A 2.21 1234567890 DS4243 iom3 A 2.22 1234567890 DS4243 iom3 A 2.23 1234567890 DS4243 iom3
Gidi Marcus (Linkedin) - Storage and Microsoft technologies consultant - Hydro IT LTD - UK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I discovered the cmdlet last night, but thanks for your help! 🙂
Best Regards,
Lukas
Lukas
