I am trying to configure my HP MSA 2012i such that every disk is a vdisk and every vdisk is a volume. Each volume shall be accessible using iSCSI. So each volume shall be a iSCSI target. This is not a raid, I rather want to use the single disks.
I have 12 disks in this device. So I get 12 vdisks and consequently 12 volumes.
Do I have to assign each volume a different LUN? If I discover the target, what would the output of multiple LUNs look like?
My OS is Ubuntu and I am using open-iSCSI. There is also multipath installed but physically disabled. I have pulled the plug of one of the two cables.
The main problem is that the iSCSI initiator can only find one target, not all 12. To be more specific, the initiator finds always one target but after performing the iSCSI login, there are new devices in /dev/sd* if and only if I exported the first disk (with the id 0.0, the disk in the upper left corner of the array). If I don't export the first disk, then there is no new entry in /dev/sd*. If I export the first disk, there is a new entry corresponding to the first disk. It does not depend on whether there are other exported disks.
I don't have any clue.
Could the initiator be the problem? What would I have to do to discover multiple LUNs?
Edit:
# show volume-maps
Volume [SN <num>, Name (volume00)] mapping view:
CH ID LUN Access Host-Port-Identifier Nickname
-------------------------------------------------------------------------------
0,1 0 15 rw all other hosts
Volume [SN <num>, Name (v11)] mapping view:
CH ID LUN Access Host-Port-Identifier Nickname
-------------------------------------------------------------------------------
0,1 0 11 rw all other hosts
Volume [SN <num>, Name (v01)] mapping view:
CH ID LUN Access Host-Port-Identifier Nickname
-------------------------------------------------------------------------------
0,1 0 0 rw all other hosts
Success: Command completed successfully
DAS would solve all my problems, but I have the device ( HP MSA 2012i ) and I don't have the hardware for a DAS.
I decided to use the MSA as it should be: I will create one big vdisk, consisting of all real disks (some as spares), and one volume and export this.
So I don't use the capabilities of ZFS for Raid. Thank you all for your fast support.
– A. Res Aug 03 '14 at 08:44