<?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: How to change pseudo device name ? in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/how-to-change-pseudo-device-name/m-p/3584873#M18729</link>
    <description>They may be right, so, ask them if they need the lun to be the same only at installation time, and then may be modified. If this is the case, you can do the following:&lt;BR /&gt;&lt;BR /&gt;Unpresent sda from srsB.&lt;BR /&gt;Reboot srsB.&lt;BR /&gt;sdb will be detected as sda.&lt;BR /&gt;Present the vdisk again.&lt;BR /&gt;Without reboot, download and run rescan-scsi-bus.sh&lt;BR /&gt;The devices will be the same in srsB and srsA, but at next reboot will stay different again.&lt;BR /&gt;&lt;BR /&gt;So, if you don't need that the device files be the same after initial installation (using the LABEL to mount the filesystems), this may be a workarround.</description>
    <pubDate>Tue, 19 Jul 2005 06:43:35 GMT</pubDate>
    <dc:creator>Ivan Ferreira</dc:creator>
    <dc:date>2005-07-19T06:43:35Z</dc:date>
    <item>
      <title>How to change pseudo device name ?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-change-pseudo-device-name/m-p/3584868#M18724</link>
      <description>Hi there,&lt;BR /&gt;&lt;BR /&gt;I presented 2 LUNs on EVA5000 to 2 different servers, and used QLogic multipath driver to combine 8 paths to 2:&lt;BR /&gt;&lt;BR /&gt;[root@srsA /]# lssd&lt;BR /&gt;sda  0,0,0,2         COMPAQ HSV110 (C)COMPAQ 3020  5000-1fe1-5004-569c&lt;BR /&gt;sdb  0,0,2,3         COMPAQ HSV110 (C)COMPAQ 3020  5000-1fe1-5004-5448&lt;BR /&gt;&lt;BR /&gt;[root@srsB /]# lssd&lt;BR /&gt;sda  0,0,0,3         COMPAQ HSV110 (C)COMPAQ 3020  5000-1fe1-5004-5448&lt;BR /&gt;sdb  0,0,2,2         COMPAQ HSV110 (C)COMPAQ 3020  5000-1fe1-5004-569c&lt;BR /&gt;&lt;BR /&gt;But I notice that on SrsA, /dev/sda points to LUN#1, /dev/sdb points to LUN#2; while on SrsB, /dev/sda points to LUN#2, /dev/sdb points to LUN#1&lt;BR /&gt;/dev/sda(b) is the virtual pseudo device file generated by QLogic Multipath driver, how can I make them point to the same LUN on both servers? that is, "/dev/sda" both point to LUN#1, "/dev/sdb" both point to LUN#2&lt;BR /&gt;Thanks!&lt;BR /&gt;</description>
      <pubDate>Mon, 18 Jul 2005 11:04:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-change-pseudo-device-name/m-p/3584868#M18724</guid>
      <dc:creator>yyghp</dc:creator>
      <dc:date>2005-07-18T11:04:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to change pseudo device name ?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-change-pseudo-device-name/m-p/3584869#M18725</link>
      <description>Best bet is to work on the SAN and change the LUN number if possible.&lt;BR /&gt;&lt;BR /&gt;There are procedures for renumbering instances but they are risky and sometimes not supported by the various Linux distributions.&lt;BR /&gt;&lt;BR /&gt;SEP&lt;BR /&gt;Rapid City, SD</description>
      <pubDate>Mon, 18 Jul 2005 11:34:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-change-pseudo-device-name/m-p/3584869#M18725</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2005-07-18T11:34:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to change pseudo device name ?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-change-pseudo-device-name/m-p/3584870#M18726</link>
      <description>hi SEP,&lt;BR /&gt;&lt;BR /&gt;Could you please tell me the detail about how I can change the LUN number on the SAN side to make this work ?&lt;BR /&gt;Thanks!</description>
      <pubDate>Mon, 18 Jul 2005 12:04:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-change-pseudo-device-name/m-p/3584870#M18726</guid>
      <dc:creator>yyghp</dc:creator>
      <dc:date>2005-07-18T12:04:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to change pseudo device name ?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-change-pseudo-device-name/m-p/3584871#M18727</link>
      <description>Device special file are created in a dynamic way, if you add more disks/vdisks in the future, the device special file may change again. If you are going to use a cluster file system like ocfs, you may use a LABEL in the filesystem to mount it, so you don't have to worry about device special file naming.</description>
      <pubDate>Mon, 18 Jul 2005 12:59:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-change-pseudo-device-name/m-p/3584871#M18727</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2005-07-18T12:59:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to change pseudo device name ?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-change-pseudo-device-name/m-p/3584872#M18728</link>
      <description>Hi Ivan,&lt;BR /&gt;&lt;BR /&gt;But the Oracle guy who is going to install RAC on these two servers asked for same device file to the same LUN, that's the requirement to run those RAC configuration scripts, he said...&lt;BR /&gt;Thanks!</description>
      <pubDate>Mon, 18 Jul 2005 13:04:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-change-pseudo-device-name/m-p/3584872#M18728</guid>
      <dc:creator>yyghp</dc:creator>
      <dc:date>2005-07-18T13:04:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to change pseudo device name ?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-change-pseudo-device-name/m-p/3584873#M18729</link>
      <description>They may be right, so, ask them if they need the lun to be the same only at installation time, and then may be modified. If this is the case, you can do the following:&lt;BR /&gt;&lt;BR /&gt;Unpresent sda from srsB.&lt;BR /&gt;Reboot srsB.&lt;BR /&gt;sdb will be detected as sda.&lt;BR /&gt;Present the vdisk again.&lt;BR /&gt;Without reboot, download and run rescan-scsi-bus.sh&lt;BR /&gt;The devices will be the same in srsB and srsA, but at next reboot will stay different again.&lt;BR /&gt;&lt;BR /&gt;So, if you don't need that the device files be the same after initial installation (using the LABEL to mount the filesystems), this may be a workarround.</description>
      <pubDate>Tue, 19 Jul 2005 06:43:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-change-pseudo-device-name/m-p/3584873#M18729</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2005-07-19T06:43:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to change pseudo device name ?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-change-pseudo-device-name/m-p/3584874#M18730</link>
      <description>From looking at the controller WWPNs, the LUN mapping is the same. The 'problem' appears to be that the virtual disks are online to different controllers and thus served by different controller ports - an absolutely reasonable setup.&lt;BR /&gt;&lt;BR /&gt;This swapping of devices on different targets can easily happen in the fibre channel world.&lt;BR /&gt;&lt;BR /&gt;What you need is called 'persitent binding'. It is used to make sure a LUN is always mapped to the same device name. Look back into your previous thread:&lt;BR /&gt;&lt;A href="http://forums2.itrc.hp.com/service/forums/questionanswer.do?threadId=939917" target="_blank"&gt;http://forums2.itrc.hp.com/service/forums/questionanswer.do?threadId=939917&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Greg Vaidman has already given you a link to the manual which describes this.</description>
      <pubDate>Tue, 19 Jul 2005 07:26:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-change-pseudo-device-name/m-p/3584874#M18730</guid>
      <dc:creator>Uwe Zessin</dc:creator>
      <dc:date>2005-07-19T07:26:09Z</dc:date>
    </item>
  </channel>
</rss>

