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
What is the cmdlet to map an igroup to a lun?
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Depending on if you are using 7-Mode or cDOT it's either Add-NaLunMap or Add-NcLunMap. See cmdlet help for usage:
PS C:\> get-help add-nclunmap -examples
NAME
Add-NcLunMap
SYNOPSIS
Maps a LUN to all the initiators in the specified initiator group.
-------------- Example 1 --------------
C:\PS>Add-NcLunMap /vol/testvol/testlun x3550rre8
Map LUN 'testlun' to igroup 'x3550rre8'.
Path Size Protocol Online Mapped Thin Vserver Comment
---- ---- -------- ------ ------ ---- ------- -------
/vol/testvol/testlun 20.0 GB hyper_v True True True costea01
/matt
If this post resolved your issue, 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 am not sure why It keeps saying value cannot be null
get-nclunmap /vol/myvol/mylun
get-nclunmap : Value cannot be null.
Parameter name: Controller parameter neither specified nor set in $global:CurrentNcController
At line:1 char:1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
oops sorry. I am running 7mode so I used get-nalunmap instead and works fine
thanks
