<?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: Change instance number of current VG00 in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/change-instance-number-of-current-vg00/m-p/4173505#M692743</link>
    <description>Bonjour William,&lt;BR /&gt;&lt;BR /&gt;"Then I run /sbin/ioinit -f mapfile -r &lt;BR /&gt;hope that will force the instance numbes will be swapped, and the device files of vg00 disks will changed too"&lt;BR /&gt;&lt;BR /&gt;With HP-UX 11.23 or lower, it will not. Starting from HP-UX 11.31, device file names will not change even if you modify hardware instanciation and if you use new DSF but legacy files.&lt;BR /&gt;&lt;BR /&gt;Assuming you are working with 11.23, you must import vg00 with new device file names. Here is a general guide :&lt;BR /&gt;&lt;BR /&gt;- boot in maintenance mode (-lm)&lt;BR /&gt;- vgexport -m vg00.map vg00&lt;BR /&gt;- ioscan&lt;BR /&gt;- insf -e&lt;BR /&gt;- locate the new device file name for system disk. Assuming this name is now /dev/dsk/c3t0d0 ...&lt;BR /&gt;- mkdir /dev/vg00&lt;BR /&gt;- mknod /dev/vg00/group c 64 0x000000&lt;BR /&gt;- vgimport -m vg00.map vg00 /dev/dsk/c3t0d0s2&lt;BR /&gt;- vgchange -a y vg00&lt;BR /&gt;- mountall (errors on other vg than vg00, but doesn't matter)&lt;BR /&gt;- su - root&lt;BR /&gt;- lvlnboot -R (check with lvlnboot -v)&lt;BR /&gt;- setboot -p HardwarePathOfSystemDisk (can get it with lssf /dev/dsk/c3t0d0)&lt;BR /&gt;- sync;sync;reboot -r&lt;BR /&gt;&lt;BR /&gt;It should be better now&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Eric&lt;BR /&gt;</description>
    <pubDate>Fri, 04 Apr 2008 12:07:18 GMT</pubDate>
    <dc:creator>Eric SAUBIGNAC</dc:creator>
    <dc:date>2008-04-04T12:07:18Z</dc:date>
    <item>
      <title>Change instance number of current VG00</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/change-instance-number-of-current-vg00/m-p/4173501#M692739</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Itanium rx3600 + sas controller with disks (vg00) and fiber storage&lt;BR /&gt;&lt;BR /&gt;While igniting this new box, it was attached with SAS disks and has connection to SAN storage via fiber.&lt;BR /&gt;&lt;BR /&gt;This is the result:&lt;BR /&gt;$ /usr/sbin/ioscan -fnkCext_bus&lt;BR /&gt;Class        I  H/W Path      Driver         S/W State   H/W Type     Description&lt;BR /&gt;==================================================================================&lt;BR /&gt;ext_bus      0  0/0/2/1.0.16  UsbScsiAdaptor CLAIMED     INTERFACE    USB SCSI Stack Adaptor&lt;BR /&gt;ext_bus      1  0/1/1/0       mpt            CLAIMED     INTERFACE    SCSI Ultra320 A6961-60011&lt;BR /&gt;                             /dev/mpt1&lt;BR /&gt;ext_bus      2  0/1/1/1       mpt            CLAIMED     INTERFACE    SCSI Ultra320 A6961-60011&lt;BR /&gt;                             /dev/mpt2&lt;BR /&gt;ext_bus      3  0/3/1/0.1.0.239.0   fcd_vbus       CLAIMED     INTERFACE    FCP Array Interface&lt;BR /&gt;ext_bus      4  0/3/1/0.1.0.255.14  fcd_vbus       CLAIMED     INTERFACE    FCP Device Interface&lt;BR /&gt;ext_bus      7  0/4/1/0.0.0   sasd_vbus      CLAIMED     INTERFACE    SAS Device Interface&lt;BR /&gt;ext_bus      8  0/4/2/0.0.0   sasd_vbus      CLAIMED     INTERFACE    SAS Device Interface&lt;BR /&gt;ext_bus      5  0/7/1/0.1.8.239.0   fcd_vbus       CLAIMED     INTERFACE    FCP Array Interface&lt;BR /&gt;ext_bus      6  0/7/1/0.1.8.255.14  fcd_vbus       CLAIMED     INTERFACE    FCP Device Interface&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;as you can see, the sequence of instance numbers go like:&lt;BR /&gt;first USB devices, then FCP, then SAS.&lt;BR /&gt;&lt;BR /&gt;What I want is, it that the root disk (SAS) to have instance number 3 and 4 so that the device names will be c3t0d0...&lt;BR /&gt;&lt;BR /&gt;I know i can use ioscan to prepare a mapfile, manualy change instance numbers of ext_bus.&lt;BR /&gt;delete /etc/ioconfig , /stand/ioconfig and reboot in single-user mode to force to generate a new ioconfig.&lt;BR /&gt;&lt;BR /&gt;then I run /sbin/ioinit -f mapfile -r&lt;BR /&gt;hope that will force the instance numbes will be swapped, and the device files of vg00 disks will changed too&lt;BR /&gt;&lt;BR /&gt;but it's not working as I want to. I must have forgotten something.&lt;BR /&gt;&lt;BR /&gt;do I need to rmsf everything?&lt;BR /&gt;Delete /dev/rdsk, /dev/dsk?&lt;BR /&gt;&lt;BR /&gt;Some guideline will be great, thanks in advance.&lt;BR /&gt;&lt;BR /&gt;William</description>
      <pubDate>Thu, 03 Apr 2008 15:54:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/change-instance-number-of-current-vg00/m-p/4173501#M692739</guid>
      <dc:creator>William Wan_1</dc:creator>
      <dc:date>2008-04-03T15:54:21Z</dc:date>
    </item>
    <item>
      <title>Re: Change instance number of current VG00</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/change-instance-number-of-current-vg00/m-p/4173502#M692740</link>
      <description>check if this my own thread helps&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums12.itrc.hp.com/service/forums/questionanswer.do?threadId=1198301" target="_blank"&gt;http://forums12.itrc.hp.com/service/forums/questionanswer.do?threadId=1198301&lt;/A&gt;</description>
      <pubDate>Thu, 03 Apr 2008 19:16:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/change-instance-number-of-current-vg00/m-p/4173502#M692740</guid>
      <dc:creator>skt_skt</dc:creator>
      <dc:date>2008-04-03T19:16:31Z</dc:date>
    </item>
    <item>
      <title>Re: Change instance number of current VG00</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/change-instance-number-of-current-vg00/m-p/4173503#M692741</link>
      <description>Thanks for the instruction of how to handle with ioconfig. These are the steps I took too.&lt;BR /&gt;&lt;BR /&gt;But my actual question is:&lt;BR /&gt;How to re-confige the VG00&lt;BR /&gt;&lt;BR /&gt;using ioinit, i changed the interface for SAS controller (where root disk attached)&lt;BR /&gt;from 5 to 3, so my root disk will change from &lt;BR /&gt;c5t0d0 to c3t0d0.&lt;BR /&gt;&lt;BR /&gt;I think I need to vgexport VG00, rm /dev/dsk/* /dev/rdsk/* &lt;BR /&gt;and reboot again in lm mode to rebuild to VG00</description>
      <pubDate>Fri, 04 Apr 2008 08:34:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/change-instance-number-of-current-vg00/m-p/4173503#M692741</guid>
      <dc:creator>William Wan_1</dc:creator>
      <dc:date>2008-04-04T08:34:19Z</dc:date>
    </item>
    <item>
      <title>Re: Change instance number of current VG00</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/change-instance-number-of-current-vg00/m-p/4173504#M692742</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;If you want to update the new device file on /etc/lvmtab, &lt;BR /&gt;&lt;BR /&gt;you could move the /etc/lvmtab and run vgscan -pv&lt;BR /&gt;&lt;BR /&gt;If it doesn't update the work, you could create map file and vgimport in maitenance mode&lt;BR /&gt;&lt;BR /&gt;Best Regards&lt;BR /&gt;Ramesh S&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 04 Apr 2008 10:48:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/change-instance-number-of-current-vg00/m-p/4173504#M692742</guid>
      <dc:creator>Ramesh S</dc:creator>
      <dc:date>2008-04-04T10:48:53Z</dc:date>
    </item>
    <item>
      <title>Re: Change instance number of current VG00</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/change-instance-number-of-current-vg00/m-p/4173505#M692743</link>
      <description>Bonjour William,&lt;BR /&gt;&lt;BR /&gt;"Then I run /sbin/ioinit -f mapfile -r &lt;BR /&gt;hope that will force the instance numbes will be swapped, and the device files of vg00 disks will changed too"&lt;BR /&gt;&lt;BR /&gt;With HP-UX 11.23 or lower, it will not. Starting from HP-UX 11.31, device file names will not change even if you modify hardware instanciation and if you use new DSF but legacy files.&lt;BR /&gt;&lt;BR /&gt;Assuming you are working with 11.23, you must import vg00 with new device file names. Here is a general guide :&lt;BR /&gt;&lt;BR /&gt;- boot in maintenance mode (-lm)&lt;BR /&gt;- vgexport -m vg00.map vg00&lt;BR /&gt;- ioscan&lt;BR /&gt;- insf -e&lt;BR /&gt;- locate the new device file name for system disk. Assuming this name is now /dev/dsk/c3t0d0 ...&lt;BR /&gt;- mkdir /dev/vg00&lt;BR /&gt;- mknod /dev/vg00/group c 64 0x000000&lt;BR /&gt;- vgimport -m vg00.map vg00 /dev/dsk/c3t0d0s2&lt;BR /&gt;- vgchange -a y vg00&lt;BR /&gt;- mountall (errors on other vg than vg00, but doesn't matter)&lt;BR /&gt;- su - root&lt;BR /&gt;- lvlnboot -R (check with lvlnboot -v)&lt;BR /&gt;- setboot -p HardwarePathOfSystemDisk (can get it with lssf /dev/dsk/c3t0d0)&lt;BR /&gt;- sync;sync;reboot -r&lt;BR /&gt;&lt;BR /&gt;It should be better now&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Eric&lt;BR /&gt;</description>
      <pubDate>Fri, 04 Apr 2008 12:07:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/change-instance-number-of-current-vg00/m-p/4173505#M692743</guid>
      <dc:creator>Eric SAUBIGNAC</dc:creator>
      <dc:date>2008-04-04T12:07:18Z</dc:date>
    </item>
    <item>
      <title>Re: Change instance number of current VG00</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/change-instance-number-of-current-vg00/m-p/4173506#M692744</link>
      <description>Yes, I was looking for the guideline of rebuilding VG00..&lt;BR /&gt;thanks</description>
      <pubDate>Fri, 04 Apr 2008 14:13:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/change-instance-number-of-current-vg00/m-p/4173506#M692744</guid>
      <dc:creator>William Wan_1</dc:creator>
      <dc:date>2008-04-04T14:13:30Z</dc:date>
    </item>
  </channel>
</rss>

