iSCSI: LUNs per target?

Posted by badnews on Server Fault See other posts from Server Fault or by badnews
Published on 2013-10-29T20:40:30Z Indexed on 2013/10/29 21:58 UTC
Read the original article Hit count: 317

Filed under:
|
|
|

My question relates specifically to ZFS/COMSTAR but I assume is generally applicable to any iSCSI system:

Should one prefer to create a target for every LUN that you want to expose? Or is it good practise to have a single target with multiple LUNs?

Does either approach have a performance impact? And is there some crossover point where the other approach makes sense?

The use case is for VM disks, where each disk (zvol) is a LUN. So far we have created a a separate target for each VM; but a single target that contains all the LUNs would probably greatly simplify management... but we may need hundreds of LUNs per a single target. (And then possibly tens of initiator connections to that target)

© Server Fault or respective owner

Related posts about zfs

Related posts about iscsi