<?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: To change Disk hardware path in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/to-change-disk-hardware-path/m-p/3289424#M181850</link>
    <description>Hi Tamil,&lt;BR /&gt;&lt;BR /&gt;No, the lvmtab was updated after I executed the 2 commands.&lt;BR /&gt;Note the content of lvmtab is below:&lt;BR /&gt;# strings lvmtab&lt;BR /&gt;/dev/vg00&lt;BR /&gt;/dev/dsk/c0t5d0&lt;BR /&gt;/dev/vg01&lt;BR /&gt;/dev/dsk/c0t8d0&lt;BR /&gt;/dev/dsk/c0t10d0&lt;BR /&gt;/dev/dsk/c1t3d0&lt;BR /&gt;/dev/dsk/c1t4d0&lt;BR /&gt;/dev/dsk/c1t5d0&lt;BR /&gt;/dev/dsk/c1t6d0&lt;BR /&gt;/dev/dsk/c4t3d0&lt;BR /&gt;/dev/dsk/c4t4d0&lt;BR /&gt;/dev/dsk/c4t6d0&lt;BR /&gt;&lt;BR /&gt;It seems that the config info was successfully stored to PV /dev/rdsk/c0t10d0 after a reboot.&lt;BR /&gt;Because I can see the change using vgdisplay now. &lt;BR /&gt;&lt;BR /&gt;regards tommy</description>
    <pubDate>Fri, 28 May 2004 02:20:49 GMT</pubDate>
    <dc:creator>twang</dc:creator>
    <dc:date>2004-05-28T02:20:49Z</dc:date>
    <item>
      <title>To change Disk hardware path</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/to-change-disk-hardware-path/m-p/3289414#M181840</link>
      <description>Dear guys,&lt;BR /&gt;This morning, I found one of disks has problem, I try to plug the problem disk onto another slot, and I can successfully find this disk, I believe the problem is because of the bad slot. Now I need to change the disk's hardware path and readd this disk into its VG.&lt;BR /&gt;Do you have any advice? &lt;BR /&gt;&lt;BR /&gt;Thanks in advance.&lt;BR /&gt;tommy&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 27 May 2004 23:19:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/to-change-disk-hardware-path/m-p/3289414#M181840</guid>
      <dc:creator>twang</dc:creator>
      <dc:date>2004-05-27T23:19:43Z</dc:date>
    </item>
    <item>
      <title>Re: To change Disk hardware path</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/to-change-disk-hardware-path/m-p/3289415#M181841</link>
      <description>More info...&lt;BR /&gt;I have reinstalled the device file and test the "problem disk" and it works well:&lt;BR /&gt;# insf -eC disk&lt;BR /&gt;&lt;BR /&gt;# dd if=/dev/rdsk/c0t10d0 of=/dev/null bs=32768k&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 27 May 2004 23:25:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/to-change-disk-hardware-path/m-p/3289415#M181841</guid>
      <dc:creator>twang</dc:creator>
      <dc:date>2004-05-27T23:25:51Z</dc:date>
    </item>
    <item>
      <title>Re: To change Disk hardware path</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/to-change-disk-hardware-path/m-p/3289416#M181842</link>
      <description>hi tommy,&lt;BR /&gt;&lt;BR /&gt;vgreduce -f will remove all physical volumes from the volume group.&lt;BR /&gt;&lt;BR /&gt;or vgreduce -l pvpath will remove the particular entry for the PV from the /etc/lvmtab file&lt;BR /&gt;&lt;BR /&gt;vgimport /dev/vgname /dev/dsk/newPVpath&lt;BR /&gt;&lt;BR /&gt;should work for you...&lt;BR /&gt;&lt;BR /&gt;with best wishes&lt;BR /&gt;Naveej</description>
      <pubDate>Thu, 27 May 2004 23:34:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/to-change-disk-hardware-path/m-p/3289416#M181842</guid>
      <dc:creator>Naveej.K.A</dc:creator>
      <dc:date>2004-05-27T23:34:05Z</dc:date>
    </item>
    <item>
      <title>Re: To change Disk hardware path</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/to-change-disk-hardware-path/m-p/3289417#M181843</link>
      <description>Each of the "slots" has a hardware path associated with it.&lt;BR /&gt;&lt;BR /&gt;How it works depends on the model and the dip switch settings set.&lt;BR /&gt;&lt;BR /&gt;Its important to get the problem diagnosed and corrected because it could be the first sign of a common piece of hardware going. Many systems have a part called a drive cage. all power and scsi channels go through it. When it starts to go, eventually the system starts consuming drives until the drive cage is replaced.&lt;BR /&gt;&lt;BR /&gt;For more specific help, posting the system model type and number is useful.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 27 May 2004 23:53:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/to-change-disk-hardware-path/m-p/3289417#M181843</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-05-27T23:53:09Z</dc:date>
    </item>
    <item>
      <title>Re: To change Disk hardware path</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/to-change-disk-hardware-path/m-p/3289418#M181844</link>
      <description>Hi Tommy,&lt;BR /&gt;&lt;BR /&gt;I think insf command will only match disk at a hardware path and will show disk hardware path by ioscan which you have already found. &lt;BR /&gt;I think you need following things to be done(If it is mirrored)&lt;BR /&gt;&lt;BR /&gt;1)Boot the system in LVM maintenance (bo alt; interact with IPL-&amp;gt;y;hpux -lm -lq&lt;BR /&gt;&lt;BR /&gt;2)vgcfgrestore -n /dev/vg?? /dev/rdsk/c?t?d?&lt;BR /&gt;&lt;BR /&gt;3) vgchange -a y /dev/vg?? ( Normally this automatically sync the vg??)&lt;BR /&gt;&lt;BR /&gt;Rgds&lt;BR /&gt;Tapas&lt;BR /&gt;</description>
      <pubDate>Fri, 28 May 2004 00:02:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/to-change-disk-hardware-path/m-p/3289418#M181844</guid>
      <dc:creator>Tapas Jha</dc:creator>
      <dc:date>2004-05-28T00:02:04Z</dc:date>
    </item>
    <item>
      <title>Re: To change Disk hardware path</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/to-change-disk-hardware-path/m-p/3289419#M181845</link>
      <description>Thanks guys for your reply, attached is output from "vgdisplay -v /dev/vg01".&lt;BR /&gt;&lt;BR /&gt;Yes, I can remove the PV from the problem VG and readd the PV, &lt;BR /&gt;but I would like to use the data on the problem disk. Is it possible to use this method?&lt;BR /&gt;&lt;BR /&gt;More info...&lt;BR /&gt;# diskinfo /dev/rdsk/c0t10d0&lt;BR /&gt;SCSI describe of /dev/rdsk/c0t10d0:&lt;BR /&gt;             vendor: SEAGATE &lt;BR /&gt;         product id: ST39173WC       &lt;BR /&gt;               type: direct access&lt;BR /&gt;               size: 8891556 Kbytes&lt;BR /&gt;   bytes per sector: 512&lt;BR /&gt;&lt;BR /&gt;# ioscan -fnkC disk&lt;BR /&gt;Class     I  H/W Path    Driver      S/W State H/W Type  Description&lt;BR /&gt;=====================================================================&lt;BR /&gt;disk      0  8/4.5.0     sdisk       CLAIMED   DEVICE    SEAGATE ST39173WC&lt;BR /&gt;                        /dev/dsk/c0t5d0   /dev/rdsk/c0t5d0&lt;BR /&gt;disk      1  8/4.8.0     sdisk       CLAIMED   DEVICE    SEAGATE ST39173WC&lt;BR /&gt;                        /dev/dsk/c0t8d0   /dev/rdsk/c0t8d0&lt;BR /&gt;disk     12  8/4.10.0    sdisk       CLAIMED   DEVICE    SEAGATE ST39173WC&lt;BR /&gt;                        /dev/dsk/c0t10d0   /dev/rdsk/c0t10d0&lt;BR /&gt;disk      9  8/12.3.0    sdisk       CLAIMED   DEVICE    IBM     DGHS09Y&lt;BR /&gt;                        /dev/dsk/c1t3d0   /dev/rdsk/c1t3d0&lt;BR /&gt;disk      3  8/12.4.0    sdisk       CLAIMED   DEVICE    SEAGATE ST39173WC&lt;BR /&gt;                        /dev/dsk/c1t4d0   /dev/rdsk/c1t4d0&lt;BR /&gt;disk      4  8/12.5.0    sdisk       CLAIMED   DEVICE    SEAGATE ST39173WC&lt;BR /&gt;                        /dev/dsk/c1t5d0   /dev/rdsk/c1t5d0&lt;BR /&gt;disk      5  8/12.6.0    sdisk       CLAIMED   DEVICE    SEAGATE ST39173WC&lt;BR /&gt;                        /dev/dsk/c1t6d0   /dev/rdsk/c1t6d0&lt;BR /&gt;disk      2  8/16/5.2.0  sdisk       CLAIMED   DEVICE    PIONEER DVD-ROM DVD-303&lt;BR /&gt;                        /dev/dsk/c2t2d0   /dev/rdsk/c2t2d0&lt;BR /&gt;disk     10  10/12.3.0   sdisk       CLAIMED   DEVICE    IBM     DGHS09Y&lt;BR /&gt;                        /dev/dsk/c4t3d0   /dev/rdsk/c4t3d0&lt;BR /&gt;disk      6  10/12.4.0   sdisk       CLAIMED   DEVICE    SEAGATE ST39173WC&lt;BR /&gt;                        /dev/dsk/c4t4d0   /dev/rdsk/c4t4d0&lt;BR /&gt;disk      8  10/12.6.0   sdisk       CLAIMED   DEVICE    SEAGATE ST39173WC&lt;BR /&gt;                        /dev/dsk/c4t6d0   /dev/rdsk/c4t6d0&lt;BR /&gt;&lt;BR /&gt;regards tommy</description>
      <pubDate>Fri, 28 May 2004 00:11:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/to-change-disk-hardware-path/m-p/3289419#M181845</guid>
      <dc:creator>twang</dc:creator>
      <dc:date>2004-05-28T00:11:34Z</dc:date>
    </item>
    <item>
      <title>Re: To change Disk hardware path</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/to-change-disk-hardware-path/m-p/3289420#M181846</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;#/usr/sbin/vgcfgrestore [-R] [-F] -n vg_name [-o old_pv_path] pv_path&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;#/usr/sbin/vgcfgrestore  -n  vg01 -o /dev/rdsk/c0t9d0 /dev/rdsk/c0t10d0&lt;BR /&gt;#vgchange -a y vg01&lt;BR /&gt;&lt;BR /&gt;See man pages of vgcfgrestore.</description>
      <pubDate>Fri, 28 May 2004 00:37:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/to-change-disk-hardware-path/m-p/3289420#M181846</guid>
      <dc:creator>V.Tamilvanan</dc:creator>
      <dc:date>2004-05-28T00:37:40Z</dc:date>
    </item>
    <item>
      <title>Re: To change Disk hardware path</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/to-change-disk-hardware-path/m-p/3289421#M181847</link>
      <description>Hi twang,&lt;BR /&gt;&lt;BR /&gt; You no need to remove or add any disks into VG. You just execute the previos 2 commands what i have mentioned. It will solve your problem.&lt;BR /&gt;Even I did it so many times. The data will be intact if your disk is OK.</description>
      <pubDate>Fri, 28 May 2004 00:42:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/to-change-disk-hardware-path/m-p/3289421#M181847</guid>
      <dc:creator>V.Tamilvanan</dc:creator>
      <dc:date>2004-05-28T00:42:26Z</dc:date>
    </item>
    <item>
      <title>Re: To change Disk hardware path</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/to-change-disk-hardware-path/m-p/3289422#M181848</link>
      <description>Hi Tamil,&lt;BR /&gt;The vgchange command shows a warning, is it normal?&lt;BR /&gt;The following is command output: &lt;BR /&gt;# vgcfgrestore -n /dev/vg01 -o /dev/rdsk/c0t9d0 /dev/rdsk/c0t10d0&lt;BR /&gt;Volume Group configuration has been restored to /dev/rdsk/c0t10d0&lt;BR /&gt;wmo_host# vgchange -a y /dev/vg01&lt;BR /&gt;vgchange: Warning: Couldn't attach to the volume group physical volume "/dev/dsk/c0t9d0":&lt;BR /&gt;The path of the physical volume refers to a device that does not&lt;BR /&gt;exist, or is not configured into the kernel.&lt;BR /&gt;Activated volume group &lt;BR /&gt;Volume group "/dev/vg01" has been successfully changed.&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;tommy&lt;BR /&gt;</description>
      <pubDate>Fri, 28 May 2004 00:59:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/to-change-disk-hardware-path/m-p/3289422#M181848</guid>
      <dc:creator>twang</dc:creator>
      <dc:date>2004-05-28T00:59:51Z</dc:date>
    </item>
    <item>
      <title>Re: To change Disk hardware path</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/to-change-disk-hardware-path/m-p/3289423#M181849</link>
      <description>Hi twang,&lt;BR /&gt;&lt;BR /&gt; Can you check whether the /dev/dsk/c0t9d0 is still in the /etc/lvmtab. If it is so move the /etc/lvmtab to different name and do a vgscan. It should remove the entry of /dev/dsk/c0t9d0 from the /etc/lvmtab.&lt;BR /&gt;&lt;BR /&gt;#mv /etc/lvmtab /etc/lvmtab.org&lt;BR /&gt;#vgscan -a -v&lt;BR /&gt;&lt;BR /&gt;Once u do . Can u post your /etc/lvmtab and vgdisplay output.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 28 May 2004 01:47:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/to-change-disk-hardware-path/m-p/3289423#M181849</guid>
      <dc:creator>V.Tamilvanan</dc:creator>
      <dc:date>2004-05-28T01:47:22Z</dc:date>
    </item>
    <item>
      <title>Re: To change Disk hardware path</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/to-change-disk-hardware-path/m-p/3289424#M181850</link>
      <description>Hi Tamil,&lt;BR /&gt;&lt;BR /&gt;No, the lvmtab was updated after I executed the 2 commands.&lt;BR /&gt;Note the content of lvmtab is below:&lt;BR /&gt;# strings lvmtab&lt;BR /&gt;/dev/vg00&lt;BR /&gt;/dev/dsk/c0t5d0&lt;BR /&gt;/dev/vg01&lt;BR /&gt;/dev/dsk/c0t8d0&lt;BR /&gt;/dev/dsk/c0t10d0&lt;BR /&gt;/dev/dsk/c1t3d0&lt;BR /&gt;/dev/dsk/c1t4d0&lt;BR /&gt;/dev/dsk/c1t5d0&lt;BR /&gt;/dev/dsk/c1t6d0&lt;BR /&gt;/dev/dsk/c4t3d0&lt;BR /&gt;/dev/dsk/c4t4d0&lt;BR /&gt;/dev/dsk/c4t6d0&lt;BR /&gt;&lt;BR /&gt;It seems that the config info was successfully stored to PV /dev/rdsk/c0t10d0 after a reboot.&lt;BR /&gt;Because I can see the change using vgdisplay now. &lt;BR /&gt;&lt;BR /&gt;regards tommy</description>
      <pubDate>Fri, 28 May 2004 02:20:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/to-change-disk-hardware-path/m-p/3289424#M181850</guid>
      <dc:creator>twang</dc:creator>
      <dc:date>2004-05-28T02:20:49Z</dc:date>
    </item>
  </channel>
</rss>

