<?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: Problem with the mirror in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-the-mirror/m-p/5215505#M465822</link>
    <description>Hello Johnson,&lt;BR /&gt;&lt;BR /&gt;thanks, but the vgrestore  reports the message:&lt;BR /&gt;Cannot restore Physical Volumes /dev/dsk/c5t1d0,&lt;BR /&gt;Detach the PV ..&lt;BR /&gt;The c5t1d0 is already successfully integrated into other LV as a mirror.&lt;BR /&gt;&lt;BR /&gt;Yours sincerely&lt;BR /&gt;K. Jakob</description>
    <pubDate>Mon, 21 Dec 2009 10:44:38 GMT</pubDate>
    <dc:creator>JakobK</dc:creator>
    <dc:date>2009-12-21T10:44:38Z</dc:date>
    <item>
      <title>Problem with the mirror</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-the-mirror/m-p/5215499#M465816</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;i changed the /dev/dsk/c5t1d0. After the changing, I have put on the mirror for all LV's again.&lt;BR /&gt;&lt;BR /&gt;If I liked to mirror LV /dev/vg00/lvora10g, I get in LE only one mirror stale.&lt;BR /&gt;00342 /dev/dsk/c4t1d0    02646 current  /dev/dsk/c5t1d0    00831 stale&lt;BR /&gt;The /dev/dsk/c5t1d0 is new disk.&lt;BR /&gt;I have run a fsck on /dev/vg00/lvora10g and there was okay. What can I do, to get this stale LE away?&lt;BR /&gt;Many thanks. &lt;BR /&gt;Yours sincerely&lt;BR /&gt;K. Jakob&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 21 Dec 2009 10:04:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-the-mirror/m-p/5215499#M465816</guid>
      <dc:creator>JakobK</dc:creator>
      <dc:date>2009-12-21T10:04:27Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with the mirror</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-the-mirror/m-p/5215500#M465817</link>
      <description>You can check the disk with "dd" in order to verify the disk. Maybe it is bad again? Another thing to try would be to un- and remirror this LVOL.</description>
      <pubDate>Mon, 21 Dec 2009 10:07:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-the-mirror/m-p/5215500#M465817</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2009-12-21T10:07:20Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with the mirror</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-the-mirror/m-p/5215501#M465818</link>
      <description>&amp;gt;&amp;gt;What can I do, to get this stale LE away?&amp;lt;&amp;lt;&lt;BR /&gt;&lt;BR /&gt;stale extends refer to sometimes "Bad disk" &lt;BR /&gt;if you can ioscan , diskinfo and dd a drive normally than there is no hardware problem&lt;BR /&gt;&lt;BR /&gt;Please check disk really bad by "dd"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;sample :-&lt;BR /&gt;&lt;BR /&gt;dd if=/dev/dsk/c2t1d0 of=/dev/null bs=128k&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 21 Dec 2009 10:22:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-the-mirror/m-p/5215501#M465818</guid>
      <dc:creator>Johnson Punniyalingam</dc:creator>
      <dc:date>2009-12-21T10:22:52Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with the mirror</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-the-mirror/m-p/5215502#M465819</link>
      <description>ITRC member since:  June 08, 2004&lt;BR /&gt;Last contribution date:  December 21, 2009&lt;BR /&gt;I have assigned points to   0  of   15  responses to my questions.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Finally can you assign points,?? its been very long time your never assign points. &lt;BR /&gt;&lt;BR /&gt;Its kind of giving thanks for your people support and respond your Question and problem&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 21 Dec 2009 10:25:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-the-mirror/m-p/5215502#M465819</guid>
      <dc:creator>Johnson Punniyalingam</dc:creator>
      <dc:date>2009-12-21T10:25:23Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with the mirror</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-the-mirror/m-p/5215503#M465820</link>
      <description>dd is okay. dd if=/dev/dsk/c5t1d0 of=/dev/null bs=64.&lt;BR /&gt;I mirrored the LV already several times, after beboot, after fsck, but the error is the same and on the same LE (00342 /dev/dsk/c4t1d0 current and the matching LE from c5t1d0 is stale).</description>
      <pubDate>Mon, 21 Dec 2009 10:30:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-the-mirror/m-p/5215503#M465820</guid>
      <dc:creator>JakobK</dc:creator>
      <dc:date>2009-12-21T10:30:12Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with the mirror</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-the-mirror/m-p/5215504#M465821</link>
      <description>so its confirmed - no hardware . so you can try  vgcfgrestore.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;vgcfgrestore -n /dev/vg00 /dev/rdsk/c5t1d0&lt;BR /&gt;vgchange -a y vg00&lt;BR /&gt;vgsync vg00</description>
      <pubDate>Mon, 21 Dec 2009 10:36:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-the-mirror/m-p/5215504#M465821</guid>
      <dc:creator>Johnson Punniyalingam</dc:creator>
      <dc:date>2009-12-21T10:36:11Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with the mirror</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-the-mirror/m-p/5215505#M465822</link>
      <description>Hello Johnson,&lt;BR /&gt;&lt;BR /&gt;thanks, but the vgrestore  reports the message:&lt;BR /&gt;Cannot restore Physical Volumes /dev/dsk/c5t1d0,&lt;BR /&gt;Detach the PV ..&lt;BR /&gt;The c5t1d0 is already successfully integrated into other LV as a mirror.&lt;BR /&gt;&lt;BR /&gt;Yours sincerely&lt;BR /&gt;K. Jakob</description>
      <pubDate>Mon, 21 Dec 2009 10:44:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-the-mirror/m-p/5215505#M465822</guid>
      <dc:creator>JakobK</dc:creator>
      <dc:date>2009-12-21T10:44:38Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with the mirror</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-the-mirror/m-p/5215506#M465823</link>
      <description>Hi &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;seems as if the source PE is not being read,&lt;BR /&gt;try using dd to read the source disk.&lt;BR /&gt;might be that LE is not having some filesystem data in that,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;sujit</description>
      <pubDate>Mon, 21 Dec 2009 11:14:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-the-mirror/m-p/5215506#M465823</guid>
      <dc:creator>sujit kumar singh</dc:creator>
      <dc:date>2009-12-21T11:14:21Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with the mirror</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-the-mirror/m-p/5215507#M465824</link>
      <description>Hello Sujit,&lt;BR /&gt;&lt;BR /&gt;i have make a dd on c4t1d0 source and dd on c5t1d0 target with bs=256k and i get the same result: 280028+1 records in and 280028+1 records out&lt;BR /&gt;&lt;BR /&gt;Regard Kati</description>
      <pubDate>Mon, 21 Dec 2009 13:07:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-the-mirror/m-p/5215507#M465824</guid>
      <dc:creator>JakobK</dc:creator>
      <dc:date>2009-12-21T13:07:12Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with the mirror</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-the-mirror/m-p/5215508#M465825</link>
      <description>&amp;gt;i have make a dd on c4t1d0 source and dd on c5t1d0 target with bs=256k and i get the same result: 280028+1 records in and 280028+1 records out&lt;BR /&gt;&lt;BR /&gt;instead of using another disk, you could test the drive by using /dev/null and /dev/zero like this:&lt;BR /&gt;&lt;BR /&gt;read test:&lt;BR /&gt;&lt;BR /&gt;# dd if=/dev/dsk/c5t1d0 of=/dev/null bs=256k&lt;BR /&gt;&lt;BR /&gt;write test:&lt;BR /&gt;&lt;BR /&gt;# dd if=/dev/zero of=/dev/dsk/c5t1d0 bs=256k&lt;BR /&gt;&lt;BR /&gt;this way you can eliminate other error sources and the test goes much faster.&lt;BR /&gt;</description>
      <pubDate>Tue, 22 Dec 2009 13:44:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-the-mirror/m-p/5215508#M465825</guid>
      <dc:creator>Viktor Balogh</dc:creator>
      <dc:date>2009-12-22T13:44:23Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with the mirror</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-the-mirror/m-p/5215509#M465826</link>
      <description>Hi Jakob,&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt; Cannot restore Physical Volumes /dev/dsk/c5t1d0&lt;BR /&gt;Need to do "pvchange -a n &lt;PV&gt;"&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt; same and on the same LE &lt;BR /&gt;If this is the case, why not perform write test as mentioned by Viktor. (You already did read test that came up fine). But that will destroy other mirrors.&lt;BR /&gt;&lt;BR /&gt;Another experiment that you can do is un-mirror all LVs in c5t1d0 and re-mirror them, changing ORDER of mirroring this time. So we can see if the same LE (xyz) gets stale or same LV (lvora10g) gets satle extent.&lt;BR /&gt;&lt;BR /&gt;As far as I know, sometimes in rare cases LVM looks as if stale extent is in disk1 (from lvdisplay) whereas it comes out to be in disk2 (not shown in lvdisplay).&lt;BR /&gt;&lt;BR /&gt;All the best..&lt;/PV&gt;</description>
      <pubDate>Tue, 22 Dec 2009 14:13:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-the-mirror/m-p/5215509#M465826</guid>
      <dc:creator>R.K. #</dc:creator>
      <dc:date>2009-12-22T14:13:02Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with the mirror</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-the-mirror/m-p/5215510#M465827</link>
      <description>Hi Again..&lt;BR /&gt;&lt;BR /&gt;Take an example of two mirrored disks c4t0d0 and c5t0d0..&lt;BR /&gt;&lt;BR /&gt;There are some stale PE in one disk c4t0d0, but it's not necessary that the disk c4t0d0 is faulty. It's only mean LVM can't sync the data in the mirrored PEs, the 'current' PE has the latest data, the 'stale' PE has old data. The 'current' PE maybe bad such as can't be read from it, then sync failed.&lt;BR /&gt;&lt;BR /&gt;To find the fault disk, we can use dd on each disk, if the disk has I/O error, it's the faulty disk.&lt;BR /&gt;&lt;BR /&gt;# dd if=/dev/dsk/c4t0d0 of=/dev/null bs=1024k    &lt;BR /&gt;# dd if=/dev/dsk/c5t0d0 of=/dev/null bs=1024k  &lt;BR /&gt;&lt;BR /&gt;And some hardware log such as EMS will show error message. In this case, Media failure happened in the 'current' disk.&lt;BR /&gt;Check /var/opt/resmon/log/event.log file: &lt;BR /&gt;&lt;BR /&gt;Now, we know that the disk c5t0d0 with 'currect' status is bad. If we use normal procedure to replace disk c5t0d0 in mirror, lvreduce c5t0d0 will fail because c4t0d0 has stale PE and c5t0d0 is current.&lt;BR /&gt;&lt;BR /&gt;There is a tool named lvunstale which can help us to change the stale state.&lt;BR /&gt;&lt;BR /&gt;It will switch which mirror copy is stale. Now, we can replace the bad disk as per normal process.&lt;BR /&gt;</description>
      <pubDate>Tue, 22 Dec 2009 14:22:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-the-mirror/m-p/5215510#M465827</guid>
      <dc:creator>R.K. #</dc:creator>
      <dc:date>2009-12-22T14:22:49Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with the mirror</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-the-mirror/m-p/5215511#M465828</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;i have reduce the mirror of all LV and then&lt;BR /&gt;i have lvextend the mirror new,started with lvora10g. The result was successful.&lt;BR /&gt;Before, i have made the dd of c4t0d0 and this dd did not come back and can't kill -9.&lt;BR /&gt;--&amp;gt; reboot and all okay.&lt;BR /&gt;&lt;BR /&gt;(only Infomation: on the oldsyslog i has found the mesg 037 vx_metaioerr on lvora10g)&lt;BR /&gt;&lt;BR /&gt;Many thanks. Merry Christmas!&lt;BR /&gt;&lt;BR /&gt;Yours sincerely&lt;BR /&gt;Kati</description>
      <pubDate>Tue, 22 Dec 2009 17:10:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-the-mirror/m-p/5215511#M465828</guid>
      <dc:creator>JakobK</dc:creator>
      <dc:date>2009-12-22T17:10:13Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with the mirror</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-the-mirror/m-p/5215512#M465829</link>
      <description>Thanks</description>
      <pubDate>Tue, 22 Dec 2009 17:10:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-the-mirror/m-p/5215512#M465829</guid>
      <dc:creator>JakobK</dc:creator>
      <dc:date>2009-12-22T17:10:54Z</dc:date>
    </item>
  </channel>
</rss>

