Array Setup and Networking
1833170 Members
3679 Online
110051 Solutions
New Discussion

All volumes have same Target/IQN on 6.x firmware, but unique IQN on 5.x?

 
SOLVED
Go to solution
soles
Occasional Visitor

All volumes have same Target/IQN on 6.x firmware, but unique IQN on 5.x?

Standing up a new array and realizing that as I create volumes, they all have the same IQN and just increment the LUN number. This is a drastic difference from arrays on 5.x firmware and is a breaking change for RHEV (it's now impossible to remove a Direct LUN if you retire the VM that used it, for example).

Is it possible to have an array on 6.x use a unique IQN for every volume (for discovery/connection purposes) rather than its current default where every volume has an identical IQN but incremented LUN?  Right now I'm connected to 6 volumes, for example, but 'iscsiadm -m session' just shows a single IQN connected twice for the multipath networks. What we need to see is 6 unique IQNs, each connected twice (so see 12 total lines instead of 2).

Thank you for any help, this is a completely breaking setting for RHEV and we're on a deadline for deployment, so freaking out a bit.

3 REPLIES 3
soles
Occasional Visitor
Solution

Re: All volumes have same Target/IQN on 6.x firmware, but unique IQN on 5.x?

OK, OK... it's just a default that changed between versions, and can't be set back to "normal" via the UI.  From the console you can do:

    $ group --edit --default_iscsi_target_scope volume

... and all future volumes will have their own IQN.  Whew.

Sunitha_Mod
Honored Contributor

Re: All volumes have same Target/IQN on 6.x firmware, but unique IQN on 5.x?

Hello @soles

Thank you for writing to us! We are glad to know you were able to find the solution and thank you for keeping us updated. 

Sunitha_Mod
Honored Contributor

Re: All volumes have same Target/IQN on 6.x firmware, but unique IQN on 5.x?

Hello @soles

Thank you for writing to us! We are glad to know you were able to find the solution and thank you for keeping us updated.