<?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: Maintain device mapper aliases (/dev/mapper/oravolNN) ownership accross reboots in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/maintain-device-mapper-aliases-dev-mapper-oravolnn-ownership/m-p/4595163#M39964</link>
    <description>You can define the permissions, UID and GID within your device mapper alias. For example, if you want /dev/mapper/oravol01 owned by user 900, group 800 and with permissions brw-------, then your multipath.conf alias definition should be:&lt;BR /&gt;&lt;BR /&gt;multipath {&lt;BR /&gt;    wwid 1HITACHI_D60H67000136&lt;BR /&gt;    alias oravol01&lt;BR /&gt;    uid 900&lt;BR /&gt;    gid 800&lt;BR /&gt;    mode 0600&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;Disclaimer: Not tested, that's just how "man multipath.conf" says it should work.&lt;BR /&gt;&lt;BR /&gt;MK</description>
    <pubDate>Mon, 08 Mar 2010 12:29:39 GMT</pubDate>
    <dc:creator>Matti_Kurkela</dc:creator>
    <dc:date>2010-03-08T12:29:39Z</dc:date>
    <item>
      <title>Maintain device mapper aliases (/dev/mapper/oravolNN) ownership accross reboots</title>
      <link>https://community.hpe.com/t5/operating-system-linux/maintain-device-mapper-aliases-dev-mapper-oravolnn-ownership/m-p/4595162#M39963</link>
      <description>We are comparing various Oracle Storage Schemes on our SAN connected Linux Environments. We currently use ASMlib (which is likely Oracle's prefeernce) but we now want to use device mapper aliases as ASM Disk String paths so ASM can use these devices directly under ASM bypassing ASMlib.&lt;BR /&gt;&lt;BR /&gt;How is this done? if UDEV Rules -- can you give an example pelase? We run RHEL 5.4.&lt;BR /&gt;&lt;BR /&gt;For example, our Device Mapper Alias is as follows:&lt;BR /&gt;&lt;BR /&gt;multipath {&lt;BR /&gt;                wwid     1HITACHI_D60H67000136&lt;BR /&gt;                alias    oravol01&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;And it immediately creates /dev/mapper/oravol01.  After a reboot it also creates /dev/mpath/oravol01.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 04 Mar 2010 16:05:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/maintain-device-mapper-aliases-dev-mapper-oravolnn-ownership/m-p/4595162#M39963</guid>
      <dc:creator>Alzhy</dc:creator>
      <dc:date>2010-03-04T16:05:26Z</dc:date>
    </item>
    <item>
      <title>Re: Maintain device mapper aliases (/dev/mapper/oravolNN) ownership accross reboots</title>
      <link>https://community.hpe.com/t5/operating-system-linux/maintain-device-mapper-aliases-dev-mapper-oravolnn-ownership/m-p/4595163#M39964</link>
      <description>You can define the permissions, UID and GID within your device mapper alias. For example, if you want /dev/mapper/oravol01 owned by user 900, group 800 and with permissions brw-------, then your multipath.conf alias definition should be:&lt;BR /&gt;&lt;BR /&gt;multipath {&lt;BR /&gt;    wwid 1HITACHI_D60H67000136&lt;BR /&gt;    alias oravol01&lt;BR /&gt;    uid 900&lt;BR /&gt;    gid 800&lt;BR /&gt;    mode 0600&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;Disclaimer: Not tested, that's just how "man multipath.conf" says it should work.&lt;BR /&gt;&lt;BR /&gt;MK</description>
      <pubDate>Mon, 08 Mar 2010 12:29:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/maintain-device-mapper-aliases-dev-mapper-oravolnn-ownership/m-p/4595163#M39964</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2010-03-08T12:29:39Z</dc:date>
    </item>
    <item>
      <title>Re: Maintain device mapper aliases (/dev/mapper/oravolNN) ownership accross reboots</title>
      <link>https://community.hpe.com/t5/operating-system-linux/maintain-device-mapper-aliases-dev-mapper-oravolnn-ownership/m-p/4595164#M39965</link>
      <description>Hi Mat,&lt;BR /&gt;&lt;BR /&gt;Yeap... just found out. It appears one *must* be at the latest (circa Feb 2010?) release of devoce-mapper-multipath.&lt;BR /&gt;&lt;BR /&gt;Awesome awesome feature (which I think is just a tweak to the built in udev rulez) so the lowly admin need not write custom UDEV rules.&lt;BR /&gt;</description>
      <pubDate>Mon, 08 Mar 2010 14:47:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/maintain-device-mapper-aliases-dev-mapper-oravolnn-ownership/m-p/4595164#M39965</guid>
      <dc:creator>Alzhy</dc:creator>
      <dc:date>2010-03-08T14:47:58Z</dc:date>
    </item>
    <item>
      <title>Re: Maintain device mapper aliases (/dev/mapper/oravolNN) ownership accross reboots</title>
      <link>https://community.hpe.com/t5/operating-system-linux/maintain-device-mapper-aliases-dev-mapper-oravolnn-ownership/m-p/4595165#M39966</link>
      <description>Cool.. allowing perms in the multipath config is a better bet than /etc/rc.d/rc.local&lt;BR /&gt;&lt;BR /&gt;I always forget to update when I add a disk for ASM..&lt;BR /&gt;&lt;BR /&gt;The multipath option should fix the absent mindedness.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 08 Mar 2010 19:15:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/maintain-device-mapper-aliases-dev-mapper-oravolnn-ownership/m-p/4595165#M39966</guid>
      <dc:creator>Tim Nelson</dc:creator>
      <dc:date>2010-03-08T19:15:40Z</dc:date>
    </item>
    <item>
      <title>Re: Maintain device mapper aliases (/dev/mapper/oravolNN) ownership accross reboots</title>
      <link>https://community.hpe.com/t5/operating-system-linux/maintain-device-mapper-aliases-dev-mapper-oravolnn-ownership/m-p/4595166#M39967</link>
      <description>One last note for this thread..&lt;BR /&gt;&lt;BR /&gt;if you partition the device as oracleasm suggests is needed then the uid and gid in the multipath.conf does no good as you now have /dev/mapper/nice-namep1 after running kpartx&lt;BR /&gt;&lt;BR /&gt;back to using /etc/rc.local for asm ownership</description>
      <pubDate>Tue, 23 Mar 2010 18:41:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/maintain-device-mapper-aliases-dev-mapper-oravolnn-ownership/m-p/4595166#M39967</guid>
      <dc:creator>Tim Nelson</dc:creator>
      <dc:date>2010-03-23T18:41:09Z</dc:date>
    </item>
  </channel>
</rss>

