<?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 Linux Raw Devices under RHEL 5.4 and Multipathing in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/linux-raw-devices-under-rhel-5-4-and-multipathing/m-p/4509181#M38446</link>
    <description>RHEL 5.4 suppsedly restored support for raw devices (probably for Oracle RAW/ASM and other database storage needs). &lt;BR /&gt;&lt;BR /&gt;However /dev/dm-NN devices seem to be not fixed and can change accross reboots -- how does one map them to raw devices.&lt;BR /&gt;&lt;BR /&gt;With ASMLib - this is not a problem and /dev/dm-NNN can change all it wants and OacleASM will always find the disks it had tagged. But with RAW -- how does one map the multipath devices?&lt;BR /&gt;&lt;BR /&gt;My experience with dm devices is when a disk is provisioned and a mutlipath device is allocated - on reboot the orginal /dev/dm-NNN changes.&lt;BR /&gt;&lt;BR /&gt;TIA.&lt;BR /&gt;</description>
    <pubDate>Wed, 07 Oct 2009 01:33:52 GMT</pubDate>
    <dc:creator>Alzhy</dc:creator>
    <dc:date>2009-10-07T01:33:52Z</dc:date>
    <item>
      <title>Linux Raw Devices under RHEL 5.4 and Multipathing</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-raw-devices-under-rhel-5-4-and-multipathing/m-p/4509181#M38446</link>
      <description>RHEL 5.4 suppsedly restored support for raw devices (probably for Oracle RAW/ASM and other database storage needs). &lt;BR /&gt;&lt;BR /&gt;However /dev/dm-NN devices seem to be not fixed and can change accross reboots -- how does one map them to raw devices.&lt;BR /&gt;&lt;BR /&gt;With ASMLib - this is not a problem and /dev/dm-NNN can change all it wants and OacleASM will always find the disks it had tagged. But with RAW -- how does one map the multipath devices?&lt;BR /&gt;&lt;BR /&gt;My experience with dm devices is when a disk is provisioned and a mutlipath device is allocated - on reboot the orginal /dev/dm-NNN changes.&lt;BR /&gt;&lt;BR /&gt;TIA.&lt;BR /&gt;</description>
      <pubDate>Wed, 07 Oct 2009 01:33:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-raw-devices-under-rhel-5-4-and-multipathing/m-p/4509181#M38446</guid>
      <dc:creator>Alzhy</dc:creator>
      <dc:date>2009-10-07T01:33:52Z</dc:date>
    </item>
    <item>
      <title>Re: Linux Raw Devices under RHEL 5.4 and Multipathing</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-raw-devices-under-rhel-5-4-and-multipathing/m-p/4509182#M38447</link>
      <description>Basically, map the /dev/raw/raw* devices to appropriate /dev/mapper/mpath* devices. &lt;BR /&gt;&lt;BR /&gt;The /dev/mapper/mpath* names are bound to disk WWIDs reported by the storage system, using the information in /var/lib/multipath/bindings file. &lt;BR /&gt;&lt;BR /&gt;Therefore, once a /dev/mapper/mpath* name has been associated with a particular multipathed disk, the name stays with that disk until the multipath binding is explicitly cleared (with "multipath -f &lt;DEVICE&gt;" or "multipath -F).&lt;BR /&gt;&lt;BR /&gt;The /dev/dm-NN names are essentially for device-mapper subsystem's internal use only and should not be used by the applications.&lt;BR /&gt;&lt;BR /&gt;RedHat's recommendations:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://kbase.redhat.com/faq/docs/DOC-10164" target="_blank"&gt;http://kbase.redhat.com/faq/docs/DOC-10164&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Please see method 5, "Creating persistent raw devices for multipathed LUNs or LVM device" near the end of the document linked above.&lt;BR /&gt;&lt;BR /&gt;MK&lt;/DEVICE&gt;</description>
      <pubDate>Wed, 07 Oct 2009 10:09:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-raw-devices-under-rhel-5-4-and-multipathing/m-p/4509182#M38447</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2009-10-07T10:09:58Z</dc:date>
    </item>
    <item>
      <title>Re: Linux Raw Devices under RHEL 5.4 and Multipathing</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-raw-devices-under-rhel-5-4-and-multipathing/m-p/4509183#M38448</link>
      <description>try moving /var/lib/multipath/bindings file to /etc/multipath/binding&lt;BR /&gt;and make a soft link to /var/lib/multipath/bindings &lt;BR /&gt;&lt;BR /&gt;this would help&lt;BR /&gt;and after system comes up&lt;BR /&gt;#multipath -v2 -d&lt;BR /&gt;if this does not return anything you are good.&lt;BR /&gt;&lt;BR /&gt;BR,&lt;BR /&gt;Kapil+</description>
      <pubDate>Wed, 07 Oct 2009 10:26:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-raw-devices-under-rhel-5-4-and-multipathing/m-p/4509183#M38448</guid>
      <dc:creator>Kapil Jha</dc:creator>
      <dc:date>2009-10-07T10:26:48Z</dc:date>
    </item>
    <item>
      <title>Re: Linux Raw Devices under RHEL 5.4 and Multipathing</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-raw-devices-under-rhel-5-4-and-multipathing/m-p/4509184#M38449</link>
      <description>Matti,&lt;BR /&gt;&lt;BR /&gt;Selamat Tembang (Malay for Thanks!)&lt;BR /&gt;&lt;BR /&gt;The KBDOC it seems has been updated too for 5.4.&lt;BR /&gt;&lt;BR /&gt;Muchas Gracias!&lt;BR /&gt;</description>
      <pubDate>Wed, 07 Oct 2009 12:08:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-raw-devices-under-rhel-5-4-and-multipathing/m-p/4509184#M38449</guid>
      <dc:creator>Alzhy</dc:creator>
      <dc:date>2009-10-07T12:08:56Z</dc:date>
    </item>
    <item>
      <title>Re: Linux Raw Devices under RHEL 5.4 and Multipathing</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-raw-devices-under-rhel-5-4-and-multipathing/m-p/4509185#M38450</link>
      <description>Matti,&lt;BR /&gt;&lt;BR /&gt;"Unfortunately it is not possible to write udev rules for creating raw devices on multipath devices (/dev/dm-*) without manipulating existing udev rules. Modifying existing rules for this purpose could cause unforeseen problems and is not supported by Red Hat Global Support Services. If absolutely necessary, an alternate method for creating raw devices on top of multipath devices could be to create the raw devices in /etc/rc.d/rc.local, so long as the raw device is not required before rc.local is executed."&lt;BR /&gt;&lt;BR /&gt;So what is "SUPORTED"? Surely Linux DB servers that hook up to multi-pathed SAN arrays are prevalent these days. Does that mean that RAW devices under Oracle, Sybase, etc. are "pase" already and ASMLib is the norm for Linux environments?&lt;BR /&gt;&lt;BR /&gt;/dev/dm-NN devices work beatufifully under ASMlib and even LVM -- both are agnostic to device name changes. But I've a DBA who insists on going with RAW devices under ASM. And personally - I prefer Oracle to simply use ASM-less RAW storage even.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 07 Oct 2009 12:30:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-raw-devices-under-rhel-5-4-and-multipathing/m-p/4509185#M38450</guid>
      <dc:creator>Alzhy</dc:creator>
      <dc:date>2009-10-07T12:30:57Z</dc:date>
    </item>
    <item>
      <title>Re: Linux Raw Devices under RHEL 5.4 and Multipathing</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-raw-devices-under-rhel-5-4-and-multipathing/m-p/4509186#M38451</link>
      <description>Also, should I have /dev/mpath/mpathNNN for every /dev/dm-NNN? &lt;BR /&gt;&lt;BR /&gt;All I see under /dev/mpath are 34 character entries (hex) linked to /dev/dm-NNN devices like:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;[root@redhat mpath]# ls -l 3600508b4000ce3920003c00005c80000&lt;BR /&gt;lrwxrwxrwx 1 root root 8 Oct  6 09:37 3600508b4000ce3920003c00005c80000 -&amp;gt; ../dm-61&lt;BR /&gt;&lt;BR /&gt;I have the Storageworks multipath.conf from the HP package.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 07 Oct 2009 13:03:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-raw-devices-under-rhel-5-4-and-multipathing/m-p/4509186#M38451</guid>
      <dc:creator>Alzhy</dc:creator>
      <dc:date>2009-10-07T13:03:12Z</dc:date>
    </item>
    <item>
      <title>Re: Linux Raw Devices under RHEL 5.4 and Multipathing</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-raw-devices-under-rhel-5-4-and-multipathing/m-p/4509187#M38452</link>
      <description>RedHat seems to say "Do not mess with the udev rules: modifying the existing rules is not supported by RH." They seem to be happy with adding the necessary commands to /etc/rc.d/rc.local.&lt;BR /&gt;&lt;BR /&gt;But why ask me? As you're using RedHat 5.4, you should have a valid RHN account and could send your question to RedHat support instead. You would get your answer "straight from the horse's mouth", so to speak.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; /dev/dm-NN devices work beautifully under ASMlib and even LVM -- both are agnostic to device name changes. But I've a DBA who insists on going with RAW devices under ASM.&lt;BR /&gt;&lt;BR /&gt;Yes, the device nodes /dev/dm-NN have just the same major &amp;amp; minor numbers as the corresponding devices with persistent names in /dev/mapper. The kernel does not care which device node you use: feel free to use the /dev/dm-NN devices with ASM if you like. &lt;BR /&gt;&lt;BR /&gt;My point was that the /dev/dm-NN devices definitely seem to be not fixed - because they are not *designed* to be fixed at all.&lt;BR /&gt;&lt;BR /&gt;If you use ASM, you can just set up your system to create RAW devices for each disk and let ASM sort them out if you wish.&lt;BR /&gt;&lt;BR /&gt;Your 34-character hex strings under /dev/mpath/* are a direct representation of the WWIDs of the disks - apparently the Storageworks multipath.conf sets FriendlyNames=Off. In RedHat's default configuration it is On, which causes the /var/lib/multipath/bindings file to be used and the names to appear in the shorter /dev/mapper/mpath* form.&lt;BR /&gt;&lt;BR /&gt;The long hex string is somewhat inconvenient, but it uniquely identifies each multipathed disk with no need for a mapping file. The WWIDs are allocated to disks and storage systems like MAC addresses to network cards: you can be pretty sure you cannot find two disks with matching WWIDs unless the disk manufacturer has made a mistake with their WWID allocation.&lt;BR /&gt;&lt;BR /&gt;MK</description>
      <pubDate>Wed, 07 Oct 2009 15:10:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-raw-devices-under-rhel-5-4-and-multipathing/m-p/4509187#M38452</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2009-10-07T15:10:03Z</dc:date>
    </item>
    <item>
      <title>Re: Linux Raw Devices under RHEL 5.4 and Multipathing</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-raw-devices-under-rhel-5-4-and-multipathing/m-p/4509188#M38453</link>
      <description>MK,&lt;BR /&gt;&lt;BR /&gt;So are you saying I am free to use /dev/mapper/XXXXXXXXXXXXXXXXXXXXX in my ASMlib configs? Also to map it to raw too?&lt;BR /&gt;&lt;BR /&gt;The multipth.conf blocks for the EVA and XP arrays I have hoked up to this Redhat machine does not explicitly declare FriendlyNames in each block. The Default section declares it as Yes though.&lt;BR /&gt;&lt;BR /&gt;For EVA mapper entries - there is an extra "3" before the EVA VDISK WWID. For XP -- I still ave to deciper where in the 34 character string CU:LDEV is depicted.&lt;BR /&gt;&lt;BR /&gt;We have both StorageWorks and Redhat Support but I wanted to consult this esteemed forum in the hope this post aso helps sould out there who are into the same adventure with BIG Linux as we are.&lt;BR /&gt;&lt;BR /&gt;Thanks very much good sir.&lt;BR /&gt;</description>
      <pubDate>Wed, 07 Oct 2009 15:26:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-raw-devices-under-rhel-5-4-and-multipathing/m-p/4509188#M38453</guid>
      <dc:creator>Alzhy</dc:creator>
      <dc:date>2009-10-07T15:26:26Z</dc:date>
    </item>
  </channel>
</rss>

