LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-15-2014, 02:02 PM   #1
dundu
LQ Newbie
 
Registered: Jul 2012
Distribution: Redhat,Fedora,centos
Posts: 17

Rep: Reputation: Disabled
Question iscsi target config error


Hi


I am trying to configure iscsi target on my pc .these are the command i used
1,# mkdir /iscsi_disks
2,# dd if=/dev/zero of=/iscsi_disks/disk01.img count=0 bs=1 seek=2G
2G
0+0 records in
0+0 records out
0 bytes (0 B) copied, 0.000249885 s, 0.0 kB/s

3,vim /etc/tgt/targets.conf

added some lines
<target iqn.2014-08.domain.example.com:target00>
backing-store /iscsi_disks/disk01.img
initiator-address 172.85.90.1
incominguser root XXXXX
</target>

4,/etc/rc.d/init.d/tgtd start

no errors


5, /etc/rc.d/init.d/tgtd reload [FAILED]

Any idea what wrong with this config file .

Thanks
 
Old 08-28-2014, 11:25 AM   #2
loadedmind
Member
 
Registered: Sep 2003
Location: Texas
Distribution: Red Hat/CentOS
Posts: 290
Blog Entries: 1

Rep: Reputation: Disabled
What are the specifics of your environment? E.G. Controller card XYZ; connected via ABC using second port; dmidecode, lspci, dmesg output is always helpful along with the typical /var/log/messages.
 
  


Reply


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
[SOLVED] Iscsi target on Freenas 7 or 8 jefro *BSD 5 01-03-2011 05:39 PM
install livecd to iscsi target aclhkaclhk Linux - Software 1 01-30-2010 07:24 PM
Error coming while installing UNH ISCSI target in CentOS 4.7 cj_cheema Linux - Server 1 09-30-2009 05:41 AM
changes on other iscsi nodes attached to an ext3 iscsi target not being seen sldahlin Linux - Server 1 06-07-2008 03:02 AM
can we make iscsi target in fedora 8 gopals Linux - Software 0 02-29-2008 10:23 PM


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

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration