<?xml version="1.0" encoding="UTF-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
> <channel><title>Comments on: CentOS / Red Hat Linux: Install and manage iSCSI Volume</title> <atom:link href="http://www.cyberciti.biz/tips/rhel-centos-fedora-linux-iscsi-howto.html/feed" rel="self" type="application/rss+xml" /><link>http://www.cyberciti.biz/tips/rhel-centos-fedora-linux-iscsi-howto.html</link> <description>This is a Linux sys admin journal by Vivek about sys admin work, Linux tips &#38; tricks, hacks, news and more.</description> <lastBuildDate>Fri, 10 Feb 2012 20:37:43 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>By: Danix Defcon 5</title><link>http://www.cyberciti.biz/tips/rhel-centos-fedora-linux-iscsi-howto.html#comment-173694</link> <dc:creator>Danix Defcon 5</dc:creator> <pubDate>Sun, 04 Sep 2011 16:40:48 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/rhel-centos-fedora-linux-iscsi-howto.html#comment-173694</guid> <description>There&#039;s a step missing from these instructions, at least for my case. I actually have to login to the targets before they appear, so you need to do:
iscsiadm -m node -T (target) -p (portal) --login
For example:
iscsiadm -m node -T iqn.2011-09.org.foobar.san:my.iscsi.target.01 -p 192.168.1.66 --login</description> <content:encoded><![CDATA[<p>There&#8217;s a step missing from these instructions, at least for my case. I actually have to login to the targets before they appear, so you need to do:</p><p>iscsiadm -m node -T (target) -p (portal) &#8211;login</p><p>For example:</p><p>iscsiadm -m node -T iqn.2011-09.org.foobar.san:my.iscsi.target.01 -p 192.168.1.66 &#8211;login</p> ]]></content:encoded> </item> <item><title>By: Maheswaran</title><link>http://www.cyberciti.biz/tips/rhel-centos-fedora-linux-iscsi-howto.html#comment-173550</link> <dc:creator>Maheswaran</dc:creator> <pubDate>Thu, 25 Aug 2011 17:49:36 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/rhel-centos-fedora-linux-iscsi-howto.html#comment-173550</guid> <description>Thanks a lot. It works in  Centos 6 and Fedora 14.</description> <content:encoded><![CDATA[<p>Thanks a lot. It works in  Centos 6 and Fedora 14.</p> ]]></content:encoded> </item> <item><title>By: Reynold</title><link>http://www.cyberciti.biz/tips/rhel-centos-fedora-linux-iscsi-howto.html#comment-172312</link> <dc:creator>Reynold</dc:creator> <pubDate>Wed, 06 Jul 2011 20:40:18 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/rhel-centos-fedora-linux-iscsi-howto.html#comment-172312</guid> <description>Thank you so much Vivek:)</description> <content:encoded><![CDATA[<p>Thank you so much Vivek:)</p> ]]></content:encoded> </item> <item><title>By: miahac</title><link>http://www.cyberciti.biz/tips/rhel-centos-fedora-linux-iscsi-howto.html#comment-170776</link> <dc:creator>miahac</dc:creator> <pubDate>Fri, 22 Apr 2011 00:58:09 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/rhel-centos-fedora-linux-iscsi-howto.html#comment-170776</guid> <description>I hope this will solve my problem. When I reboot, the target changes device names so I have to change my mount point i.e. Right now my volume is on /dev/sdk1 but before rebooting it was on /dev/sdn1  -- so it does not remount from my fstab, and therefore I had to login and mount it (and I change my fstab, but that is really futile). I am concerned that this will not work because you are linking the label to the device name itself unless it is actually adding the label to the volume I have never used e2fs label before. I guess I will find out when I reboot in a year or two.</description> <content:encoded><![CDATA[<p>I hope this will solve my problem. When I reboot, the target changes device names so I have to change my mount point i.e. Right now my volume is on /dev/sdk1 but before rebooting it was on /dev/sdn1  &#8212; so it does not remount from my fstab, and therefore I had to login and mount it (and I change my fstab, but that is really futile). I am concerned that this will not work because you are linking the label to the device name itself unless it is actually adding the label to the volume I have never used e2fs label before. I guess I will find out when I reboot in a year or two.</p> ]]></content:encoded> </item> <item><title>By: Mark</title><link>http://www.cyberciti.biz/tips/rhel-centos-fedora-linux-iscsi-howto.html#comment-168688</link> <dc:creator>Mark</dc:creator> <pubDate>Thu, 10 Feb 2011 15:31:20 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/rhel-centos-fedora-linux-iscsi-howto.html#comment-168688</guid> <description>Is it possible to get the target back to read-write mode so I can umount the target without rebooting?  iSCSI shows that the connection is in a &quot;running&quot; state, but the device is marked read-only so remount doesn&#039;t help.</description> <content:encoded><![CDATA[<p>Is it possible to get the target back to read-write mode so I can umount the target without rebooting?  iSCSI shows that the connection is in a &#8220;running&#8221; state, but the device is marked read-only so remount doesn&#8217;t help.</p> ]]></content:encoded> </item> <item><title>By: eduardbc</title><link>http://www.cyberciti.biz/tips/rhel-centos-fedora-linux-iscsi-howto.html#comment-168270</link> <dc:creator>eduardbc</dc:creator> <pubDate>Thu, 13 Jan 2011 13:31:03 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/rhel-centos-fedora-linux-iscsi-howto.html#comment-168270</guid> <description>Nice article and nice comments!
But I still have the doubt if it&#039;s possible to connect to different targets with different passwords!
Thanks!</description> <content:encoded><![CDATA[<p>Nice article and nice comments!</p><p>But I still have the doubt if it&#8217;s possible to connect to different targets with different passwords!</p><p>Thanks!</p> ]]></content:encoded> </item> <item><title>By: Michael</title><link>http://www.cyberciti.biz/tips/rhel-centos-fedora-linux-iscsi-howto.html#comment-159204</link> <dc:creator>Michael</dc:creator> <pubDate>Fri, 27 Aug 2010 08:14:11 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/rhel-centos-fedora-linux-iscsi-howto.html#comment-159204</guid> <description>Please Help!
After doing the Step # 2: Discover targets without errors (I think so?).
When is use the fdisk -l command i can&#039;t see the new drive from iscsi target.
What should i do next?
I&#039;m Using CentOS 5.3 Server</description> <content:encoded><![CDATA[<p>Please Help!<br
/> After doing the Step # 2: Discover targets without errors (I think so?).<br
/> When is use the fdisk -l command i can&#8217;t see the new drive from iscsi target.</p><p>What should i do next?</p><p>I&#8217;m Using CentOS 5.3 Server</p> ]]></content:encoded> </item> <item><title>By: Tom</title><link>http://www.cyberciti.biz/tips/rhel-centos-fedora-linux-iscsi-howto.html#comment-158227</link> <dc:creator>Tom</dc:creator> <pubDate>Wed, 21 Jul 2010 02:57:35 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/rhel-centos-fedora-linux-iscsi-howto.html#comment-158227</guid> <description>Thanks for that.
The system was changing the order upon restart. Labels work.</description> <content:encoded><![CDATA[<p>Thanks for that.</p><p>The system was changing the order upon restart. Labels work.</p> ]]></content:encoded> </item> <item><title>By: Andy</title><link>http://www.cyberciti.biz/tips/rhel-centos-fedora-linux-iscsi-howto.html#comment-157960</link> <dc:creator>Andy</dc:creator> <pubDate>Tue, 13 Jul 2010 12:32:31 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/rhel-centos-fedora-linux-iscsi-howto.html#comment-157960</guid> <description>Thanks. helped me get iscsi setup very quickly.
to get the ids of the targets:
udevinfo -q symlink -n /dev/sd??
I tried adding them in fstab but that stopped the system from booting. I guess it was due to iscsi not being loaded at that point.
For my scenario it was perfectly acceptable for me to put the mounts into /etc/rc.local</description> <content:encoded><![CDATA[<p>Thanks. helped me get iscsi setup very quickly.</p><p>to get the ids of the targets:</p><p>udevinfo -q symlink -n /dev/sd??</p><p>I tried adding them in fstab but that stopped the system from booting. I guess it was due to iscsi not being loaded at that point.</p><p>For my scenario it was perfectly acceptable for me to put the mounts into /etc/rc.local</p> ]]></content:encoded> </item> <item><title>By: not-a-guru</title><link>http://www.cyberciti.biz/tips/rhel-centos-fedora-linux-iscsi-howto.html#comment-156962</link> <dc:creator>not-a-guru</dc:creator> <pubDate>Thu, 01 Jul 2010 20:52:21 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/rhel-centos-fedora-linux-iscsi-howto.html#comment-156962</guid> <description>I had the same issue. Turns out SELinux is preventing access. I don&#039;t really require that on this box, so I set it to permissive.</description> <content:encoded><![CDATA[<p>I had the same issue. Turns out SELinux is preventing access. I don&#8217;t really require that on this box, so I set it to permissive.</p> ]]></content:encoded> </item> <item><title>By: Jane</title><link>http://www.cyberciti.biz/tips/rhel-centos-fedora-linux-iscsi-howto.html#comment-154970</link> <dc:creator>Jane</dc:creator> <pubDate>Tue, 13 Apr 2010 01:18:45 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/rhel-centos-fedora-linux-iscsi-howto.html#comment-154970</guid> <description>I was successful in creating iscsi even used e2label to label the /dev/sdc1.  But everytime I reboot the machine it does not mount.  I have to logon and ran mount -a
Please advise on how to make it mount after every reboot.   Seem like it could not find /dev/sdc1 during boot up.
Thanks!</description> <content:encoded><![CDATA[<p>I was successful in creating iscsi even used e2label to label the /dev/sdc1.  But everytime I reboot the machine it does not mount.  I have to logon and ran mount -a</p><p>Please advise on how to make it mount after every reboot.   Seem like it could not find /dev/sdc1 during boot up.</p><p>Thanks!</p> ]]></content:encoded> </item> <item><title>By: Chris</title><link>http://www.cyberciti.biz/tips/rhel-centos-fedora-linux-iscsi-howto.html#comment-153992</link> <dc:creator>Chris</dc:creator> <pubDate>Sun, 28 Feb 2010 13:54:36 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/rhel-centos-fedora-linux-iscsi-howto.html#comment-153992</guid> <description>&lt;strong&gt;How to make sure multiple targets always connect correctly...&lt;/strong&gt;
I&#039;ve been looking at this for a couple of days and here are my findings.The above tutorial is great if you have only one target iSCSI volume. If you have multiple targets to connect to, there are a few things to consider.
1. When  the targets are discovered, they wont be discovered in the same order you set them up on your storage server.
2. When you reboot the server or restart iSCSI, the targets will not always be assigned the same device names each time.
3. The order in which the targets are discovered by the iscsi service, is not neccessarily the order in which they are assigned device names -  so dont assume that each discovered node will be assigned /dev/sdb, /dev/sdc, /dev/sdd in turn - they wont.
So, it is extremely difficult (or impossible) to identify which target volume applies to what device name If you enable all your targets at the same time and discover them all at once. To overcome the above issues you simply need to set up, discover and configure each target volume one at a time - then label the partitions and mount them using the label, instead of the device name. Here is how I did it...
1. Create the first iSCSI target on your storage server. On some devices you will be able create all of them and set all but one to disabled for now. I&#039;m using a Thecus N8800. I have 12TB split into 8 iSCSI volumes. The important thing at this step is to ensure that you only have your first iSCSI target enabled for discovery.
2. Follow the instructions in &lt;strong&gt;&quot;Step # 1: Configure iSCSI&quot;  and &quot;Step # 2: Discover targets&quot;&lt;/strong&gt; in the main tutorial above.
&lt;i&gt;Side note: I am yet to understand the node.session. and discovery.sendtargets. authentication options. On my storage device I have the option to create a CHAP username and password for each target but I dont know how this equates to either node.session. or discovery.sendtargets. or how to set this up in the config file for multiple targets with different usernames. So I currently have the CHAP authentication disabled completely.&lt;/i&gt;
3. From &lt;strong&gt;fdisk-l&lt;/strong&gt; note the device name and give it a label...
&lt;code&gt;# e2label /dev/sdb1 iscsi001&lt;/code&gt;
4. Enable the second iSCSI target on your storage device and run the first step from &lt;strong&gt;&quot;Step # 2: Discover targets&quot;&lt;/strong&gt; in the above tutorial...
&lt;code&gt;# iscsiadm -m discovery -t sendtargets -p 192.168.x.x
# /etc/init.d/iscsi restart&lt;/code&gt;
5. When you run &lt;strong&gt;fdisk-l&lt;/strong&gt; now, you will see your first target volume has been renamed to /dev/sdc1 and your new one has taken its place as /dev/sdb1.
Complete your partioning and formatting of the new volume and then label it...
&lt;code&gt;# e2label /dev/sdb1 iscsi002&lt;/code&gt;
Of course, the labels will remain, no matter what the device name. So if you read the label...
&lt;code&gt;# e2label /dev/sdc1&lt;/code&gt;
the response will be...
&lt;strong&gt;iscsi001&lt;/strong&gt;
&lt;code&gt;# e2label /dev/sdb1&lt;/code&gt;
&lt;strong&gt;iscsi002&lt;/strong&gt;
Repeat all the above steps for all your targets so that each one has a device label.
Now mount the target volumes using the label instead of the device name...
&lt;code&gt;mkdir /mnt/iscsi001;
mkdir /mnt/iscsi002;
mkdir /mnt/iscsi003;
mkdir /mnt/iscsi004;&lt;/code&gt;
In &lt;strong&gt;/etc/fstab&lt;/strong&gt;
&lt;code&gt;LABEL=iscsi001  /mnt/iscsi001 ext3 _netdev 0 0
LABEL=iscsi002  /mnt/iscsi002 ext3 _netdev 0 0
LABEL=iscsi003  /mnt/iscsi003 ext3 _netdev 0 0
LABEL=iscsi004  /mnt/iscsi004 ext3 _netdev 0 0&lt;/code&gt;
From the command line
&lt;code&gt;mount -L iscsi001 /mnt/iscsi001&lt;/code&gt;
Hope this helps anyone else who has the same dilemma :-)</description> <content:encoded><![CDATA[<p><strong>How to make sure multiple targets always connect correctly&#8230;</strong></p><p>I&#8217;ve been looking at this for a couple of days and here are my findings.The above tutorial is great if you have only one target iSCSI volume. If you have multiple targets to connect to, there are a few things to consider.</p><p>1. When  the targets are discovered, they wont be discovered in the same order you set them up on your storage server.<br
/> 2. When you reboot the server or restart iSCSI, the targets will not always be assigned the same device names each time.<br
/> 3. The order in which the targets are discovered by the iscsi service, is not neccessarily the order in which they are assigned device names &#8211;  so dont assume that each discovered node will be assigned /dev/sdb, /dev/sdc, /dev/sdd in turn &#8211; they wont.</p><p>So, it is extremely difficult (or impossible) to identify which target volume applies to what device name If you enable all your targets at the same time and discover them all at once. To overcome the above issues you simply need to set up, discover and configure each target volume one at a time &#8211; then label the partitions and mount them using the label, instead of the device name. Here is how I did it&#8230;</p><p>1. Create the first iSCSI target on your storage server. On some devices you will be able create all of them and set all but one to disabled for now. I&#8217;m using a Thecus N8800. I have 12TB split into 8 iSCSI volumes. The important thing at this step is to ensure that you only have your first iSCSI target enabled for discovery.</p><p>2. Follow the instructions in <strong>&#8220;Step # 1: Configure iSCSI&#8221;  and &#8220;Step # 2: Discover targets&#8221;</strong> in the main tutorial above.</p><p><i>Side note: I am yet to understand the node.session. and discovery.sendtargets. authentication options. On my storage device I have the option to create a CHAP username and password for each target but I dont know how this equates to either node.session. or discovery.sendtargets. or how to set this up in the config file for multiple targets with different usernames. So I currently have the CHAP authentication disabled completely.</i></p><p>3. From <strong>fdisk-l</strong> note the device name and give it a label&#8230;</p><p><code># e2label /dev/sdb1 iscsi001</code></p><p>4. Enable the second iSCSI target on your storage device and run the first step from <strong>&#8220;Step # 2: Discover targets&#8221;</strong> in the above tutorial&#8230;</p><p><code># iscsiadm -m discovery -t sendtargets -p 192.168.x.x<br
/> # /etc/init.d/iscsi restart</code></p><p>5. When you run <strong>fdisk-l</strong> now, you will see your first target volume has been renamed to /dev/sdc1 and your new one has taken its place as /dev/sdb1.</p><p>Complete your partioning and formatting of the new volume and then label it&#8230;</p><p><code># e2label /dev/sdb1 iscsi002</code></p><p>Of course, the labels will remain, no matter what the device name. So if you read the label&#8230;</p><p><code># e2label /dev/sdc1</code></p><p>the response will be&#8230;</p><p><strong>iscsi001</strong></p><p><code># e2label /dev/sdb1</code></p><p><strong>iscsi002</strong></p><p>Repeat all the above steps for all your targets so that each one has a device label.</p><p>Now mount the target volumes using the label instead of the device name&#8230;</p><p><code>mkdir /mnt/iscsi001;<br
/> mkdir /mnt/iscsi002;<br
/> mkdir /mnt/iscsi003;<br
/> mkdir /mnt/iscsi004;</code></p><p>In <strong>/etc/fstab</strong></p><p><code>LABEL=iscsi001  /mnt/iscsi001 ext3 _netdev 0 0<br
/> LABEL=iscsi002  /mnt/iscsi002 ext3 _netdev 0 0<br
/> LABEL=iscsi003  /mnt/iscsi003 ext3 _netdev 0 0<br
/> LABEL=iscsi004  /mnt/iscsi004 ext3 _netdev 0 0</code></p><p>From the command line</p><p><code>mount -L iscsi001 /mnt/iscsi001</code></p><p>Hope this helps anyone else who has the same dilemma :-)</p> ]]></content:encoded> </item> <item><title>By: Chris</title><link>http://www.cyberciti.biz/tips/rhel-centos-fedora-linux-iscsi-howto.html#comment-153958</link> <dc:creator>Chris</dc:creator> <pubDate>Fri, 26 Feb 2010 16:26:15 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/rhel-centos-fedora-linux-iscsi-howto.html#comment-153958</guid> <description>I&#039;ve decided to reduce the size of my iscsi targets, change the block size back to 512 and try again. I wasnt happy with being unable to partition the 5TB volume. I now have four iscsi targets to connect to, each around 1.3 TB.
I want to ensure that these are connected the same way each time. I see no way in the config file to specify each target - it seems to just auto discover. I dont want to auto discover. How can I specify the target&#039;s target name or iqn so that it always gets the same device name each time? The device name appears to be dynamically created on boot. What happens if it dicovers one device before another next time it boots? will it apply a different device name to the one before. I need to be able to specify this somehow.
On the storage device config I can choose a target name and a CHAP username and password for each target - each has their own iqn. I cant work out how to use CHAP authentication to conenct to four seperate targets. The config file only has an option to specify one username and password and there is no way of specifying the target. It doesnt make sense.
I need to do the following...
1. When the iscsi service is started, connect to four target devices using a different CHAPS username and password for each one.
2. Ensure that each device always has the same device name.
If somoene could point me in the direction of a tutorial or docuement that shows specifically how to do this I would be very grateful. Thank you for your time.</description> <content:encoded><![CDATA[<p>I&#8217;ve decided to reduce the size of my iscsi targets, change the block size back to 512 and try again. I wasnt happy with being unable to partition the 5TB volume. I now have four iscsi targets to connect to, each around 1.3 TB.</p><p>I want to ensure that these are connected the same way each time. I see no way in the config file to specify each target &#8211; it seems to just auto discover. I dont want to auto discover. How can I specify the target&#8217;s target name or iqn so that it always gets the same device name each time? The device name appears to be dynamically created on boot. What happens if it dicovers one device before another next time it boots? will it apply a different device name to the one before. I need to be able to specify this somehow.</p><p>On the storage device config I can choose a target name and a CHAP username and password for each target &#8211; each has their own iqn. I cant work out how to use CHAP authentication to conenct to four seperate targets. The config file only has an option to specify one username and password and there is no way of specifying the target. It doesnt make sense.</p><p>I need to do the following&#8230;</p><p>1. When the iscsi service is started, connect to four target devices using a different CHAPS username and password for each one.<br
/> 2. Ensure that each device always has the same device name.</p><p>If somoene could point me in the direction of a tutorial or docuement that shows specifically how to do this I would be very grateful. Thank you for your time.</p> ]]></content:encoded> </item> <item><title>By: Chris</title><link>http://www.cyberciti.biz/tips/rhel-centos-fedora-linux-iscsi-howto.html#comment-153846</link> <dc:creator>Chris</dc:creator> <pubDate>Mon, 22 Feb 2010 09:17:47 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/rhel-centos-fedora-linux-iscsi-howto.html#comment-153846</guid> <description>Hi Jay,
As I mentioned in my earlier message, if I restart the iscsi service, the device becomes detected as sdc instead of sdb.</description> <content:encoded><![CDATA[<p>Hi Jay,<br
/> As I mentioned in my earlier message, if I restart the iscsi service, the device becomes detected as sdc instead of sdb.</p> ]]></content:encoded> </item> <item><title>By: jay</title><link>http://www.cyberciti.biz/tips/rhel-centos-fedora-linux-iscsi-howto.html#comment-153842</link> <dc:creator>jay</dc:creator> <pubDate>Mon, 22 Feb 2010 02:37:29 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/rhel-centos-fedora-linux-iscsi-howto.html#comment-153842</guid> <description>Hi,
I did not use partition anymore. I was able to mount and umount the iscsi and use it for 19 days now w/o a problem.
Chris:,
Do you really need to restart the server? How about just restarting the iscsi sevices?
Rgds,
Jay A</description> <content:encoded><![CDATA[<p>Hi,</p><p>I did not use partition anymore. I was able to mount and umount the iscsi and use it for 19 days now w/o a problem.</p><p>Chris:,<br
/> Do you really need to restart the server? How about just restarting the iscsi sevices?</p><p>Rgds,<br
/> Jay A</p> ]]></content:encoded> </item> <item><title>By: Chris</title><link>http://www.cyberciti.biz/tips/rhel-centos-fedora-linux-iscsi-howto.html#comment-153805</link> <dc:creator>Chris</dc:creator> <pubDate>Fri, 19 Feb 2010 13:41:09 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/rhel-centos-fedora-linux-iscsi-howto.html#comment-153805</guid> <description>I&#039;m using centos 5
It works perfectly 99% of the time but my problem is if I lose connection to the target for any reason, if iscsi is restarted, or if the volume is unmounted, the only way to get it to work properly again is to reboot the server. It doesnt seem as reliable as people say.</description> <content:encoded><![CDATA[<p>I&#8217;m using centos 5</p><p>It works perfectly 99% of the time but my problem is if I lose connection to the target for any reason, if iscsi is restarted, or if the volume is unmounted, the only way to get it to work properly again is to reboot the server. It doesnt seem as reliable as people say.</p> ]]></content:encoded> </item> <item><title>By: Vivek Gite</title><link>http://www.cyberciti.biz/tips/rhel-centos-fedora-linux-iscsi-howto.html#comment-153803</link> <dc:creator>Vivek Gite</dc:creator> <pubDate>Fri, 19 Feb 2010 13:04:45 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/rhel-centos-fedora-linux-iscsi-howto.html#comment-153803</guid> <description>majk / chris and jay, you are following guide for RHEL / CentOS 5. There is a link at the bottom of the article which is for RHEL/CentOS 4.
HTH</description> <content:encoded><![CDATA[<p>majk / chris and jay, you are following guide for RHEL / CentOS 5. There is a link at the bottom of the article which is for RHEL/CentOS 4.</p><p>HTH</p> ]]></content:encoded> </item> <item><title>By: majk</title><link>http://www.cyberciti.biz/tips/rhel-centos-fedora-linux-iscsi-howto.html#comment-153800</link> <dc:creator>majk</dc:creator> <pubDate>Fri, 19 Feb 2010 11:15:30 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/rhel-centos-fedora-linux-iscsi-howto.html#comment-153800</guid> <description>hi, i have the same problems like chris and Jay. Anyone has a solution?
Regards Majk</description> <content:encoded><![CDATA[<p>hi, i have the same problems like chris and Jay. Anyone has a solution?</p><p>Regards Majk</p> ]]></content:encoded> </item> <item><title>By: Eric</title><link>http://www.cyberciti.biz/tips/rhel-centos-fedora-linux-iscsi-howto.html#comment-153664</link> <dc:creator>Eric</dc:creator> <pubDate>Wed, 17 Feb 2010 02:03:36 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/rhel-centos-fedora-linux-iscsi-howto.html#comment-153664</guid> <description>Hi I have the same problem as Paras Pradhan except my error code is:
[root@cent ~]# iscsiadm -m discovery -t sendtargets -p 192.168.2.0
iscsiadm: cannot make connection to 192.168.2.0:3260 (101)
iscsiadm: connection to discovery address 192.168.2.0 failed
iscsiadm: cannot make connection to 192.168.2.0:3260 (101)
iscsiadm: connection to discovery address 192.168.2.0 failed
iscsiadm: cannot make connection to 192.168.2.0:3260 (101)
iscsiadm: connection to discovery address 192.168.2.0 failed
iscsiadm: cannot make connection to 192.168.2.0:3260 (101)
iscsiadm: connection to discovery address 192.168.2.0 failed
iscsiadm: cannot make connection to 192.168.2.0:3260 (101)
iscsiadm: connection to discovery address 192.168.2.0 failed
iscsiadm: connection login retries (reopen_max) 5 exceeded
I tried service iscsi restart; service iscsid restart and tried the command again but I still am not able to connect to it. Did I configure the vi /etc/iscsi/iscsid.conf correctly?
# to CHAP. The default is None.
node.session.auth.authmethod = CHAP
# To set a CHAP username and password for initiator
# authentication by the target(s), uncomment the following lines:
node.session.auth.username = [our username goes here]
node.session.auth.password = [our password goes here]
# To set a CHAP username and password for target(s)
# authentication by the initiator, uncomment the following lines:
node.session.auth.username_in = [our username goes here]
node.session.auth.password_in = [our password goes here]
# To enable CHAP authentication for a discovery session to the target
# set discovery.sendtargets.auth.authmethod to CHAP. The default is None.
#discovery.sendtargets.auth.authmethod = CHAP
# To set a discovery session CHAP username and password for the initiator
# authentication by the target(s), uncomment the following lines:
#discovery.sendtargets.auth.username = username
#discovery.sendtargets.auth.password = password
# To set a discovery session CHAP username and password for target(s)
# authentication by the initiator, uncomment the following lines:
#discovery.sendtargets.auth.username_in = username
#discovery.sendtargets.auth.password_in = password
Thanks,
Eric Averitt</description> <content:encoded><![CDATA[<p>Hi I have the same problem as Paras Pradhan except my error code is:</p><p>[root@cent ~]# iscsiadm -m discovery -t sendtargets -p 192.168.2.0<br
/> iscsiadm: cannot make connection to 192.168.2.0:3260 (101)<br
/> iscsiadm: connection to discovery address 192.168.2.0 failed<br
/> iscsiadm: cannot make connection to 192.168.2.0:3260 (101)<br
/> iscsiadm: connection to discovery address 192.168.2.0 failed<br
/> iscsiadm: cannot make connection to 192.168.2.0:3260 (101)<br
/> iscsiadm: connection to discovery address 192.168.2.0 failed<br
/> iscsiadm: cannot make connection to 192.168.2.0:3260 (101)<br
/> iscsiadm: connection to discovery address 192.168.2.0 failed<br
/> iscsiadm: cannot make connection to 192.168.2.0:3260 (101)<br
/> iscsiadm: connection to discovery address 192.168.2.0 failed<br
/> iscsiadm: connection login retries (reopen_max) 5 exceeded</p><p>I tried service iscsi restart; service iscsid restart and tried the command again but I still am not able to connect to it. Did I configure the vi /etc/iscsi/iscsid.conf correctly?</p><p># to CHAP. The default is None.<br
/> node.session.auth.authmethod = CHAP</p><p># To set a CHAP username and password for initiator<br
/> # authentication by the target(s), uncomment the following lines:<br
/> node.session.auth.username = [our username goes here]<br
/> node.session.auth.password = [our password goes here]</p><p># To set a CHAP username and password for target(s)<br
/> # authentication by the initiator, uncomment the following lines:<br
/> node.session.auth.username_in = [our username goes here]<br
/> node.session.auth.password_in = [our password goes here]</p><p># To enable CHAP authentication for a discovery session to the target<br
/> # set discovery.sendtargets.auth.authmethod to CHAP. The default is None.<br
/> #discovery.sendtargets.auth.authmethod = CHAP</p><p># To set a discovery session CHAP username and password for the initiator<br
/> # authentication by the target(s), uncomment the following lines:<br
/> #discovery.sendtargets.auth.username = username<br
/> #discovery.sendtargets.auth.password = password</p><p># To set a discovery session CHAP username and password for target(s)<br
/> # authentication by the initiator, uncomment the following lines:<br
/> #discovery.sendtargets.auth.username_in = username<br
/> #discovery.sendtargets.auth.password_in = password</p><p>Thanks,<br
/> Eric Averitt</p> ]]></content:encoded> </item> <item><title>By: Chris</title><link>http://www.cyberciti.biz/tips/rhel-centos-fedora-linux-iscsi-howto.html#comment-153474</link> <dc:creator>Chris</dc:creator> <pubDate>Thu, 11 Feb 2010 15:22:45 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/rhel-centos-fedora-linux-iscsi-howto.html#comment-153474</guid> <description>I&#039;m having a problem...
My iscsi volume is 5GB on a RAID5 array. I could find no way to sucessfully partition this so I simply formatted the whole volume. When I do fdisk -l I get &quot;Disk /dev/sdb doesn&#039;t contain a valid partition table&quot; but this doesnt seem to be a major issue.
When I  start up the server, iscsi finds the target, /dev/sdb is created and then mounted via fstab. I can connect to the volume fine.
If I restart iscsi for any reason, I lose the disk - it disappears and is re-detected as /dev/sdc instead.
I am also unable to unmount it without getting &quot;device is busy&quot;.
Any ideas?</description> <content:encoded><![CDATA[<p>I&#8217;m having a problem&#8230;</p><p>My iscsi volume is 5GB on a RAID5 array. I could find no way to sucessfully partition this so I simply formatted the whole volume. When I do fdisk -l I get &#8220;Disk /dev/sdb doesn&#8217;t contain a valid partition table&#8221; but this doesnt seem to be a major issue.</p><p>When I  start up the server, iscsi finds the target, /dev/sdb is created and then mounted via fstab. I can connect to the volume fine.</p><p>If I restart iscsi for any reason, I lose the disk &#8211; it disappears and is re-detected as /dev/sdc instead.</p><p>I am also unable to unmount it without getting &#8220;device is busy&#8221;.</p><p>Any ideas?</p> ]]></content:encoded> </item> </channel> </rss>
