<?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: lost alternate link in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/lost-alternate-link/m-p/5019858#M608949</link>
    <description>&lt;!--!*#--&gt;problem solved.&lt;BR /&gt;&lt;BR /&gt;#&amp;gt; vgreduce -l vgdata /dev/dsk/c6t1d7&lt;BR /&gt;Volume group "vgdata" has been successfully reduced.&lt;BR /&gt;Volume Group configuration for /dev/vgdata has been saved in /etc/lvmconf/vgdata.conf&lt;BR /&gt;&lt;BR /&gt;#&amp;gt; vgextend vgdata /dev/dsk/c6t1d7   &lt;BR /&gt;Volume group "vgdata" has been successfully extended.&lt;BR /&gt;Volume Group configuration for /dev/vgdata has been saved in /etc/lvmconf/vgdata.conf&lt;BR /&gt;&lt;BR /&gt;#&amp;gt; vgdisplay -v vgdata&lt;BR /&gt;&lt;BR /&gt;&lt;SNIP&gt;&lt;BR /&gt;   PV Name                     /dev/dsk/c8t1d7&lt;BR /&gt;   PV Name                     /dev/dsk/c6t1d7  Alternate Link&lt;BR /&gt;   PV Status                   available                &lt;BR /&gt;   Total PE                    137     &lt;BR /&gt;   Free PE                     97      &lt;BR /&gt;   Autoswitch                  On       &lt;BR /&gt;&lt;BR /&gt;all seems OK now&lt;BR /&gt;&lt;BR /&gt;thanks all for your help.&lt;/SNIP&gt;</description>
    <pubDate>Wed, 20 Dec 2006 11:43:25 GMT</pubDate>
    <dc:creator>mobidyc</dc:creator>
    <dc:date>2006-12-20T11:43:25Z</dc:date>
    <item>
      <title>lost alternate link</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lost-alternate-link/m-p/5019851#M608942</link>
      <description>&lt;!--!*#--&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;strange situation, one PV in a VG seems to be inaccessible, strange because it must be an alternate link.&lt;BR /&gt;&lt;BR /&gt;pv in error : c6t1d7&lt;BR /&gt;pv ok : c8t1d7&lt;BR /&gt;these two dsk are the same disk on a different path, i've other dsk with their alternate links OK, i don't understand the situation.&lt;BR /&gt;&lt;BR /&gt;#&amp;gt; vgdisplay -v vgdata 1&amp;gt;/dev/null&lt;BR /&gt;&lt;SNIP&gt;&lt;BR /&gt;vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c6t1d7":&lt;BR /&gt;The specified path does not correspond to physical volume attached to &lt;BR /&gt;this volume group&lt;BR /&gt;vgdisplay: Warning: couldn't query all of the physical volumes.&lt;BR /&gt;&lt;BR /&gt;#&amp;gt; vgdisplay -v vgdata 2&amp;gt;/dev/null&lt;BR /&gt;--- Volume groups ---&lt;BR /&gt;VG Name                     /dev/vgdata&lt;BR /&gt;VG Write Access             read/write     &lt;BR /&gt;VG Status                   available                 &lt;BR /&gt;Max LV                      255    &lt;BR /&gt;Cur LV                      32     &lt;BR /&gt;Open LV                     32     &lt;BR /&gt;Max PV                      255    &lt;BR /&gt;Cur PV                      13     &lt;BR /&gt;Act PV                      13     &lt;BR /&gt;Max PE per PV               2905         &lt;BR /&gt;VGDA                        26  &lt;BR /&gt;PE Size (Mbytes)            256             &lt;BR /&gt;Total PE                    2765    &lt;BR /&gt;Alloc PE                    1856    &lt;BR /&gt;Free PE                     909     &lt;BR /&gt;Total PVG                   0        &lt;BR /&gt;Total Spare PVs             0              &lt;BR /&gt;Total Spare PVs in use      0       &lt;BR /&gt;&lt;BR /&gt;&lt;SNIP&gt;&lt;BR /&gt;&lt;BR /&gt;   PV Name                     /dev/dsk/c8t1d2&lt;BR /&gt;   PV Name                     /dev/dsk/c6t1d2  Alternate Link&lt;BR /&gt;   PV Status                   available                &lt;BR /&gt;   Total PE                    119     &lt;BR /&gt;   Free PE                     61      &lt;BR /&gt;   Autoswitch                  On        &lt;BR /&gt;&lt;BR /&gt;   PV Name                     /dev/dsk/c8t1d7&lt;BR /&gt;   PV Status                   available                &lt;BR /&gt;   Total PE                    137     &lt;BR /&gt;   Free PE                     97      &lt;BR /&gt;   Autoswitch                  On        &lt;BR /&gt;&lt;BR /&gt;#&amp;gt; pvdisplay /dev/dsk/c6t1d7&lt;BR /&gt;pvdisplay: Warning: couldn't query physical volume "/dev/dsk/c6t1d7":&lt;BR /&gt;The specified path does not correspond to physical volume attached to &lt;BR /&gt;this volume group&lt;BR /&gt;pvdisplay: Warning: couldn't query all of the physical volumes.&lt;BR /&gt;pvdisplay: Couldn't retrieve the names of the physical volumes&lt;BR /&gt;belonging to volume group "/dev/vgdata".&lt;BR /&gt;pvdisplay: Cannot display physical volume "/dev/dsk/c6t1d7".&lt;BR /&gt;&lt;BR /&gt;#&amp;gt; uname -r&lt;BR /&gt;B.11.00&lt;BR /&gt;&lt;BR /&gt;could you help me to understand the problem ?&lt;BR /&gt;&lt;BR /&gt;what i've do:&lt;BR /&gt;#&amp;gt; mv /etc/lvmtab /etc/lvmtab.old&lt;BR /&gt;#&amp;gt; vgscan -v&lt;BR /&gt;Creating "/etc/lvmtab".&lt;BR /&gt;vgscan: Couldn't access the list of physical volumes for volume group "/dev/vg00".&lt;BR /&gt;vgscan: Couldn't access the list of physical volumes for volume group "/dev/vgdata".&lt;BR /&gt;Couldn't stat physical volume "/dev/dsk/c3t2d0":&lt;BR /&gt;Invalid argument&lt;BR /&gt;&lt;BR /&gt;/dev/vg00&lt;BR /&gt;/dev/dsk/c1t2d0&lt;BR /&gt;/dev/dsk/c2t2d0&lt;BR /&gt;&lt;BR /&gt;/dev/vgdata&lt;BR /&gt;/dev/dsk/c6t0d0&lt;BR /&gt;/dev/dsk/c6t0d2&lt;BR /&gt;/dev/dsk/c6t0d3&lt;BR /&gt;/dev/dsk/c6t0d4&lt;BR /&gt;/dev/dsk/c6t0d5&lt;BR /&gt;/dev/dsk/c6t0d6&lt;BR /&gt;/dev/dsk/c6t1d0&lt;BR /&gt;/dev/dsk/c6t1d1&lt;BR /&gt;/dev/dsk/c6t1d2&lt;BR /&gt;/dev/dsk/c6t1d3&lt;BR /&gt;/dev/dsk/c6t1d5&lt;BR /&gt;/dev/dsk/c6t1d6&lt;BR /&gt;/dev/dsk/c6t1d7&lt;BR /&gt;/dev/dsk/c8t0d0&lt;BR /&gt;/dev/dsk/c8t0d2&lt;BR /&gt;/dev/dsk/c8t0d3&lt;BR /&gt;/dev/dsk/c8t0d4&lt;BR /&gt;/dev/dsk/c8t0d5&lt;BR /&gt;/dev/dsk/c8t0d6&lt;BR /&gt;/dev/dsk/c8t1d0&lt;BR /&gt;/dev/dsk/c8t1d1&lt;BR /&gt;/dev/dsk/c8t1d2&lt;BR /&gt;/dev/dsk/c8t1d3&lt;BR /&gt;/dev/dsk/c8t1d5&lt;BR /&gt;/dev/dsk/c8t1d6&lt;BR /&gt;/dev/dsk/c8t1d7&lt;BR /&gt;&lt;BR /&gt;#&amp;gt; diskinfo /dev/rdsk/c8t1d7&lt;BR /&gt;SCSI describe of /dev/rdsk/c8t1d7:&lt;BR /&gt;             vendor: DGC     &lt;BR /&gt;         product id: CX600WDR5       &lt;BR /&gt;               type: direct access&lt;BR /&gt;               size: 36048128 Kbytes&lt;BR /&gt;   bytes per sector: 512&lt;BR /&gt;&lt;BR /&gt;#&amp;gt; diskinfo /dev/rdsk/c6t1d7&lt;BR /&gt;SCSI describe of /dev/rdsk/c6t1d7:&lt;BR /&gt;             vendor: DGC     &lt;BR /&gt;         product id: CX600WDR5       &lt;BR /&gt;               type: direct access&lt;BR /&gt;               size: 36048128 Kbytes&lt;BR /&gt;   bytes per sector: 512&lt;BR /&gt;&lt;BR /&gt;#&amp;gt; lssf /dev/rdsk/c8t1d7 /dev/rdsk/c6t1d7&lt;BR /&gt;sdisk card instance 8 SCSI target 1 SCSI LUN 7 section 0 at address 0/12/0/0.1.40.0.0.1.7 /dev/rdsk/c8t1d7&lt;BR /&gt;sdisk card instance 6 SCSI target 1 SCSI LUN 7 section 0 at address 0/12/0/0.1.13.0.0.1.7 /dev/rdsk/c6t1d7&lt;BR /&gt;&lt;BR /&gt;# ioscan on these two hwpath&lt;BR /&gt;Class     I  H/W Path               Driver   S/W State   H/W Type     Description&lt;BR /&gt;==================================================================================&lt;BR /&gt;disk     47  0/12/0/0.1.40.0.0.1.7  sdisk    CLAIMED     DEVICE       DGC     CX600WDR5&lt;BR /&gt;                                   /dev/dsk/c8t1d7   /dev/rdsk/c8t1d7&lt;BR /&gt;disk     17  0/12/0/0.1.13.0.0.1.7  sdisk    CLAIMED     DEVICE       DGC     CX600WDR5&lt;BR /&gt;                                   /dev/dsk/c6t1d7   /dev/rdsk/c6t1d7&lt;BR /&gt;&lt;BR /&gt;thanks in advance and sorry for this bad english (difficult to find the good words today) ;)&lt;BR /&gt;&lt;BR /&gt;please help&lt;/SNIP&gt;&lt;/SNIP&gt;</description>
      <pubDate>Wed, 20 Dec 2006 09:34:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lost-alternate-link/m-p/5019851#M608942</guid>
      <dc:creator>mobidyc</dc:creator>
      <dc:date>2006-12-20T09:34:59Z</dc:date>
    </item>
    <item>
      <title>Re: lost alternate link</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lost-alternate-link/m-p/5019852#M608943</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Have a look at this thread:&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1025994" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1025994&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Perhaps the path changed for some reason...did you try an ioscan -funC disk and then insf -e?</description>
      <pubDate>Wed, 20 Dec 2006 09:55:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lost-alternate-link/m-p/5019852#M608943</guid>
      <dc:creator>Coolmar</dc:creator>
      <dc:date>2006-12-20T09:55:17Z</dc:date>
    </item>
    <item>
      <title>Re: lost alternate link</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lost-alternate-link/m-p/5019853#M608944</link>
      <description>verify "/dev/dsk/c6t1d7" is still good&lt;BR /&gt;&lt;BR /&gt;maybe by&lt;BR /&gt;&lt;BR /&gt;dd if="/dev/dsk/c6t1d7" of=/dev/null</description>
      <pubDate>Wed, 20 Dec 2006 10:38:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lost-alternate-link/m-p/5019853#M608944</guid>
      <dc:creator>George Liu_4</dc:creator>
      <dc:date>2006-12-20T10:38:29Z</dc:date>
    </item>
    <item>
      <title>Re: lost alternate link</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lost-alternate-link/m-p/5019854#M608945</link>
      <description>Dear mobidyc:&lt;BR /&gt;&lt;BR /&gt;Odd things like this happens with disk arrays in a SAN environment so you SAN engineer should be consulted.  More then likely the device name changed do to some SAN reprovisioning.  And you'll have to do several things to correct this.&lt;BR /&gt;&lt;BR /&gt;a)  ioscan (* this will refresh the kernel *)&lt;BR /&gt;&lt;BR /&gt;b)  verify new ioscan  (* you're looking for a new device with icompletly listed device files.  It will only have one line instead of two or more.&lt;BR /&gt;&lt;BR /&gt;c)  insf -e (* note any errors and device name changes.  If you found a new device then this will automatically generate new device files.&lt;BR /&gt;&lt;BR /&gt;d) at this point, assuming you have a new device, save /etc/lvmtab and regenerate a new lvmtab with vgscan -a -v -c (* -c for every controller, -a for every device *)  Chances are you'll still get errors until you complete the next step.&lt;BR /&gt;&lt;BR /&gt;e)  vgreduce -f /dev/vg** (* force out the old device&lt;BR /&gt;&lt;BR /&gt;f)  vgextend (* add in the new device&lt;BR /&gt;&lt;BR /&gt;g) repeat d)</description>
      <pubDate>Wed, 20 Dec 2006 10:48:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lost-alternate-link/m-p/5019854#M608945</guid>
      <dc:creator>Michael Steele_2</dc:creator>
      <dc:date>2006-12-20T10:48:55Z</dc:date>
    </item>
    <item>
      <title>Re: lost alternate link</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lost-alternate-link/m-p/5019855#M608946</link>
      <description>If you use EMC NAviAgent, check the agent.config file to see if the tresspass is turned on. If not, update the file and bounce the agent daemon once. Cheers.</description>
      <pubDate>Wed, 20 Dec 2006 11:06:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lost-alternate-link/m-p/5019855#M608946</guid>
      <dc:creator>John Guster</dc:creator>
      <dc:date>2006-12-20T11:06:53Z</dc:date>
    </item>
    <item>
      <title>Re: lost alternate link</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lost-alternate-link/m-p/5019856#M608947</link>
      <description>Also, your primary link(path) should be the same path SAN guy assigned to it. Otherwise the paths will keep switching back force assuming you don't use powerpath of EMC.</description>
      <pubDate>Wed, 20 Dec 2006 11:14:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lost-alternate-link/m-p/5019856#M608947</guid>
      <dc:creator>John Guster</dc:creator>
      <dc:date>2006-12-20T11:14:51Z</dc:date>
    </item>
    <item>
      <title>Re: lost alternate link</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lost-alternate-link/m-p/5019857#M608948</link>
      <description>&lt;!--!*#--&gt;thanks all for your answers.&lt;BR /&gt;&lt;BR /&gt;George Liu:&lt;BR /&gt;/dev/dsk/c6t1d7 is also /dev/dsk/c8t1d7, no need to dd this dsk because c8t1d7 is OK&lt;BR /&gt;&lt;BR /&gt;Michael Steele:&lt;BR /&gt;i already ask my colleague SAN engineer, all is OK for him.&lt;BR /&gt;&lt;BR /&gt;a,b and c was already made with the same errors ;(&lt;BR /&gt;&lt;BR /&gt;for d, vgscan doen't know the -c flag.&lt;BR /&gt;no problem for recreating lvmtab:&lt;BR /&gt;#&amp;gt; vgscan -a -v  &lt;BR /&gt;Creating "/etc/lvmtab".&lt;BR /&gt;Couldn't stat physical volume "/dev/dsk/c3t2d0":&lt;BR /&gt;Invalid argument&lt;BR /&gt;&lt;BR /&gt;/dev/vg00&lt;BR /&gt;/dev/dsk/c1t2d0&lt;BR /&gt;/dev/dsk/c2t2d0&lt;BR /&gt;&lt;BR /&gt;/dev/vgdata&lt;BR /&gt;/dev/dsk/c6t0d0&lt;BR /&gt;/dev/dsk/c6t0d2&lt;BR /&gt;/dev/dsk/c6t0d3&lt;BR /&gt;/dev/dsk/c6t0d4&lt;BR /&gt;/dev/dsk/c6t0d5&lt;BR /&gt;/dev/dsk/c6t0d6&lt;BR /&gt;/dev/dsk/c6t1d0&lt;BR /&gt;/dev/dsk/c6t1d1&lt;BR /&gt;/dev/dsk/c6t1d2&lt;BR /&gt;/dev/dsk/c6t1d3&lt;BR /&gt;/dev/dsk/c6t1d5&lt;BR /&gt;/dev/dsk/c6t1d6&lt;BR /&gt;/dev/dsk/c6t1d7&lt;BR /&gt;/dev/dsk/c8t0d0&lt;BR /&gt;/dev/dsk/c8t0d2&lt;BR /&gt;/dev/dsk/c8t0d3&lt;BR /&gt;/dev/dsk/c8t0d4&lt;BR /&gt;/dev/dsk/c8t0d5&lt;BR /&gt;/dev/dsk/c8t0d6&lt;BR /&gt;/dev/dsk/c8t1d0&lt;BR /&gt;/dev/dsk/c8t1d1&lt;BR /&gt;/dev/dsk/c8t1d2&lt;BR /&gt;/dev/dsk/c8t1d3&lt;BR /&gt;/dev/dsk/c8t1d5&lt;BR /&gt;/dev/dsk/c8t1d6&lt;BR /&gt;/dev/dsk/c8t1d7&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Scan of Physical Volumes Complete.&lt;BR /&gt;*** LVMTAB has been created successfully.&lt;BR /&gt;*** If PV links are configured in the system.&lt;BR /&gt;*** Do the following to resync information on disk.&lt;BR /&gt;*** #1.   vgchange -a y &lt;BR /&gt;*** #2.  lvlnboot -R&lt;BR /&gt;&lt;BR /&gt;i try your e point now:&lt;BR /&gt;#&amp;gt; vgreduce -f /dev/vgdata&lt;BR /&gt;skip alternate link /dev/dsk/c6t0d5&lt;BR /&gt;skip alternate link /dev/dsk/c6t0d6&lt;BR /&gt;skip alternate link /dev/dsk/c6t1d0&lt;BR /&gt;skip alternate link /dev/dsk/c6t1d1&lt;BR /&gt;skip alternate link /dev/dsk/c6t1d2&lt;BR /&gt;vgreduce: Couldn't query physical volume "/dev/dsk/c6t1d7":&lt;BR /&gt;The specified path does not correspond to physical volume attached to &lt;BR /&gt;this volume group&lt;BR /&gt;skip alternate link /dev/dsk/c8t0d0&lt;BR /&gt;skip alternate link /dev/dsk/c8t0d2&lt;BR /&gt;skip alternate link /dev/dsk/c8t0d3&lt;BR /&gt;skip alternate link /dev/dsk/c8t0d4&lt;BR /&gt;skip alternate link /dev/dsk/c8t1d3&lt;BR /&gt;skip alternate link /dev/dsk/c8t1d5&lt;BR /&gt;skip alternate link /dev/dsk/c8t1d6&lt;BR /&gt;&lt;BR /&gt;at this point, c6t1d7 is still in the VG&lt;BR /&gt;&lt;BR /&gt;repeat the d point give me the same output...with c6t1d7 again&lt;BR /&gt;&lt;BR /&gt;John Guster:&lt;BR /&gt;AutoTrespass is activated&lt;BR /&gt;#&amp;gt; grep AutoTrespass /opt/Navisphere/bin/agent.config&lt;BR /&gt;OptionsSupported AutoTrespass&lt;BR /&gt;&lt;BR /&gt;Coolmar:&lt;BR /&gt;i'm going to read your link</description>
      <pubDate>Wed, 20 Dec 2006 11:38:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lost-alternate-link/m-p/5019857#M608948</guid>
      <dc:creator>mobidyc</dc:creator>
      <dc:date>2006-12-20T11:38:18Z</dc:date>
    </item>
    <item>
      <title>Re: lost alternate link</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lost-alternate-link/m-p/5019858#M608949</link>
      <description>&lt;!--!*#--&gt;problem solved.&lt;BR /&gt;&lt;BR /&gt;#&amp;gt; vgreduce -l vgdata /dev/dsk/c6t1d7&lt;BR /&gt;Volume group "vgdata" has been successfully reduced.&lt;BR /&gt;Volume Group configuration for /dev/vgdata has been saved in /etc/lvmconf/vgdata.conf&lt;BR /&gt;&lt;BR /&gt;#&amp;gt; vgextend vgdata /dev/dsk/c6t1d7   &lt;BR /&gt;Volume group "vgdata" has been successfully extended.&lt;BR /&gt;Volume Group configuration for /dev/vgdata has been saved in /etc/lvmconf/vgdata.conf&lt;BR /&gt;&lt;BR /&gt;#&amp;gt; vgdisplay -v vgdata&lt;BR /&gt;&lt;BR /&gt;&lt;SNIP&gt;&lt;BR /&gt;   PV Name                     /dev/dsk/c8t1d7&lt;BR /&gt;   PV Name                     /dev/dsk/c6t1d7  Alternate Link&lt;BR /&gt;   PV Status                   available                &lt;BR /&gt;   Total PE                    137     &lt;BR /&gt;   Free PE                     97      &lt;BR /&gt;   Autoswitch                  On       &lt;BR /&gt;&lt;BR /&gt;all seems OK now&lt;BR /&gt;&lt;BR /&gt;thanks all for your help.&lt;/SNIP&gt;</description>
      <pubDate>Wed, 20 Dec 2006 11:43:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lost-alternate-link/m-p/5019858#M608949</guid>
      <dc:creator>mobidyc</dc:creator>
      <dc:date>2006-12-20T11:43:25Z</dc:date>
    </item>
    <item>
      <title>Re: lost alternate link</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lost-alternate-link/m-p/5019859#M608950</link>
      <description>Dear mobidyc:&lt;BR /&gt;&lt;BR /&gt;It seems most odd to me that c6t1d7 didn't have a device file renamed.  What exactly was the source of the problem?  A new lun id perhaps?  Its got to be associated to the SAN.</description>
      <pubDate>Wed, 20 Dec 2006 12:15:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lost-alternate-link/m-p/5019859#M608950</guid>
      <dc:creator>Michael Steele_2</dc:creator>
      <dc:date>2006-12-20T12:15:20Z</dc:date>
    </item>
  </channel>
</rss>

