UNSOLVED

4_Aces

updated

14 years ago

4

4_Aces

17 Posts

0

7651

February 28th, 2013 14:00

Setting VMAX LUN id for a dev in an SG

Can I set the LUN ID of a VMAX device to a number higher than 0 or 1 if there is only one dev in the SG?  If so, how?

  • 4_Aces

    17 Posts

    2176

    0

    Posted February 28th, 2013 14:00

    I hate SMC, but thanks to both of you.  I will be working on it tomorrow thanks.

  • Zikas

    278 Posts

    2169

    0

    Posted February 28th, 2013 14:00

    Hi Aces,

    you can set as well the LUN ID via the SMC.

  • 4_Aces

    17 Posts

    2169

    0

    Posted February 28th, 2013 14:00

    I can enter symaccess -sid 123 add devs -lun 2 even if they're aren't 2 devs in the SG?

    If so, perfect thanks!

  • dynamox

    11 Legend

    20419 Posts

    87439 Points

    2169

    0

    Posted February 28th, 2013 14:00

    symaccess -sid 123 add devs -lun <#>

  • Zikas

    278 Posts

    2176

    0

    Posted February 28th, 2013 14:00

    Totally agree Aces, but always you have to know hot to use the alternative way.

  • dynamox

    11 Legend

    20419 Posts

    87439 Points

    2169

    0

    Posted February 28th, 2013 14:00

    4_Aces wrote:

    I can enter symaccess -sid 123 add devs -lun 2 even if they're aren't 2 devs in the SG?

    If so, perfect thanks!

    correct

  • 4_Aces

    17 Posts

    2176

    0

    Posted March 20th, 2013 08:00

    I tried "symaccess -sid 1234 -name Storage_Group_SG add dev 6AAA -type stor -lun D3"

    Error message is: '-lun' invalid option, since Storage_Group_SG doesn't have a masking view.

    And when I go create a masking view, it tells me "the specified storage group is empty."

    So how can I create a view, with one dev in the SG, using the LUN id of my choosing?

  • dynamox

    11 Legend

    20419 Posts

    87439 Points

    2176

    0

    Posted March 20th, 2013 12:00

    use decimal, not hex

  • 4_Aces

    17 Posts

    613

    0

    Posted March 20th, 2013 15:00

    So if I add the LUN first to SG, then create the VIEW, it will set the LUN # to what I want with the -lun option?

  • 613

    0

    Posted March 20th, 2013 15:00

    I am pretty sure it is supposed to be hex. Anyways, in this situation you can add the device to the storage group beforehand and when you create the view you can add the -lun option. Host lun addresses are only assigned when the view is created.