<?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: Automatically changed the disk device files in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/automatically-changed-the-disk-device-files/m-p/5225193#M467541</link>
    <description>Maybe someone replaced a SAN switch and did not tell you?&lt;BR /&gt;&lt;BR /&gt;The standard procedure in a situation like this:&lt;BR /&gt;&lt;BR /&gt;1.) find out the minor device number of vgdb02:&lt;BR /&gt;&lt;BR /&gt;ll /dev/vgdb02/group&lt;BR /&gt;&lt;BR /&gt;The response will be something like:&lt;BR /&gt;crw-r--r-- 1 root disk 64, 0xNN0000 &lt;TIMESTAMP&gt; /dev/vgdb02/group&lt;BR /&gt;&lt;BR /&gt;The minor device number is 0xNN0000, where NN can be any hex digits. Remember the correct number, you will need it later.&lt;BR /&gt;&lt;BR /&gt;2.) export the VG, creating a map file that includes the VGID:&lt;BR /&gt;&lt;BR /&gt;vgexport -v -s -m vgdb02.map vgdb02&lt;BR /&gt;&lt;BR /&gt;3.) re-create the VG directory and the group file, because the vgexport deleted it:&lt;BR /&gt;&lt;BR /&gt;mkdir /dev/vgdb02&lt;BR /&gt;mknod /dev/vgdb02/group c 64 0xNN0000&lt;BR /&gt;&lt;BR /&gt;(Use the correct minor device number you got from step 1 instead of 0xNN0000.)&lt;BR /&gt;&lt;BR /&gt;4.) re-import the VG, using the -s option to auto-find the VG disks using the VGID in the map file:&lt;BR /&gt;&lt;BR /&gt;vgimport -v -s -m vgdb02.map vgdb02&lt;BR /&gt;&lt;BR /&gt;Now the volume group is again in a normal state and you should be able to activate it as usual:&lt;BR /&gt;&lt;BR /&gt;vgchange -a y vgdb02&lt;BR /&gt;&lt;BR /&gt;(or if it's a Serviceguard cluster VG, then just start the package instead)&lt;BR /&gt;&lt;BR /&gt;MK&lt;/TIMESTAMP&gt;</description>
    <pubDate>Tue, 16 Feb 2010 07:52:15 GMT</pubDate>
    <dc:creator>Matti_Kurkela</dc:creator>
    <dc:date>2010-02-16T07:52:15Z</dc:date>
    <item>
      <title>Automatically changed the disk device files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/automatically-changed-the-disk-device-files/m-p/5225190#M467538</link>
      <description>Hi,&lt;BR /&gt;I don't know how automatically the disk device files got changed. I am using the HP VA7100 storage and earlier my device file was /dev/dsk/c6t12d1 and /dev/dsk/c10t14d1 in VG vgdb02 and now when i am doing ioscan i am able to see the disk device file but it got changed to /dev/dsk/c9t0d1 and /dev/dsk/c18t0d1. And now i am not able to activate the VG vgdb02...Please let me know how to activtae vgdb02 and how to resolve the problem of this changed disk device files.</description>
      <pubDate>Tue, 16 Feb 2010 07:36:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/automatically-changed-the-disk-device-files/m-p/5225190#M467538</guid>
      <dc:creator>Narendra Uttekar</dc:creator>
      <dc:date>2010-02-16T07:36:04Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically changed the disk device files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/automatically-changed-the-disk-device-files/m-p/5225191#M467539</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;you need to import the vg on the new device path&lt;BR /&gt;&lt;BR /&gt;vgimport -v vgname &lt;NAME of="" new="" device="" paths=""&gt;&lt;BR /&gt;&lt;BR /&gt;vgchange -a y vgname&lt;BR /&gt;&lt;BR /&gt;Rgds.,&lt;BR /&gt;Sachin Kumbla.&lt;/NAME&gt;</description>
      <pubDate>Tue, 16 Feb 2010 07:40:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/automatically-changed-the-disk-device-files/m-p/5225191#M467539</guid>
      <dc:creator>Sachin Kumbla</dc:creator>
      <dc:date>2010-02-16T07:40:28Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically changed the disk device files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/automatically-changed-the-disk-device-files/m-p/5225192#M467540</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;Yes, you must import the vgdb02 but in order to do that you must first export the same VG.&lt;BR /&gt;&lt;BR /&gt;See:&lt;BR /&gt;&lt;BR /&gt;strings /etc/lvmtab&lt;BR /&gt;&lt;BR /&gt;Horia.</description>
      <pubDate>Tue, 16 Feb 2010 07:43:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/automatically-changed-the-disk-device-files/m-p/5225192#M467540</guid>
      <dc:creator>Horia Chirculescu</dc:creator>
      <dc:date>2010-02-16T07:43:07Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically changed the disk device files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/automatically-changed-the-disk-device-files/m-p/5225193#M467541</link>
      <description>Maybe someone replaced a SAN switch and did not tell you?&lt;BR /&gt;&lt;BR /&gt;The standard procedure in a situation like this:&lt;BR /&gt;&lt;BR /&gt;1.) find out the minor device number of vgdb02:&lt;BR /&gt;&lt;BR /&gt;ll /dev/vgdb02/group&lt;BR /&gt;&lt;BR /&gt;The response will be something like:&lt;BR /&gt;crw-r--r-- 1 root disk 64, 0xNN0000 &lt;TIMESTAMP&gt; /dev/vgdb02/group&lt;BR /&gt;&lt;BR /&gt;The minor device number is 0xNN0000, where NN can be any hex digits. Remember the correct number, you will need it later.&lt;BR /&gt;&lt;BR /&gt;2.) export the VG, creating a map file that includes the VGID:&lt;BR /&gt;&lt;BR /&gt;vgexport -v -s -m vgdb02.map vgdb02&lt;BR /&gt;&lt;BR /&gt;3.) re-create the VG directory and the group file, because the vgexport deleted it:&lt;BR /&gt;&lt;BR /&gt;mkdir /dev/vgdb02&lt;BR /&gt;mknod /dev/vgdb02/group c 64 0xNN0000&lt;BR /&gt;&lt;BR /&gt;(Use the correct minor device number you got from step 1 instead of 0xNN0000.)&lt;BR /&gt;&lt;BR /&gt;4.) re-import the VG, using the -s option to auto-find the VG disks using the VGID in the map file:&lt;BR /&gt;&lt;BR /&gt;vgimport -v -s -m vgdb02.map vgdb02&lt;BR /&gt;&lt;BR /&gt;Now the volume group is again in a normal state and you should be able to activate it as usual:&lt;BR /&gt;&lt;BR /&gt;vgchange -a y vgdb02&lt;BR /&gt;&lt;BR /&gt;(or if it's a Serviceguard cluster VG, then just start the package instead)&lt;BR /&gt;&lt;BR /&gt;MK&lt;/TIMESTAMP&gt;</description>
      <pubDate>Tue, 16 Feb 2010 07:52:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/automatically-changed-the-disk-device-files/m-p/5225193#M467541</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2010-02-16T07:52:15Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically changed the disk device files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/automatically-changed-the-disk-device-files/m-p/5225194#M467542</link>
      <description>Thanks Matti Kurkela for the excellent solution. I was able to fix the problem with your solution.</description>
      <pubDate>Tue, 16 Feb 2010 10:04:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/automatically-changed-the-disk-device-files/m-p/5225194#M467542</guid>
      <dc:creator>Narendra Uttekar</dc:creator>
      <dc:date>2010-02-16T10:04:35Z</dc:date>
    </item>
  </channel>
</rss>

