<?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/"
	xmlns:series="http://unfoldingneurons.com/"
		>
<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>Sun, 21 Mar 2010 14:15:55 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<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>
	<item>
		<title>By: jay</title>
		<link>http://www.cyberciti.biz/tips/rhel-centos-fedora-linux-iscsi-howto.html#comment-153319</link>
		<dc:creator>jay</dc:creator>
		<pubDate>Thu, 04 Feb 2010 05:33:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/tips/rhel-centos-fedora-linux-iscsi-howto.html#comment-153319</guid>
		<description>additional:

This is how it looks like when I issue fdisk -l

Disk /dev/sdn: 143.0 GB, 143034155008 bytes
255 heads, 63 sectors/track, 17389 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sdn1               1       17389   139677111   83  Linux

Disk /dev/sdn1: 143.0 GB, 143029361664 bytes
255 heads, 63 sectors/track, 17388 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sdn1 doesn&#039;t contain a valid partition table

Disk /dev/sdo: 968.0 GB, 968016265216 bytes
255 heads, 63 sectors/track, 117687 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sdo1               1      117687   945320796   83  Linux


The one with the problem is /dev/sdo1. I&#039;m expecting it to be looked like sdn1. 
(sdo1 and sdn1 are partition of sdo and sdn device).

I am using rhel 4 AS, 2.6.9-42ELsmp,

iscsitarget-kernel-smp-0.4.12-6_2.6.9_42.EL
iscsitarget-0.4.12-6
iscsi-initiator-utils-4.0.3.0-4


Regards,
Jay A</description>
		<content:encoded><![CDATA[<p>additional:</p>
<p>This is how it looks like when I issue fdisk -l</p>
<p>Disk /dev/sdn: 143.0 GB, 143034155008 bytes<br />
255 heads, 63 sectors/track, 17389 cylinders<br />
Units = cylinders of 16065 * 512 = 8225280 bytes</p>
<p>   Device Boot      Start         End      Blocks   Id  System<br />
/dev/sdn1               1       17389   139677111   83  Linux</p>
<p>Disk /dev/sdn1: 143.0 GB, 143029361664 bytes<br />
255 heads, 63 sectors/track, 17388 cylinders<br />
Units = cylinders of 16065 * 512 = 8225280 bytes</p>
<p>Disk /dev/sdn1 doesn&#8217;t contain a valid partition table</p>
<p>Disk /dev/sdo: 968.0 GB, 968016265216 bytes<br />
255 heads, 63 sectors/track, 117687 cylinders<br />
Units = cylinders of 16065 * 512 = 8225280 bytes</p>
<p>   Device Boot      Start         End      Blocks   Id  System<br />
/dev/sdo1               1      117687   945320796   83  Linux</p>
<p>The one with the problem is /dev/sdo1. I&#8217;m expecting it to be looked like sdn1.<br />
(sdo1 and sdn1 are partition of sdo and sdn device).</p>
<p>I am using rhel 4 AS, 2.6.9-42ELsmp,</p>
<p>iscsitarget-kernel-smp-0.4.12-6_2.6.9_42.EL<br />
iscsitarget-0.4.12-6<br />
iscsi-initiator-utils-4.0.3.0-4</p>
<p>Regards,<br />
Jay A</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jay</title>
		<link>http://www.cyberciti.biz/tips/rhel-centos-fedora-linux-iscsi-howto.html#comment-153317</link>
		<dc:creator>jay</dc:creator>
		<pubDate>Thu, 04 Feb 2010 05:19:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/tips/rhel-centos-fedora-linux-iscsi-howto.html#comment-153317</guid>
		<description>I was able to mount and use the device but after stopping the iscsi service and unmounting the device, I wasn&#039;t able to mount it again.</description>
		<content:encoded><![CDATA[<p>I was able to mount and use the device but after stopping the iscsi service and unmounting the device, I wasn&#8217;t able to mount it again.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: VPS Lime LLC</title>
		<link>http://www.cyberciti.biz/tips/rhel-centos-fedora-linux-iscsi-howto.html#comment-153177</link>
		<dc:creator>VPS Lime LLC</dc:creator>
		<pubDate>Thu, 28 Jan 2010 03:25:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/tips/rhel-centos-fedora-linux-iscsi-howto.html#comment-153177</guid>
		<description>Great article and well written!
Very easy to follow and use.</description>
		<content:encoded><![CDATA[<p>Great article and well written!<br />
Very easy to follow and use.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: flo</title>
		<link>http://www.cyberciti.biz/tips/rhel-centos-fedora-linux-iscsi-howto.html#comment-152220</link>
		<dc:creator>flo</dc:creator>
		<pubDate>Thu, 10 Dec 2009 10:14:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/tips/rhel-centos-fedora-linux-iscsi-howto.html#comment-152220</guid>
		<description>Good job !!!
But when i check my fs on my das this is the result :

real 0m24.005s
user 0m0.000s
sys 0m0.000s
##########
0+10 enregistrements lus.
0+10 enregistrements Ã©crits.

real 0m0.001s
user 0m0.000s
sys 0m0.001s
##########
0+10 enregistrements lus.
0+10 enregistrements Ã©crits.

real 0m0.001s
user 0m0.000s
sys 0m0.001s
##########
0+9 enregistrements lus.
0+9 enregistrements Ã©crits.

real 0m0.535s
user 0m0.000s
sys 0m0.001s

I do not know why sometime the response time is very long 

Thx</description>
		<content:encoded><![CDATA[<p>Good job !!!<br />
But when i check my fs on my das this is the result :</p>
<p>real 0m24.005s<br />
user 0m0.000s<br />
sys 0m0.000s<br />
##########<br />
0+10 enregistrements lus.<br />
0+10 enregistrements Ã©crits.</p>
<p>real 0m0.001s<br />
user 0m0.000s<br />
sys 0m0.001s<br />
##########<br />
0+10 enregistrements lus.<br />
0+10 enregistrements Ã©crits.</p>
<p>real 0m0.001s<br />
user 0m0.000s<br />
sys 0m0.001s<br />
##########<br />
0+9 enregistrements lus.<br />
0+9 enregistrements Ã©crits.</p>
<p>real 0m0.535s<br />
user 0m0.000s<br />
sys 0m0.001s</p>
<p>I do not know why sometime the response time is very long </p>
<p>Thx</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Skau</title>
		<link>http://www.cyberciti.biz/tips/rhel-centos-fedora-linux-iscsi-howto.html#comment-150403</link>
		<dc:creator>Skau</dc:creator>
		<pubDate>Fri, 28 Aug 2009 14:57:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/tips/rhel-centos-fedora-linux-iscsi-howto.html#comment-150403</guid>
		<description>Robert and Paras, you probably get this error because iscsi and iscsid is not started on your client nodes, reboot those (or use service iscsi start; service iscsid start) and you will be able to discover your devices.

I had the same error, chkconfig showed me that they were on - but a reboot of the clients solved my problems</description>
		<content:encoded><![CDATA[<p>Robert and Paras, you probably get this error because iscsi and iscsid is not started on your client nodes, reboot those (or use service iscsi start; service iscsid start) and you will be able to discover your devices.</p>
<p>I had the same error, chkconfig showed me that they were on &#8211; but a reboot of the clients solved my problems</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jap</title>
		<link>http://www.cyberciti.biz/tips/rhel-centos-fedora-linux-iscsi-howto.html#comment-149804</link>
		<dc:creator>jap</dc:creator>
		<pubDate>Fri, 31 Jul 2009 19:18:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/tips/rhel-centos-fedora-linux-iscsi-howto.html#comment-149804</guid>
		<description>sorry, it is there :-]
/etc/iscsi/initiatorname.iscsi

stujap</description>
		<content:encoded><![CDATA[<p>sorry, it is there :-]<br />
/etc/iscsi/initiatorname.iscsi</p>
<p>stujap</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jap</title>
		<link>http://www.cyberciti.biz/tips/rhel-centos-fedora-linux-iscsi-howto.html#comment-149802</link>
		<dc:creator>jap</dc:creator>
		<pubDate>Fri, 31 Jul 2009 17:40:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/tips/rhel-centos-fedora-linux-iscsi-howto.html#comment-149802</guid>
		<description>Thanks for the guide,

Maybe stupid question, but i don&#039;t undertand where i can find or set initiator name? Or i don&#039;t need it? What should i set on storage site?

Thank you,
Jap</description>
		<content:encoded><![CDATA[<p>Thanks for the guide,</p>
<p>Maybe stupid question, but i don&#8217;t undertand where i can find or set initiator name? Or i don&#8217;t need it? What should i set on storage site?</p>
<p>Thank you,<br />
Jap</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vivek Gite</title>
		<link>http://www.cyberciti.biz/tips/rhel-centos-fedora-linux-iscsi-howto.html#comment-149533</link>
		<dc:creator>Vivek Gite</dc:creator>
		<pubDate>Fri, 17 Jul 2009 06:59:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/tips/rhel-centos-fedora-linux-iscsi-howto.html#comment-149533</guid>
		<description>...about what?</description>
		<content:encoded><![CDATA[<p>&#8230;about what?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: el nugraha</title>
		<link>http://www.cyberciti.biz/tips/rhel-centos-fedora-linux-iscsi-howto.html#comment-149531</link>
		<dc:creator>el nugraha</dc:creator>
		<pubDate>Fri, 17 Jul 2009 06:40:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/tips/rhel-centos-fedora-linux-iscsi-howto.html#comment-149531</guid>
		<description>i&#039;m not sure</description>
		<content:encoded><![CDATA[<p>i&#8217;m not sure</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ugo Bellavance</title>
		<link>http://www.cyberciti.biz/tips/rhel-centos-fedora-linux-iscsi-howto.html#comment-149525</link>
		<dc:creator>Ugo Bellavance</dc:creator>
		<pubDate>Thu, 16 Jul 2009 18:47:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/tips/rhel-centos-fedora-linux-iscsi-howto.html#comment-149525</guid>
		<description>Little note:  &quot;netfs&quot; service must be on in chkconfig in red-hat, else the mountpoints are not mounted.</description>
		<content:encoded><![CDATA[<p>Little note:  &#8220;netfs&#8221; service must be on in chkconfig in red-hat, else the mountpoints are not mounted.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shaun Forsyth</title>
		<link>http://www.cyberciti.biz/tips/rhel-centos-fedora-linux-iscsi-howto.html#comment-148869</link>
		<dc:creator>Shaun Forsyth</dc:creator>
		<pubDate>Mon, 08 Jun 2009 10:28:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/tips/rhel-centos-fedora-linux-iscsi-howto.html#comment-148869</guid>
		<description>Great Guide, wanted to say thanks. This saved me god knows how many hours of research. Also wanted to point out a great unti
&lt;code&gt;lshw&lt;/code&gt;
Which can be install using
&lt;code&gt;yum isntall lshw&lt;/code&gt;
this makes it about 100 times easyer to find the new device name</description>
		<content:encoded><![CDATA[<p>Great Guide, wanted to say thanks. This saved me god knows how many hours of research. Also wanted to point out a great unti<br />
<code>lshw</code><br />
Which can be install using<br />
<code>yum isntall lshw</code><br />
this makes it about 100 times easyer to find the new device name</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.212 seconds -->
<!-- Cached page served by WP-Cache -->
