<?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: Create raw devices on RedHat AS 4.0 in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/create-raw-devices-on-redhat-as-4-0/m-p/3712881#M21406</link>
    <description>In order to bind disk partition to linux raw device you should add the following line into /etc/sysconfig/rawdevices:&lt;BR /&gt;&lt;BR /&gt;/dev/raw/raw1 /dev/sda1 &lt;BR /&gt;(for permanent binding)&lt;BR /&gt;&lt;BR /&gt;or run thew followig command&lt;BR /&gt;&lt;BR /&gt; raw /dev/raw/raw1 /dev/sda1&lt;BR /&gt;(one-time binding)&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Vitaly</description>
    <pubDate>Thu, 19 Jan 2006 05:54:02 GMT</pubDate>
    <dc:creator>Vitaly Karasik_1</dc:creator>
    <dc:date>2006-01-19T05:54:02Z</dc:date>
    <item>
      <title>Create raw devices on RedHat AS 4.0</title>
      <link>https://community.hpe.com/t5/operating-system-linux/create-raw-devices-on-redhat-as-4-0/m-p/3712876#M21401</link>
      <description>Hi Forum,&lt;BR /&gt;&lt;BR /&gt;I will be connecting HP EVA storage from my linux servers.&lt;BR /&gt;&lt;BR /&gt;How do i create raw devices for ORACLE 1OG RAC installation?&lt;BR /&gt;&lt;BR /&gt;Thanks/cliff</description>
      <pubDate>Thu, 19 Jan 2006 04:26:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/create-raw-devices-on-redhat-as-4-0/m-p/3712876#M21401</guid>
      <dc:creator>Cliff Lim Kok Hwee</dc:creator>
      <dc:date>2006-01-19T04:26:18Z</dc:date>
    </item>
    <item>
      <title>Re: Create raw devices on RedHat AS 4.0</title>
      <link>https://community.hpe.com/t5/operating-system-linux/create-raw-devices-on-redhat-as-4-0/m-p/3712877#M21402</link>
      <description>Shalom Cliff,&lt;BR /&gt;&lt;BR /&gt;I suggest the following:&lt;BR /&gt;&lt;BR /&gt;install the following two rpms:&lt;BR /&gt;&lt;BR /&gt;libraw1394-0.10.1-3&lt;BR /&gt;libraw1394-devel-0.10.1-3&lt;BR /&gt;&lt;BR /&gt;chkconfig rawdevices on&lt;BR /&gt;&lt;BR /&gt;chkconfig --list | grep raw&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 19 Jan 2006 04:41:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/create-raw-devices-on-redhat-as-4-0/m-p/3712877#M21402</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-01-19T04:41:22Z</dc:date>
    </item>
    <item>
      <title>Re: Create raw devices on RedHat AS 4.0</title>
      <link>https://community.hpe.com/t5/operating-system-linux/create-raw-devices-on-redhat-as-4-0/m-p/3712878#M21403</link>
      <description>Sir, then i will to run fdisk to create as below mentioned?&lt;BR /&gt;&lt;BR /&gt;"fdisk /dev/spdev/sp&lt;DEVICE_ID&gt;"&lt;BR /&gt;&lt;BR /&gt;For RAC the raw partition will not be residing in any vg? Am i correct? As such we cannot use the conventional method of creating logical volumes for raw partition?&lt;BR /&gt;&lt;BR /&gt;Thanks cliff&lt;/DEVICE_ID&gt;</description>
      <pubDate>Thu, 19 Jan 2006 04:51:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/create-raw-devices-on-redhat-as-4-0/m-p/3712878#M21403</guid>
      <dc:creator>Cliff Lim Kok Hwee</dc:creator>
      <dc:date>2006-01-19T04:51:36Z</dc:date>
    </item>
    <item>
      <title>Re: Create raw devices on RedHat AS 4.0</title>
      <link>https://community.hpe.com/t5/operating-system-linux/create-raw-devices-on-redhat-as-4-0/m-p/3712879#M21404</link>
      <description>I misunderstood your question.&lt;BR /&gt;&lt;BR /&gt;rawdevices if for clustering. You may need my prior instructions to make RAC work in a cluster.&lt;BR /&gt;&lt;BR /&gt;What you do to create raw storage for oracle is to create the partition with fdisk.&lt;BR /&gt;&lt;BR /&gt;Then you don't run the newfs command. Change the ownership of the dev files to oracle:dba or whatever the default id that owns the oracle 10G RAC.&lt;BR /&gt;&lt;BR /&gt;Then you are ready to have oracle installed and create databases for RAC.&lt;BR /&gt;&lt;BR /&gt;If RAC has the option, I recommend doing this on filesystem instead of raw devices. It make s management and backups a bit easier.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 19 Jan 2006 04:56:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/create-raw-devices-on-redhat-as-4-0/m-p/3712879#M21404</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-01-19T04:56:08Z</dc:date>
    </item>
    <item>
      <title>Re: Create raw devices on RedHat AS 4.0</title>
      <link>https://community.hpe.com/t5/operating-system-linux/create-raw-devices-on-redhat-as-4-0/m-p/3712880#M21405</link>
      <description>Hi Sir,&lt;BR /&gt;&lt;BR /&gt;I need to carry out his portion of work on RAW partition it seems.&lt;BR /&gt;&lt;BR /&gt;Prepare RAW devices for Cluster Ready Services and ASM&lt;BR /&gt;For ASM, the first two shared LUNs presented to Linux will be used for OCR and the next three for voting disks. The partition sizes need to be: &lt;BR /&gt;Partition  Recommended  Minimum&lt;BR /&gt;OCR   200M   100M&lt;BR /&gt;OCR   200M   100M&lt;BR /&gt;voting   100m   25M&lt;BR /&gt;voting   100m   25M&lt;BR /&gt;voting   100m   25M&lt;BR /&gt;&lt;BR /&gt;Query: So is only raw partitions i guess.&lt;BR /&gt;&lt;BR /&gt;Query: Wht kind of partition should this be from the storage LUN presented? Wht i meant is from fdisk they will ask u whether u want primary partition etc.&lt;BR /&gt;&lt;BR /&gt;Thanks for the knowledge sharing!cliff</description>
      <pubDate>Thu, 19 Jan 2006 05:14:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/create-raw-devices-on-redhat-as-4-0/m-p/3712880#M21405</guid>
      <dc:creator>Cliff Lim Kok Hwee</dc:creator>
      <dc:date>2006-01-19T05:14:36Z</dc:date>
    </item>
    <item>
      <title>Re: Create raw devices on RedHat AS 4.0</title>
      <link>https://community.hpe.com/t5/operating-system-linux/create-raw-devices-on-redhat-as-4-0/m-p/3712881#M21406</link>
      <description>In order to bind disk partition to linux raw device you should add the following line into /etc/sysconfig/rawdevices:&lt;BR /&gt;&lt;BR /&gt;/dev/raw/raw1 /dev/sda1 &lt;BR /&gt;(for permanent binding)&lt;BR /&gt;&lt;BR /&gt;or run thew followig command&lt;BR /&gt;&lt;BR /&gt; raw /dev/raw/raw1 /dev/sda1&lt;BR /&gt;(one-time binding)&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Vitaly</description>
      <pubDate>Thu, 19 Jan 2006 05:54:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/create-raw-devices-on-redhat-as-4-0/m-p/3712881#M21406</guid>
      <dc:creator>Vitaly Karasik_1</dc:creator>
      <dc:date>2006-01-19T05:54:02Z</dc:date>
    </item>
    <item>
      <title>Re: Create raw devices on RedHat AS 4.0</title>
      <link>https://community.hpe.com/t5/operating-system-linux/create-raw-devices-on-redhat-as-4-0/m-p/3712882#M21407</link>
      <description>Here's how I created the raw devices for a 3 node Oracle 10g RAC cluster.&lt;BR /&gt;&lt;BR /&gt;Create the 3 raw devices for Oracle CRS&lt;BR /&gt;&lt;BR /&gt;# 1 x 200MB raw disk for the Oracle Cluster Registry (OCR) quorum file&lt;BR /&gt;# 1 x 40MB raw disk for the CRS Voting Disk file&lt;BR /&gt;# 1 x restMB raw disk for ASM disk creation&lt;BR /&gt;&lt;BR /&gt;Partition and set system id:&lt;BR /&gt;#in this example I used partition sdb for Oracle CRS&lt;BR /&gt;e.g. fdisk -l&lt;BR /&gt;Disk /dev/sda: 32.2 GB, 32212254720 bytes&lt;BR /&gt;255 heads, 63 sectors/track, 3916 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        13    104391   83  Linux&lt;BR /&gt;/dev/sda2            14      2493  19920600   83  Linux&lt;BR /&gt;/dev/sda3          2494      3146   5245222+  83  Linux&lt;BR /&gt;/dev/sda4          3147      3916   6185025    f  Win95 Ext'd (LBA)&lt;BR /&gt;/dev/sda5          3147      3538   3148708+  82  Linux swap&lt;BR /&gt;/dev/sda6          3539      3799   2096451   83  Linux&lt;BR /&gt;&lt;BR /&gt;Disk /dev/sdb: 59.0 GB, 59041120256 bytes&lt;BR /&gt;255 heads, 63 sectors/track, 7178 cylinders&lt;BR /&gt;Units = cylinders of 16065 * 512 = 8225280 bytes&lt;BR /&gt;&lt;BR /&gt;Use fdisk to create partitions:&lt;BR /&gt;fdisk /dev/sdb&lt;BR /&gt;create the 1st partition of 200Mb (sdb1)&lt;BR /&gt;create the 2nd partition of 40Mb (sdb2)&lt;BR /&gt;create a 3rd partition of the rest of the available space (sdb3)&lt;BR /&gt;* change the system ID to 60 for all three&lt;BR /&gt;write the changes&lt;BR /&gt;&lt;BR /&gt;Bind raw devices using raw command:&lt;BR /&gt;raw /dev/raw/raw1 /dev/sdb1&lt;BR /&gt;raw /dev/raw/raw2 /dev/sdb2&lt;BR /&gt;raw /dev/raw/raw3 /dev/sdb3&lt;BR /&gt;&lt;BR /&gt;do 'raw -qa' (should list raw devices)&lt;BR /&gt;&lt;BR /&gt;Bind raw devices at startup:&lt;BR /&gt;add the raw commands as above to /etc/sysconfig/rawdevices&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;raw /dev/raw/raw1 /dev/sdb1&lt;BR /&gt;raw /dev/raw/raw2 /dev/sdb2&lt;BR /&gt;raw /dev/raw/raw3 /dev/sdb3&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Change owner:group of raw devices:&lt;BR /&gt;chown oracle:dba /dev/raw/raw1&lt;BR /&gt;chown oracle:dba /dev/raw/raw2&lt;BR /&gt;chown oracle:dba /dev/raw/raw3&lt;BR /&gt;chown oracle:dba /dev/sdb1&lt;BR /&gt;chown oracle:dba /dev/sdb2&lt;BR /&gt;chown oracle:dba /dev/sdb3&lt;BR /&gt;&lt;BR /&gt;Change permissions of raw devices:&lt;BR /&gt;chmod 660 /dev/raw/raw1&lt;BR /&gt;chmod 660 /dev/raw/raw2&lt;BR /&gt;chmod 660 /dev/raw/raw3&lt;BR /&gt;chmod 660 /dev/sdb1&lt;BR /&gt;chmod 660 /dev/sdb2&lt;BR /&gt;chmod 660 /dev/sdb3 &lt;BR /&gt;&lt;BR /&gt;Great resources for Oracle 10g Rac installation on RHEL* etc see -  &lt;A href="http://www.puschitz.com/" target="_blank"&gt;http://www.puschitz.com/&lt;/A&gt;&lt;/BLOCKDEV&gt;&lt;/RAWDEV&gt;&lt;/MINOR&gt;&lt;/MAJOR&gt;&lt;/RAWDEV&gt;</description>
      <pubDate>Mon, 23 Jan 2006 18:06:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/create-raw-devices-on-redhat-as-4-0/m-p/3712882#M21407</guid>
      <dc:creator>Tait Sanders</dc:creator>
      <dc:date>2006-01-23T18:06:54Z</dc:date>
    </item>
  </channel>
</rss>

