LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   iscsid: setting up target/logical units (https://www.linuxquestions.org/questions/linux-server-73/iscsid-setting-up-target-logical-units-4175443259/)

eantoranz 12-28-2012 10:08 AM

iscsid: setting up target/logical units
 
Hi!

I have this very simple setup with iscsid that provides 3 targets (I think) when I do discovery:

Code:

$ sudo iscsiadm -m discovery -t st -p 192.168.55.11
192.168.55.11:3260,1 iqn.2012-11.san:disk1
192.168.55.11:3260,1 iqn.2012-11.www:www
192.168.55.11:3260,1 iqn.2012-11.www:session

If I do login I get access to those 3 resources as disks. Now I'd like to make it work with a single target with 3 logical units. How can I do that?

Thanks in advance.

Ubuntu 10.04 servers (virtual machines)

eantoranz 12-28-2012 01:26 PM

I had set up three targets in the ietd.conf file with a LUN each. I put all luns under the same target and I think that broke it.

Code:

Target iqn.2012-11.san:sanos
        Lun 0 Path=/iscsi_sanos.dat
        Lun 1 Path=/iscsi_www.dat
        Lun 2 Path=/iscsi_session.dat



All times are GMT -5. The time now is 11:57 AM.