<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Shared RAW devices on Linux in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/shared-raw-devices-on-linux/m-p/3657069#M20286</link>
    <description>Good host:&lt;BR /&gt;fdisk -l /dev/sda&lt;BR /&gt;&lt;BR /&gt;Disk /dev/sda: 14.5 GB, 14580449280 bytes&lt;BR /&gt;255 heads, 63 sectors/track, 1772 cylinders&lt;BR /&gt;Units = cylinders of 16065 * 512 = 8225280 bytes&lt;BR /&gt;&lt;BR /&gt;   Device Boot    Start       End    Blocks   Id  System&lt;BR /&gt;/dev/sda1             1       125   1004031   83  Linux&lt;BR /&gt;/dev/sda2           126       250   1004062+  83  Linux&lt;BR /&gt;[]# dd if=/dev/zero of=/dev/sda1 bs=512 count=1&lt;BR /&gt;1+0 records in&lt;BR /&gt;1+0 records out&lt;BR /&gt;&lt;BR /&gt;#############################################&lt;BR /&gt;Bad Host:&lt;BR /&gt;fdisk -l /dev/sda&lt;BR /&gt;&lt;BR /&gt;Disk /dev/sda: 14.5 GB, 14580449280 bytes&lt;BR /&gt;255 heads, 63 sectors/track, 1772 cylinders&lt;BR /&gt;Units = cylinders of 16065 * 512 = 8225280 bytes&lt;BR /&gt;&lt;BR /&gt;   Device Boot    Start       End    Blocks   Id  System&lt;BR /&gt;/dev/sda1             1       125   1004031   83  Linux&lt;BR /&gt;/dev/sda2           126       250   1004062+  83  Linux&lt;BR /&gt;[]# dd if=/dev/zero of=/dev/sda1 bs=512 count=1&lt;BR /&gt;1+0 records in&lt;BR /&gt;1+0 records out&lt;BR /&gt;[]# tail /var/log/messages&lt;BR /&gt;&lt;BR /&gt;Oct 26 09:27:02 xxxx kernel: scsi1 (0,0,0) : RESERVATION CONFLICT&lt;BR /&gt;Oct 26 09:27:02 xxxx kernel: SCSI disk error : host 1 channel 0 id 0 lun 0 return code = 18&lt;BR /&gt;Oct 26 09:27:02 xxxx kernel:  I/O error: dev 08:01, sector 0&lt;BR /&gt;&lt;BR /&gt;So when I try to dd to it on the bad host I get the RESERVATION CONFLICT, where I don't get it on the good host.&lt;BR /&gt;&lt;BR /&gt;Could this be a SAN issue?</description>
    <pubDate>Wed, 26 Oct 2005 09:31:04 GMT</pubDate>
    <dc:creator>TJ_16</dc:creator>
    <dc:date>2005-10-26T09:31:04Z</dc:date>
    <item>
      <title>Shared RAW devices on Linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/shared-raw-devices-on-linux/m-p/3657063#M20280</link>
      <description>We are trying to install Oracle RAC 10G on a couple RedHat Linux 3.0 servers.  We are using HP XP128 SAN and Oracle requires 2 raw devices be set up for the RAC install.&lt;BR /&gt;&lt;BR /&gt;I am having an issue with the raw devices.  I can fdisk, make file systems, write to the shared storage from one host, but I can't from the other host.  Also when I set up my raw devices on both host, the Oracle install bombs. &lt;BR /&gt;&lt;BR /&gt;Any ideas or suggestions on where the problem may lie?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;TJ</description>
      <pubDate>Tue, 25 Oct 2005 09:43:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/shared-raw-devices-on-linux/m-p/3657063#M20280</guid>
      <dc:creator>TJ_16</dc:creator>
      <dc:date>2005-10-25T09:43:10Z</dc:date>
    </item>
    <item>
      <title>Re: Shared RAW devices on Linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/shared-raw-devices-on-linux/m-p/3657064#M20281</link>
      <description>Wait, you said:&lt;BR /&gt;&lt;BR /&gt;"I am having an issue with the raw devices. I can fdisk, make file systems"&lt;BR /&gt;&lt;BR /&gt;Raw devices does not have filesystems. To use a shared device with a filesystem, you need to install de OCFS kernel module or buy Red Hat Global Filesystem. Without them, you cannot use a filesystem simultaneously on both nodes.</description>
      <pubDate>Tue, 25 Oct 2005 10:38:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/shared-raw-devices-on-linux/m-p/3657064#M20281</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2005-10-25T10:38:26Z</dc:date>
    </item>
    <item>
      <title>Re: Shared RAW devices on Linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/shared-raw-devices-on-linux/m-p/3657065#M20282</link>
      <description>OK, let me rephrase this:&lt;BR /&gt;&lt;BR /&gt;For Oracle RAC installation it requires 2 raw partitions to be set up on each host that is shared between each host.  I fdisk the LUN, create two partitions, set up those partitions in /etc/sysconfig/rawdevices, restart rawdevices.  I am able to dd to one of the raw devices on one host, but I can't on the other.&lt;BR /&gt;&lt;BR /&gt;I am thinking it is a reservation conflict or something...&lt;BR /&gt;&lt;BR /&gt;I am not trying to create any filesystem on the raw devices... just creating two partitions, and making those two partitions raw devices.</description>
      <pubDate>Tue, 25 Oct 2005 10:58:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/shared-raw-devices-on-linux/m-p/3657065#M20282</guid>
      <dc:creator>TJ_16</dc:creator>
      <dc:date>2005-10-25T10:58:06Z</dc:date>
    </item>
    <item>
      <title>Re: Shared RAW devices on Linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/shared-raw-devices-on-linux/m-p/3657066#M20283</link>
      <description>I think that you need to reboot the other system so the kernel can use the new partition table. Also, ensure that the rawdevices file is configured in this node also.</description>
      <pubDate>Tue, 25 Oct 2005 13:08:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/shared-raw-devices-on-linux/m-p/3657066#M20283</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2005-10-25T13:08:44Z</dc:date>
    </item>
    <item>
      <title>Re: Shared RAW devices on Linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/shared-raw-devices-on-linux/m-p/3657067#M20284</link>
      <description>Done that already.&lt;BR /&gt;&lt;BR /&gt;My /etc/sysconfig/rawdevices file look the same on both hosts:&lt;BR /&gt;&lt;BR /&gt;# raw device bindings&lt;BR /&gt;# format:  &lt;RAWDEV&gt; &lt;MAJOR&gt; &lt;MINOR&gt;&lt;BR /&gt;#          &lt;RAWDEV&gt; &lt;BLOCKDEV&gt;&lt;BR /&gt;# example: /dev/raw/raw1 /dev/sda1&lt;BR /&gt;#          /dev/raw/raw2 8 5&lt;BR /&gt;/dev/raw/raw1 /dev/sda1&lt;BR /&gt;/dev/raw/raw2 /dev/sda2&lt;BR /&gt;&lt;BR /&gt;&lt;/BLOCKDEV&gt;&lt;/RAWDEV&gt;&lt;/MINOR&gt;&lt;/MAJOR&gt;&lt;/RAWDEV&gt;</description>
      <pubDate>Tue, 25 Oct 2005 15:40:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/shared-raw-devices-on-linux/m-p/3657067#M20284</guid>
      <dc:creator>TJ_16</dc:creator>
      <dc:date>2005-10-25T15:40:27Z</dc:date>
    </item>
    <item>
      <title>Re: Shared RAW devices on Linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/shared-raw-devices-on-linux/m-p/3657068#M20285</link>
      <description>Can you at least see the device from the other node? Is the disk presented to both nodes? What is the error that you have. If you run fdisk -l, you should get the same information on both nodes.</description>
      <pubDate>Tue, 25 Oct 2005 15:55:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/shared-raw-devices-on-linux/m-p/3657068#M20285</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2005-10-25T15:55:51Z</dc:date>
    </item>
    <item>
      <title>Re: Shared RAW devices on Linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/shared-raw-devices-on-linux/m-p/3657069#M20286</link>
      <description>Good host:&lt;BR /&gt;fdisk -l /dev/sda&lt;BR /&gt;&lt;BR /&gt;Disk /dev/sda: 14.5 GB, 14580449280 bytes&lt;BR /&gt;255 heads, 63 sectors/track, 1772 cylinders&lt;BR /&gt;Units = cylinders of 16065 * 512 = 8225280 bytes&lt;BR /&gt;&lt;BR /&gt;   Device Boot    Start       End    Blocks   Id  System&lt;BR /&gt;/dev/sda1             1       125   1004031   83  Linux&lt;BR /&gt;/dev/sda2           126       250   1004062+  83  Linux&lt;BR /&gt;[]# dd if=/dev/zero of=/dev/sda1 bs=512 count=1&lt;BR /&gt;1+0 records in&lt;BR /&gt;1+0 records out&lt;BR /&gt;&lt;BR /&gt;#############################################&lt;BR /&gt;Bad Host:&lt;BR /&gt;fdisk -l /dev/sda&lt;BR /&gt;&lt;BR /&gt;Disk /dev/sda: 14.5 GB, 14580449280 bytes&lt;BR /&gt;255 heads, 63 sectors/track, 1772 cylinders&lt;BR /&gt;Units = cylinders of 16065 * 512 = 8225280 bytes&lt;BR /&gt;&lt;BR /&gt;   Device Boot    Start       End    Blocks   Id  System&lt;BR /&gt;/dev/sda1             1       125   1004031   83  Linux&lt;BR /&gt;/dev/sda2           126       250   1004062+  83  Linux&lt;BR /&gt;[]# dd if=/dev/zero of=/dev/sda1 bs=512 count=1&lt;BR /&gt;1+0 records in&lt;BR /&gt;1+0 records out&lt;BR /&gt;[]# tail /var/log/messages&lt;BR /&gt;&lt;BR /&gt;Oct 26 09:27:02 xxxx kernel: scsi1 (0,0,0) : RESERVATION CONFLICT&lt;BR /&gt;Oct 26 09:27:02 xxxx kernel: SCSI disk error : host 1 channel 0 id 0 lun 0 return code = 18&lt;BR /&gt;Oct 26 09:27:02 xxxx kernel:  I/O error: dev 08:01, sector 0&lt;BR /&gt;&lt;BR /&gt;So when I try to dd to it on the bad host I get the RESERVATION CONFLICT, where I don't get it on the good host.&lt;BR /&gt;&lt;BR /&gt;Could this be a SAN issue?</description>
      <pubDate>Wed, 26 Oct 2005 09:31:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/shared-raw-devices-on-linux/m-p/3657069#M20286</guid>
      <dc:creator>TJ_16</dc:creator>
      <dc:date>2005-10-26T09:31:04Z</dc:date>
    </item>
    <item>
      <title>Re: Shared RAW devices on Linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/shared-raw-devices-on-linux/m-p/3657070#M20287</link>
      <description>I think it could be. Do you have the same error when the good host is powered down?&lt;BR /&gt;&lt;BR /&gt;Las time we had problems with FC reservations we had to power down the storage and switches to clear the reservation. You should try that also.</description>
      <pubDate>Wed, 26 Oct 2005 10:05:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/shared-raw-devices-on-linux/m-p/3657070#M20287</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2005-10-26T10:05:39Z</dc:date>
    </item>
    <item>
      <title>Re: Shared RAW devices on Linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/shared-raw-devices-on-linux/m-p/3657071#M20288</link>
      <description>The attached .bmp shows some settings you may want to try changing on the XP.  You might also get some ideas from the OS Config Guide at:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://h20000.www2.hp.com/bizsupport/TechSupport/DocumentIndex.jsp?contentType=SupportManual&amp;amp;locale=en_US&amp;amp;docIndexId=179911&amp;amp;taskId=101&amp;amp;prodTypeId=12169&amp;amp;prodSeriesId=82540" target="_blank"&gt;http://h20000.www2.hp.com/bizsupport/TechSupport/DocumentIndex.jsp?contentType=SupportManual&amp;amp;locale=en_US&amp;amp;docIndexId=179911&amp;amp;taskId=101&amp;amp;prodTypeId=12169&amp;amp;prodSeriesId=82540&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;or directly:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://h200001.www2.hp.com/bc/docs/support/SupportManual/c00472212/c00472212.pdf" target="_blank"&gt;http://h200001.www2.hp.com/bc/docs/support/SupportManual/c00472212/c00472212.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Jeff McKenzie</description>
      <pubDate>Wed, 26 Oct 2005 10:28:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/shared-raw-devices-on-linux/m-p/3657071#M20288</guid>
      <dc:creator>Jeff McKenzie</dc:creator>
      <dc:date>2005-10-26T10:28:00Z</dc:date>
    </item>
  </channel>
</rss>

