LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 12-28-2012, 10:08 AM   #1
eantoranz
Senior Member
 
Registered: Apr 2003
Location: Colombia
Distribution: Kubuntu, Debian, Knoppix
Posts: 1,982
Blog Entries: 1

Rep: Reputation: 83
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)

Last edited by eantoranz; 12-28-2012 at 10:10 AM.
 
Old 12-28-2012, 01:26 PM   #2
eantoranz
Senior Member
 
Registered: Apr 2003
Location: Colombia
Distribution: Kubuntu, Debian, Knoppix
Posts: 1,982
Blog Entries: 1

Original Poster
Rep: Reputation: 83
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
 
  


Reply

Tags
iscsi, iscsid, logical units, target


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
iscsiadm, can't discover targets, iscsid crashing hokie92grad Linux - Server 1 11-01-2012 01:49 PM
setting Ip address on the target leopard dm368 ranjana kumari Linux - Newbie 0 07-18-2012 04:19 AM
setting up iscsi initiator and target gauthamk Linux - Software 0 10-05-2007 09:16 AM
I can see shared units on Windows boxes, but can't see any files within these units emiliofil Linux - Networking 2 01-24-2005 08:13 AM
Setting up logical volume management... [FAILED] userini Linux - Software 0 06-28-2004 12:56 PM


All times are GMT -5. The time now is 05:23 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration