<?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: Problems with mirrored logical volume in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-mirrored-logical-volume/m-p/2815288#M85390</link>
    <description>Hi Arnold,&lt;BR /&gt;&lt;BR /&gt;After replacing the bad disk, there is a procedure to follow to restore the mirrors. I  Do the following.&lt;BR /&gt;&lt;BR /&gt;Note the contents of lvlnboot -v&lt;BR /&gt;&lt;BR /&gt;#vgcfgrestore -n vg00 /dev/rdsk/c1t2d0&lt;BR /&gt;#vgchange -a y vg00&lt;BR /&gt;#mkboot /dev/dsk/c1t2d0&lt;BR /&gt;#mkboot -a "hpux -lq (;0)/stand/vmunix" /dev/dsk/c1t2d0&lt;BR /&gt;#cd /usr/sbin/diag/lif&lt;BR /&gt;#mkboot -vg updatediaglif2 -p ISL -p HPUX -p AUTO /dev/rdsk/c1t2d0&lt;BR /&gt;#vgsync&lt;BR /&gt;#lvlnboot -b /dev/vg00/lvol1&lt;BR /&gt;#lvlnboot -r /dev/vg00/lvol3&lt;BR /&gt;#lvlnboot -s /dev/vg00/lvol2&lt;BR /&gt;#lvlnboot -d /dev/vg00/lvol2&lt;BR /&gt;&lt;BR /&gt;Correct the above lvols from your old lvlnboot -v output.&lt;BR /&gt;&lt;BR /&gt;#lvlnboot -R&lt;BR /&gt;&lt;BR /&gt;-Sri&lt;BR /&gt;</description>
    <pubDate>Fri, 27 Sep 2002 19:38:36 GMT</pubDate>
    <dc:creator>Sridhar Bhaskarla</dc:creator>
    <dc:date>2002-09-27T19:38:36Z</dc:date>
    <item>
      <title>Problems with mirrored logical volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-mirrored-logical-volume/m-p/2815285#M85387</link>
      <description>I'm getting the following messages when I do a vgdisplay and lvldisplay. There was a bad disk that's been replaced on this mirrored root disk. Running HP11.00 on a L2000 server&lt;BR /&gt;&lt;BR /&gt;# vgdisplay -v vg00&lt;BR /&gt;vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c1t2d0":&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;--- Volume groups ---&lt;BR /&gt;VG Name                     /dev/vg00&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                      3      &lt;BR /&gt;Open LV                     3      &lt;BR /&gt;Max PV                      16     &lt;BR /&gt;Cur PV                      2      &lt;BR /&gt;Act PV                      1      &lt;BR /&gt;Max PE per PV               2500         &lt;BR /&gt;VGDA                        2   &lt;BR /&gt;PE Size (Mbytes)            4               &lt;BR /&gt;Total PE                    2169    &lt;BR /&gt;Alloc PE                    2169    &lt;BR /&gt;Free PE                     0       &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;# lvdisplay -v /dev/vg00/lvol3 | more&lt;BR /&gt;lvdisplay: Warning: couldn't query physical volume "/dev/dsk/c1t2d0":&lt;BR /&gt;The specified path does not correspond to physical volume attached to &lt;BR /&gt;this volume group&lt;BR /&gt;lvdisplay: Warning: couldn't query all of the physical volumes.&lt;BR /&gt;--- Logical volumes ---&lt;BR /&gt;LV Name                     /dev/vg00/lvol3&lt;BR /&gt;VG Name                     /dev/vg00&lt;BR /&gt;LV Permission               read/write   &lt;BR /&gt;LV Status                   available/stale           &lt;BR /&gt;Mirror copies               1            &lt;BR /&gt;Consistency Recovery        MWC                 &lt;BR /&gt;Schedule                    parallel     &lt;BR /&gt;LV Size (Mbytes)            6028            &lt;BR /&gt;Current LE                  1507      &lt;BR /&gt;Allocated PE                3014        &lt;BR /&gt;Stripes                     0       &lt;BR /&gt;Stripe Size (Kbytes)        0                   &lt;BR /&gt;Bad block                   off          &lt;BR /&gt;Allocation                  strict/contiguous         &lt;BR /&gt;IO Timeout (Seconds)        default             &lt;BR /&gt;&lt;BR /&gt;   --- Distribution of logical volume ---&lt;BR /&gt;   PV Name            LE on PV  PE on PV  &lt;BR /&gt;   /dev/dsk/c2t2d0    1507      1507      &lt;BR /&gt;&lt;BR /&gt;   --- Logical extents ---&lt;BR /&gt;   LE   PV1                PE1  Status 1 PV2                PE2  Status 2 &lt;BR /&gt;   0000 ???                0662 stale    /dev/dsk/c2t2d0    0662 current  &lt;BR /&gt;   0001 ???                0663 stale    /dev/dsk/c2t2d0    0663 current  &lt;BR /&gt;   0002 ???                0664 stale    /dev/dsk/c2t2d0    0664 current  &lt;BR /&gt;   0003 ???                0665 stale    /dev/dsk/c2t2d0    0665 current  &lt;BR /&gt;   0004 ???                0666 stale    /dev/dsk/c2t2d0    0666 current  &lt;BR /&gt;   0005 ???                0667 stale    /dev/dsk/c2t2d0    0667 current</description>
      <pubDate>Fri, 27 Sep 2002 19:27:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-mirrored-logical-volume/m-p/2815285#M85387</guid>
      <dc:creator>Arnold Ferrer</dc:creator>
      <dc:date>2002-09-27T19:27:49Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with mirrored logical volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-mirrored-logical-volume/m-p/2815286#M85388</link>
      <description>Try:&lt;BR /&gt;vgcfgrestore -v /dev/vg00 /dev/dsk/c1t2d0&lt;BR /&gt;vgchange -a y /dev/vg00&lt;BR /&gt;vgsync /dev/vg00&lt;BR /&gt;&lt;BR /&gt;This should restore the LVM config info to the disk.&lt;BR /&gt;&lt;BR /&gt;If the disk was a bootable miiror, you need to do the necessary mkboot and lvlnboot steps also to make it bootable.</description>
      <pubDate>Fri, 27 Sep 2002 19:33:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-mirrored-logical-volume/m-p/2815286#M85388</guid>
      <dc:creator>Tom Danzig</dc:creator>
      <dc:date>2002-09-27T19:33:27Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with mirrored logical volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-mirrored-logical-volume/m-p/2815287#M85389</link>
      <description>Error in last post:&lt;BR /&gt;&lt;BR /&gt;vgcfgrestore -v /dev/vg00 /dev/dsk/c1t2d0 &lt;BR /&gt;&lt;BR /&gt;should be&lt;BR /&gt;&lt;BR /&gt;vgcfgrestore -v /dev/vg00 /dev/rdsk/c1t2d0 &lt;BR /&gt;</description>
      <pubDate>Fri, 27 Sep 2002 19:34:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-mirrored-logical-volume/m-p/2815287#M85389</guid>
      <dc:creator>Tom Danzig</dc:creator>
      <dc:date>2002-09-27T19:34:24Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with mirrored logical volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-mirrored-logical-volume/m-p/2815288#M85390</link>
      <description>Hi Arnold,&lt;BR /&gt;&lt;BR /&gt;After replacing the bad disk, there is a procedure to follow to restore the mirrors. I  Do the following.&lt;BR /&gt;&lt;BR /&gt;Note the contents of lvlnboot -v&lt;BR /&gt;&lt;BR /&gt;#vgcfgrestore -n vg00 /dev/rdsk/c1t2d0&lt;BR /&gt;#vgchange -a y vg00&lt;BR /&gt;#mkboot /dev/dsk/c1t2d0&lt;BR /&gt;#mkboot -a "hpux -lq (;0)/stand/vmunix" /dev/dsk/c1t2d0&lt;BR /&gt;#cd /usr/sbin/diag/lif&lt;BR /&gt;#mkboot -vg updatediaglif2 -p ISL -p HPUX -p AUTO /dev/rdsk/c1t2d0&lt;BR /&gt;#vgsync&lt;BR /&gt;#lvlnboot -b /dev/vg00/lvol1&lt;BR /&gt;#lvlnboot -r /dev/vg00/lvol3&lt;BR /&gt;#lvlnboot -s /dev/vg00/lvol2&lt;BR /&gt;#lvlnboot -d /dev/vg00/lvol2&lt;BR /&gt;&lt;BR /&gt;Correct the above lvols from your old lvlnboot -v output.&lt;BR /&gt;&lt;BR /&gt;#lvlnboot -R&lt;BR /&gt;&lt;BR /&gt;-Sri&lt;BR /&gt;</description>
      <pubDate>Fri, 27 Sep 2002 19:38:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-mirrored-logical-volume/m-p/2815288#M85390</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2002-09-27T19:38:36Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with mirrored logical volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-mirrored-logical-volume/m-p/2815289#M85391</link>
      <description>Looks like your disk /dev/dsk/c1t2d0 has failed . &lt;BR /&gt;&lt;BR /&gt;Do an lvdisplay on other logical volumes on that disk . If they don't show any stale extents then the problem is only with your /dev/vg00/lvol3 .&lt;BR /&gt;&lt;BR /&gt;Do a diskinfo on that disk . Also do a pvdisplay on that disk . If both are succesful then your disk is alive  and you only have to do a vgcfgrestore as decrbed in the above post .&lt;BR /&gt;&lt;BR /&gt;But if not then you will have to replace the disk and resynx the VG onto it .&lt;BR /&gt;&lt;BR /&gt;Look for disk errors in dmesg or your syslog.log file and check for any disk errors.&lt;BR /&gt;&lt;BR /&gt;By guess is you have lost the PV .</description>
      <pubDate>Fri, 27 Sep 2002 19:43:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-mirrored-logical-volume/m-p/2815289#M85391</guid>
      <dc:creator>Ashwani Kashyap</dc:creator>
      <dc:date>2002-09-27T19:43:34Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with mirrored logical volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-mirrored-logical-volume/m-p/2815290#M85392</link>
      <description>Hi Arnold,&lt;BR /&gt;&lt;BR /&gt;Either you have a faulty disk at /dev/dsk/c1t2d0 or after replacing the disk, you have not rebuilt the mirror. If it is a faulty disk, replace the disk and then rebuild the mirror. If you have not rebuild the mirror, take a look at the doc below on how to do that,&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000062909815" target="_blank"&gt;http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000062909815&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regds&lt;BR /&gt;</description>
      <pubDate>Sat, 28 Sep 2002 13:30:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-mirrored-logical-volume/m-p/2815290#M85392</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2002-09-28T13:30:25Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with mirrored logical volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-mirrored-logical-volume/m-p/2815291#M85393</link>
      <description>Hi Arnold,&lt;BR /&gt;&lt;BR /&gt;I am curious to know that vgdisplay output shows Current PV 2 Active PV 1 .&lt;BR /&gt;&lt;BR /&gt;does diskinfo /dev/rdsk/c1t2d0 is normal . If not then disk is certainly bad. &lt;BR /&gt;&lt;BR /&gt;Try give strings /etc/lvmtab and see how may disks are part of vg00. Is it only two disks or more . If there are only two then certainly&lt;BR /&gt;/dev/rdsk/c1t2d0 has gone bad &amp;amp; the commands as suggested by Tom , Sri, Ashwani &amp;amp; Sanjay   will work .&lt;BR /&gt;&lt;BR /&gt;If there are three or more PV then Is there any logical volume spanned across three or  more PV . &lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Rajiv</description>
      <pubDate>Sat, 28 Sep 2002 21:40:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-mirrored-logical-volume/m-p/2815291#M85393</guid>
      <dc:creator>Rajiv Singhal</dc:creator>
      <dc:date>2002-09-28T21:40:45Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with mirrored logical volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-mirrored-logical-volume/m-p/2815292#M85394</link>
      <description>I just wanted to say, thanks for all the helpful replies.</description>
      <pubDate>Mon, 30 Sep 2002 14:04:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-mirrored-logical-volume/m-p/2815292#M85394</guid>
      <dc:creator>Arnold Ferrer</dc:creator>
      <dc:date>2002-09-30T14:04:55Z</dc:date>
    </item>
  </channel>
</rss>

