<?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: stale extents on mirror in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/stale-extents-on-mirror/m-p/2991312#M124440</link>
    <description>Thanks. yea, it was a VG01 not a root disk. &lt;BR /&gt;&lt;BR /&gt;It was dead so we did an online replacement.&lt;BR /&gt;&lt;BR /&gt;My only concern and the reason for my original Question would have been if it were a failing disk as opposed to a dead disk.&lt;BR /&gt;&lt;BR /&gt;I replace dead disks all the time without reboooting only doing:&lt;BR /&gt;&lt;BR /&gt;1) vgcfgrestore -n vg01 /dev/rdsk/c4t4d0 &lt;BR /&gt;2) vgchange -a y /dev/vg01 &lt;BR /&gt;3) vgsync vg01</description>
    <pubDate>Fri, 06 Jun 2003 18:44:53 GMT</pubDate>
    <dc:creator>Todd McDaniel_1</dc:creator>
    <dc:date>2003-06-06T18:44:53Z</dc:date>
    <item>
      <title>stale extents on mirror</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/stale-extents-on-mirror/m-p/2991302#M124430</link>
      <description>i just wanted to verify my concerns.&lt;BR /&gt;&lt;BR /&gt;I have a mirror that is failing. It has to LVs on it that I have unmounted already. &lt;BR /&gt;&lt;BR /&gt;I have done a:&lt;BR /&gt;&lt;BR /&gt;Lvdisplay ???v ???k /dev/vg01/crash (to find out mirror PV number) Which in my case is 3.&lt;BR /&gt;&lt;BR /&gt;chpcfas3-root:/root&lt;BR /&gt;# lvdisplay -v -k /dev/vg01/crash|pg&lt;BR /&gt;--- Logical volumes ---&lt;BR /&gt;LV Name                     /dev/vg01/crash&lt;BR /&gt;VG Name                     /dev/vg01&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)            4000&lt;BR /&gt;Current LE                  1000&lt;BR /&gt;Allocated PE                2000&lt;BR /&gt;Stripes                     0&lt;BR /&gt;Stripe Size (Kbytes)        0&lt;BR /&gt;Bad block                   on&lt;BR /&gt;Allocation                  strict&lt;BR /&gt;IO Timeout (Seconds)        default&lt;BR /&gt;   PV Name            LE on PV  PE on PV&lt;BR /&gt;   --- Distribution of logical volume ---&lt;BR /&gt;   PV Name            LE on PV  PE on PV&lt;BR /&gt;   /dev/dsk/c3t4d0    1000      1000&lt;BR /&gt;   /dev/dsk/c4t4d0    1000      1000&lt;BR /&gt;   --- Logical extents ---&lt;BR /&gt;   LE    PV1                PE1   Status 1 PV2                PE2   Status 2 &lt;BR /&gt;   00000      2             00500 current       3             00500 stale    &lt;BR /&gt;   00001      2             00501 current       3             00501 current  &lt;BR /&gt;   00002      2             00502 current       3             00502 current  &lt;BR /&gt;&lt;BR /&gt;that gives me the PV number to use for lvreduce right?&lt;BR /&gt;&lt;BR /&gt;Lvreduce ???m 3 /dev/vg01/crash /devdsk/c4t4d0&lt;BR /&gt;lvreduce -m /dev/vg01/openveritas /dev/dsk/c4t4d0&lt;BR /&gt;&lt;BR /&gt;So I can then change out the bad  disk and replace it. then do my:&lt;BR /&gt;&lt;BR /&gt;1) vgcfgrestore -n vg01 /dev/rdsk/c4t4d0 &lt;BR /&gt;&lt;BR /&gt;2) vgchange -a y /dev/vg01 &lt;BR /&gt;&lt;BR /&gt;3) vgsync vg01 &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;OR my other question is this. Can I just shutdown the box and then replace teh disk and reboot sinc it is a mirror? And it will come up on its own upon reboot?&lt;BR /&gt;</description>
      <pubDate>Fri, 06 Jun 2003 17:25:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/stale-extents-on-mirror/m-p/2991302#M124430</guid>
      <dc:creator>Todd McDaniel_1</dc:creator>
      <dc:date>2003-06-06T17:25:05Z</dc:date>
    </item>
    <item>
      <title>Re: stale extents on mirror</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/stale-extents-on-mirror/m-p/2991303#M124431</link>
      <description>Hi Todd,&lt;BR /&gt;&lt;BR /&gt;   You are better off shutting down the server and then replacing the disk and following the procedure that you can find in the ITRC Knowledge Base # KBAN00000347&lt;BR /&gt;&lt;BR /&gt;Follow the procedure for mirrored disk..</description>
      <pubDate>Fri, 06 Jun 2003 17:29:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/stale-extents-on-mirror/m-p/2991303#M124431</guid>
      <dc:creator>Marco Santerre</dc:creator>
      <dc:date>2003-06-06T17:29:11Z</dc:date>
    </item>
    <item>
      <title>Re: stale extents on mirror</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/stale-extents-on-mirror/m-p/2991304#M124432</link>
      <description>There are 2 ways of doing this ..&lt;BR /&gt;1) Without lvreduce.&lt;BR /&gt;2) With lvreduce.&lt;BR /&gt;You seem to want method 2) which is fine if you want to lvreduce the mirror copy first BUT you do not have to. The normal process is (ie method 1) , after you've confirmed which mirrored disk to replaced, shutdown your machine, replace your disk (keep scsi id the same), boot the machine up in single user mode.&lt;BR /&gt;ISL&amp;gt; hpux -is (;0)/stand/vmunix&lt;BR /&gt;# ioscan -fnC disk&lt;BR /&gt;==&amp;gt; Check to make sure the new disk is claimed.&lt;BR /&gt;# pvcreate -f /dev/rdsk/c4t4d0&lt;BR /&gt;# vgcfgrestore -n /dev/vg01 /dev/rdsk/c4t4d0&lt;BR /&gt;# vgchange -a y /dev/vg01&lt;BR /&gt;# vgsync /dev/vg01&lt;BR /&gt;# shutdown -r 0&lt;BR /&gt;&lt;BR /&gt;To answer you question on lvreducing with the key value .. the right syntax is ..&lt;BR /&gt;# lvreduce -m 0 -k /dev/vg01/crash 3&lt;BR /&gt;# lvreduce -m 0 -k /dev/vg01/openveritas 3&lt;BR /&gt;That is the key value goes to the end of the lvreduce command.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 06 Jun 2003 17:36:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/stale-extents-on-mirror/m-p/2991304#M124432</guid>
      <dc:creator>S.K. Chan</dc:creator>
      <dc:date>2003-06-06T17:36:40Z</dc:date>
    </item>
    <item>
      <title>Re: stale extents on mirror</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/stale-extents-on-mirror/m-p/2991305#M124433</link>
      <description>Thanks guys. If I need to, I think I will do what SK Chan has suggested that sounds good.&lt;BR /&gt;&lt;BR /&gt;The disk was in the process of dying the last 2 days. I think it is now actually dead... &lt;BR /&gt;&lt;BR /&gt;However, I say "if I need to" B/c I get nothing back from diskinfo except for an error message. We may go ahead and just replace the disk online since it looks totally dead now. I will verify with my CE before we do that though.&lt;BR /&gt;&lt;BR /&gt;thanks again.</description>
      <pubDate>Fri, 06 Jun 2003 17:43:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/stale-extents-on-mirror/m-p/2991305#M124433</guid>
      <dc:creator>Todd McDaniel_1</dc:creator>
      <dc:date>2003-06-06T17:43:01Z</dc:date>
    </item>
    <item>
      <title>Re: stale extents on mirror</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/stale-extents-on-mirror/m-p/2991306#M124434</link>
      <description>Thanks guys. If I need to, I think I will do what SK Chan has suggested that sounds good.&lt;BR /&gt;&lt;BR /&gt;The disk was in the process of dying the last 2 days. I think it is now actually dead... &lt;BR /&gt;&lt;BR /&gt;However, I say "if I need to" B/c I get nothing back from diskinfo except for an error message. We may go ahead and just replace the disk online since it looks totally dead now. I will verify with my CE before we do that though.&lt;BR /&gt;&lt;BR /&gt;thanks again.</description>
      <pubDate>Fri, 06 Jun 2003 17:43:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/stale-extents-on-mirror/m-p/2991306#M124434</guid>
      <dc:creator>Todd McDaniel_1</dc:creator>
      <dc:date>2003-06-06T17:43:21Z</dc:date>
    </item>
    <item>
      <title>Re: stale extents on mirror</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/stale-extents-on-mirror/m-p/2991307#M124435</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Few precautions&lt;BR /&gt;&lt;BR /&gt;1. If your autoboot flag is not set to "hpux -lq", then you will have to interact with ISL and boot with "hpux -lq". Verify it using the command&lt;BR /&gt;&lt;BR /&gt;lifcp /dev/dsk/c6t0d0:AUTO -&lt;BR /&gt;&lt;BR /&gt;2. You will still need to run mkboot commands after or before vgcfgrestore.&lt;BR /&gt;&lt;BR /&gt;vgcfgrestore -n vg00 /dev/rdsk/c6t0d0&lt;BR /&gt;vgchange -a y vg00&lt;BR /&gt;mkboot -l /dev/rdsk/c6t0d0&lt;BR /&gt;mkboot -a "hpux -lq" /dev/rdsk/c6t0d0&lt;BR /&gt;cd /usr/sbin/diag/lif&lt;BR /&gt;mkboot -vb updatediaglif2 -p ISL -p AUTO -p HPUX /dev/rdsk/c6t0d0&lt;BR /&gt;lvlnboot -b /dev/vg00/lvol1&lt;BR /&gt;lvlnboot -s /dev/vg00/lvol2&lt;BR /&gt;lvlnboot -r /dev/vg00/lvol3&lt;BR /&gt;lvlnboot -d /dev/vg00/lvol2&lt;BR /&gt;lvlnboot -R&lt;BR /&gt;vgsync&lt;BR /&gt;&lt;BR /&gt;-Sri&lt;BR /&gt;</description>
      <pubDate>Fri, 06 Jun 2003 18:11:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/stale-extents-on-mirror/m-p/2991307#M124435</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2003-06-06T18:11:59Z</dc:date>
    </item>
    <item>
      <title>Re: stale extents on mirror</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/stale-extents-on-mirror/m-p/2991308#M124436</link>
      <description>Just a word on Sridhars procedure... That is ONLY if you are replacing a VG00 boot disk, which you are not.  For VG01 you do not need to worry about 'pvcreate -B', the mkboot statements or the lvlnboot statements.</description>
      <pubDate>Fri, 06 Jun 2003 18:16:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/stale-extents-on-mirror/m-p/2991308#M124436</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2003-06-06T18:16:22Z</dc:date>
    </item>
    <item>
      <title>Re: stale extents on mirror</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/stale-extents-on-mirror/m-p/2991309#M124437</link>
      <description>If this is a hot-plug drive then there is no need to even shutdown. Just pull the bad drive, pop in the new one, and start at the vgcfgrestore.&lt;BR /&gt;&lt;BR /&gt;I haven't shut down a box for a disk replacement in well over five years.&lt;BR /&gt;</description>
      <pubDate>Fri, 06 Jun 2003 18:22:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/stale-extents-on-mirror/m-p/2991309#M124437</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2003-06-06T18:22:00Z</dc:date>
    </item>
    <item>
      <title>Re: stale extents on mirror</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/stale-extents-on-mirror/m-p/2991310#M124438</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Yes. Patrick is right. I somehow read it like vg00 mirror disk replacement procedure. Please discard my message.&lt;BR /&gt;&lt;BR /&gt;Thanks Patrick for waking me up from the day dreams.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Fri, 06 Jun 2003 18:30:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/stale-extents-on-mirror/m-p/2991310#M124438</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2003-06-06T18:30:53Z</dc:date>
    </item>
    <item>
      <title>Re: stale extents on mirror</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/stale-extents-on-mirror/m-p/2991311#M124439</link>
      <description>Sridhar,&lt;BR /&gt;&lt;BR /&gt;No problem.  You are entitled to day dreams.  After all it is Friday and you do have to put up with Jeff on a day-to-day basis.&lt;BR /&gt;&lt;BR /&gt;(Sorry Jeff, I couldn't resist.)</description>
      <pubDate>Fri, 06 Jun 2003 18:36:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/stale-extents-on-mirror/m-p/2991311#M124439</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2003-06-06T18:36:29Z</dc:date>
    </item>
    <item>
      <title>Re: stale extents on mirror</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/stale-extents-on-mirror/m-p/2991312#M124440</link>
      <description>Thanks. yea, it was a VG01 not a root disk. &lt;BR /&gt;&lt;BR /&gt;It was dead so we did an online replacement.&lt;BR /&gt;&lt;BR /&gt;My only concern and the reason for my original Question would have been if it were a failing disk as opposed to a dead disk.&lt;BR /&gt;&lt;BR /&gt;I replace dead disks all the time without reboooting only doing:&lt;BR /&gt;&lt;BR /&gt;1) vgcfgrestore -n vg01 /dev/rdsk/c4t4d0 &lt;BR /&gt;2) vgchange -a y /dev/vg01 &lt;BR /&gt;3) vgsync vg01</description>
      <pubDate>Fri, 06 Jun 2003 18:44:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/stale-extents-on-mirror/m-p/2991312#M124440</guid>
      <dc:creator>Todd McDaniel_1</dc:creator>
      <dc:date>2003-06-06T18:44:53Z</dc:date>
    </item>
  </channel>
</rss>

