<?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 Break mirrror with stale extents?? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/break-mirrror-with-stale-extents/m-p/4798964#M534604</link>
    <description>Hi there!&lt;BR /&gt;&lt;BR /&gt;I am using 11.23, and I would like to break the mirror of a logical volume, but there are some stale extents on that logical volume, and unfortunately the lvsync command is missing from /usr/sbin. Can I still go ahead and use lvreduce -m 0 /dev/vg05/lvol4 ?&lt;BR /&gt;&lt;BR /&gt;Please help&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Fernando</description>
    <pubDate>Wed, 15 Jun 2011 10:45:49 GMT</pubDate>
    <dc:creator>NDO</dc:creator>
    <dc:date>2011-06-15T10:45:49Z</dc:date>
    <item>
      <title>Break mirrror with stale extents??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/break-mirrror-with-stale-extents/m-p/4798964#M534604</link>
      <description>Hi there!&lt;BR /&gt;&lt;BR /&gt;I am using 11.23, and I would like to break the mirror of a logical volume, but there are some stale extents on that logical volume, and unfortunately the lvsync command is missing from /usr/sbin. Can I still go ahead and use lvreduce -m 0 /dev/vg05/lvol4 ?&lt;BR /&gt;&lt;BR /&gt;Please help&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Fernando</description>
      <pubDate>Wed, 15 Jun 2011 10:45:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/break-mirrror-with-stale-extents/m-p/4798964#M534604</guid>
      <dc:creator>NDO</dc:creator>
      <dc:date>2011-06-15T10:45:49Z</dc:date>
    </item>
    <item>
      <title>Re: Break mirrror with stale extents??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/break-mirrror-with-stale-extents/m-p/4798965#M534605</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;/usr/sbin/lvreduce [-A autobackup] -m mirror_copies lv_path [pv_path ...]&lt;BR /&gt;&lt;BR /&gt;If optional pv_path arguments are specified,&lt;BR /&gt;the mirror copies are deallocated from the&lt;BR /&gt;specified physical volumes.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# lvremove -m 0 /dev/vg05/lvol4 /dev/dsk/cxtydz&lt;BR /&gt;&lt;BR /&gt;rgs,</description>
      <pubDate>Wed, 15 Jun 2011 11:19:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/break-mirrror-with-stale-extents/m-p/4798965#M534605</guid>
      <dc:creator>rariasn</dc:creator>
      <dc:date>2011-06-15T11:19:05Z</dc:date>
    </item>
    <item>
      <title>Re: Break mirrror with stale extents??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/break-mirrror-with-stale-extents/m-p/4798966#M534606</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;what about the stale extents??&lt;BR /&gt;&lt;BR /&gt;what is wrong with these sequence of commands:&lt;BR /&gt;lvreduce â  m 0 /dev/vg05/lvol4 /dev/dsk/c24t0d1&lt;BR /&gt;lvdisplay â  v /dev/vg05/lvol4&lt;BR /&gt;vgreduce /dev/vg05 /dev/dsk/c24t0d1&lt;BR /&gt;pvremove  /dev/rdsk/c24t0d1&lt;BR /&gt;&lt;BR /&gt;But again: would these cause me problems because of STALE EXTENTS?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Fernando</description>
      <pubDate>Wed, 15 Jun 2011 11:22:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/break-mirrror-with-stale-extents/m-p/4798966#M534606</guid>
      <dc:creator>NDO</dc:creator>
      <dc:date>2011-06-15T11:22:44Z</dc:date>
    </item>
    <item>
      <title>Re: Break mirrror with stale extents??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/break-mirrror-with-stale-extents/m-p/4798967#M534607</link>
      <description>Hi Fernando:&lt;BR /&gt;&lt;BR /&gt;Posible bad disk&lt;BR /&gt;&lt;BR /&gt;Verify than the disk is claimed&lt;BR /&gt;# ioscan -fnC disk | grep c24t0d1&lt;BR /&gt;&lt;BR /&gt;# lvreduce -m 0 /dev/vg05/lvol4 /dev/dsk/c24t0d1&lt;BR /&gt;# lvdisplay -v /dev/vg05/lvol4&lt;BR /&gt;# vgreduce /dev/vg05 /dev/dsk/c24t0d1&lt;BR /&gt;# ioscan -fnC disk | grep c24t0d1&lt;BR /&gt;# pvremove /dev/rdsk/c24t0d1&lt;BR /&gt;&lt;BR /&gt;rgs,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 15 Jun 2011 11:32:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/break-mirrror-with-stale-extents/m-p/4798967#M534607</guid>
      <dc:creator>rariasn</dc:creator>
      <dc:date>2011-06-15T11:32:32Z</dc:date>
    </item>
    <item>
      <title>Re: Break mirrror with stale extents??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/break-mirrror-with-stale-extents/m-p/4798968#M534608</link>
      <description>Hello Fernando,&lt;BR /&gt;&lt;BR /&gt;We need to specify  the disk name along with lvreduce command to remove the lvol from that particular disk ; #lvreduce -m 0 /dev/vg05/lvol4 /dev/dsk/cxtydz .The command "lvreduce -m 0 /dev/vg05/lvol4" may fail if the disk is not accessable . In that case we could use pv_key to remove lvol from failed disk.&lt;BR /&gt;Use #lvdisplay -v -k /dev/vg05/lvol4 to find the pv_key (find the disk no which has stale extents) and use the following command;&lt;BR /&gt;&lt;BR /&gt;#lvreduce -m 0 -A n  -k /dev/vg05/lvol4 pv_key&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;George</description>
      <pubDate>Wed, 15 Jun 2011 12:35:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/break-mirrror-with-stale-extents/m-p/4798968#M534608</guid>
      <dc:creator>georgek_1</dc:creator>
      <dc:date>2011-06-15T12:35:25Z</dc:date>
    </item>
    <item>
      <title>Re: Break mirrror with stale extents??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/break-mirrror-with-stale-extents/m-p/4798969#M534609</link>
      <description>&amp;gt; unfortunately the lvsync command is missing from /usr/sbin&lt;BR /&gt; &lt;BR /&gt;How about vgsync? If these two are missing from /usr/sbin (and also missing from /sbin) then you may not have Mirror/UX installed. Mirror/UX is actually a single executable file with about two dozen hard links (one executable, 24 different names). If you have Mirror/UX then the link count will be about 33. If you do have Mirror/UX, then just replace the missing link(s) like this:&lt;BR /&gt; &lt;BR /&gt;ln /usr/sbin/vgdisplay /usr/sbin/lvsync&lt;BR /&gt;ln /usr/sbin/vgdisplay /usr/sbin/vgsync&lt;BR /&gt; &lt;BR /&gt;NOTE: If you don't have Mirror/UX installed, these commands will fail along with lvreduce -m or lvextend -m.</description>
      <pubDate>Wed, 15 Jun 2011 13:22:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/break-mirrror-with-stale-extents/m-p/4798969#M534609</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2011-06-15T13:22:43Z</dc:date>
    </item>
    <item>
      <title>Re: Break mirrror with stale extents??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/break-mirrror-with-stale-extents/m-p/4798970#M534610</link>
      <description>Hi I will be installing Mirrordisk/UX soon.&lt;BR /&gt;&lt;BR /&gt;But I dont understand very well how to find the pv_key, please can you clarify:&lt;BR /&gt;The o/p of lvdisplay in that particular case is:&lt;BR /&gt;--- Logical volumes ---&lt;BR /&gt;LV Name                     /dev/vg05/lvol4&lt;BR /&gt;VG Name                     /dev/vg05&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)            400000&lt;BR /&gt;Current LE                  25000&lt;BR /&gt;Allocated PE                50000&lt;BR /&gt;Stripes                     0&lt;BR /&gt;Stripe Size (Kbytes)        0&lt;BR /&gt;Bad block                   on&lt;BR /&gt;Allocation                  PVG-strict&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/c4t0d1         1489      1489&lt;BR /&gt;   /dev/dsk/c4t0d2         23511     23511&lt;BR /&gt;   /dev/dsk/c24t0d1        25000     25000&lt;BR /&gt;&lt;BR /&gt;   --- Logical extents ---&lt;BR /&gt;   LE    PV1                     PE1   Status 1 PV2                     PE2   Status 2&lt;BR /&gt;   00000 /dev/dsk/c4t0d1         62502 current  /dev/dsk/c24t0d1        17068 current&lt;BR /&gt;   00001 /dev/dsk/c4t0d1         62503 current  /dev/dsk/c24t0d1        17069 current&lt;BR /&gt;   00002 /dev/dsk/c4t0d1         62504 current  /dev/dsk/c24t0d1        17070 current&lt;BR /&gt;   00003 /dev/dsk/c4t0d1         62505 current  /dev/dsk/c24t0d1        17071 current&lt;BR /&gt;   00004 /dev/dsk/c4t0d1         62506 current  /dev/dsk/c24t0d1        17072 current&lt;BR /&gt;   00005 /dev/dsk/c4t0d1         62507 current  /dev/dsk/c24t0d1        17073 current&lt;BR /&gt;   00006 /dev/dsk/c4t0d1         62508 current  /dev/dsk/c24t0d1        17074 current&lt;BR /&gt;   00007 /dev/dsk/c4t0d1         62509 current  /dev/dsk/c24t0d1        17075 current&lt;BR /&gt;   00008 /dev/dsk/c4t0d1         62510 current  /dev/dsk/c24t0d1        17076 current&lt;BR /&gt;01484 /dev/dsk/c4t0d1         63986 current  /dev/dsk/c24t0d1        18552 current&lt;BR /&gt;   01485 /dev/dsk/c4t0d1         63987 current  /dev/dsk/c24t0d1        18553 current&lt;BR /&gt;   01486 /dev/dsk/c4t0d1         63988 current  /dev/dsk/c24t0d1        18554 current&lt;BR /&gt;   01487 /dev/dsk/c4t0d1         63989 current  /dev/dsk/c24t0d1        18555 current&lt;BR /&gt;   01488 /dev/dsk/c4t0d1         63990 current  /dev/dsk/c24t0d1        18556 current&lt;BR /&gt;   01489 /dev/dsk/c4t0d2         00000 stale    /dev/dsk/c24t0d1        18557 current&lt;BR /&gt;   01490 /dev/dsk/c4t0d2         00001 stale    /dev/dsk/c24t0d1        18558 current&lt;BR /&gt;   01491 /dev/dsk/c4t0d2         00002 stale    /dev/dsk/c24t0d1        18559 current&lt;BR /&gt;   01492 /dev/dsk/c4t0d2         00003 stale    /dev/dsk/c24t0d1        18560 current&lt;BR /&gt;   01493 /dev/dsk/c4t0d2         00004 stale    /dev/dsk/c24t0d1        18561 current&lt;BR /&gt;   01494 /dev/dsk/c4t0d2         00005 stale    /dev/dsk/c24t0d1        18562 current&lt;BR /&gt;   01495 /dev/dsk/c4t0d2         00006 stale    /dev/dsk/c24t0d1        18563 current&lt;BR /&gt;   01496 /dev/dsk/c4t0d2         00007 stale    /dev/dsk/c24t0d1        18564 current&lt;BR /&gt;   01497 /dev/dsk/c4t0d2         00008 stale    /dev/dsk/c24t0d1        18565 current&lt;BR /&gt;   01498 /dev/dsk/c4t0d2         00009 stale    /dev/dsk/c24t0d1        18566 current&lt;BR /&gt;   01499 /dev/dsk/c4t0d2         00010 stale    /dev/dsk/c24t0d1        18567 current&lt;BR /&gt;   01500 /dev/dsk/c4t0d2         00011 stale    /dev/dsk/c24t0d1        18568 current&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Please can you clarify?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Fernando</description>
      <pubDate>Fri, 17 Jun 2011 05:15:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/break-mirrror-with-stale-extents/m-p/4798970#M534610</guid>
      <dc:creator>NDO</dc:creator>
      <dc:date>2011-06-17T05:15:49Z</dc:date>
    </item>
    <item>
      <title>Re: Break mirrror with stale extents??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/break-mirrror-with-stale-extents/m-p/4798971#M534611</link>
      <description>Use the online replacement procedure, e.g. with&lt;BR /&gt;&lt;BR /&gt;pvchange -a n /dev/dsk/c4t0d2&lt;BR /&gt;&lt;BR /&gt;and follow the document:&lt;BR /&gt;&lt;BR /&gt;When_Good_Disks_Go_Bad_WP&lt;BR /&gt;&lt;A href="http://bizsupport2.austin.hp.com/bc/docs/support/SupportManual/c01911837/c01911837.pdf" target="_blank"&gt;http://bizsupport2.austin.hp.com/bc/docs/support/SupportManual/c01911837/c01911837.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 17 Jun 2011 05:39:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/break-mirrror-with-stale-extents/m-p/4798971#M534611</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2011-06-17T05:39:54Z</dc:date>
    </item>
    <item>
      <title>Re: Break mirrror with stale extents??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/break-mirrror-with-stale-extents/m-p/4798972#M534612</link>
      <description>&amp;gt; Hi I will be installing Mirrordisk/UX soon.&lt;BR /&gt; &lt;BR /&gt;You already have disk mirroring installed. Otherwise, you would not have the PE1 and PE2 extents listed. To enable lvsync and vgsync, just use these 4 commands:&lt;BR /&gt; &lt;BR /&gt;ln /sbin/vgdisplay /sbin/lvsync&lt;BR /&gt;ln /sbin/vgdisplay /sbin/vgsync&lt;BR /&gt;ln /usr/sbin/vgdisplay /usr/sbin/lvsync&lt;BR /&gt;ln /usr/sbin/vgdisplay /usr/sbin/vgsync&lt;BR /&gt; &lt;BR /&gt;Then run: lvsync /dev/vg05/lvol4&lt;BR /&gt; &lt;BR /&gt;And the lvol should be synced. If you have a bad disk, then lvsunc will fail.</description>
      <pubDate>Fri, 17 Jun 2011 17:19:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/break-mirrror-with-stale-extents/m-p/4798972#M534612</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2011-06-17T17:19:00Z</dc:date>
    </item>
    <item>
      <title>Re: Break mirrror with stale extents??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/break-mirrror-with-stale-extents/m-p/4798973#M534613</link>
      <description>Bill!&lt;BR /&gt;&lt;BR /&gt;I dont have Mirro/UX installed, because its not there, when I do swlist | grep -i mirror.&lt;BR /&gt;&lt;BR /&gt;I was not present when that server was first setup, and I beleive the server was reinstalled. I am bit worried in doing ln.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Fernando</description>
      <pubDate>Sun, 19 Jun 2011 15:38:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/break-mirrror-with-stale-extents/m-p/4798973#M534613</guid>
      <dc:creator>NDO</dc:creator>
      <dc:date>2011-06-19T15:38:42Z</dc:date>
    </item>
    <item>
      <title>Re: Break mirrror with stale extents??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/break-mirrror-with-stale-extents/m-p/4798974#M534614</link>
      <description>&amp;gt; I dont have Mirro/UX installed, because its not there, when I do swlist | grep -i mirror.&lt;BR /&gt; &lt;BR /&gt;Use this command:&lt;BR /&gt; &lt;BR /&gt;swlist -l fileset |grep -i mirror&lt;BR /&gt; &lt;BR /&gt;Mirror/UX is not a standalone product but an add-on to LVM. You should see this:&lt;BR /&gt; &lt;BR /&gt;  LVM.LVM-MIRROR-RUN                    B.11.23        LVM Mirror&lt;BR /&gt; &lt;BR /&gt;&amp;gt; --- Logical extents ---&lt;BR /&gt;&amp;gt; LE PV1 PE1 Status 1 PV2 PE2 Status 2&lt;BR /&gt;&amp;gt; 00000 /dev/dsk/c4t0d1 62502 current /dev/dsk/c24t0d1 17068 current&lt;BR /&gt;...&lt;BR /&gt;&amp;gt; 01489 /dev/dsk/c4t0d2 00000 stale /dev/dsk/c24t0d1 18557 current&lt;BR /&gt; &lt;BR /&gt;For vg05, this volume has been mirrored. Otherwise, you would not see PV2 and PE2.&lt;BR /&gt; &lt;BR /&gt;&amp;gt; how to find the pv_key, please can you clarify:&lt;BR /&gt; &lt;BR /&gt;The man page for lvdisplay is helpful. Use -k as in:&lt;BR /&gt; &lt;BR /&gt;lvdisplay -vk /dev/vg05/lvol4</description>
      <pubDate>Sun, 19 Jun 2011 20:59:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/break-mirrror-with-stale-extents/m-p/4798974#M534614</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2011-06-19T20:59:57Z</dc:date>
    </item>
    <item>
      <title>Re: Break mirrror with stale extents??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/break-mirrror-with-stale-extents/m-p/4798975#M534615</link>
      <description>I think you should probably be looking as SAM.  I don't know if Mirror/UX updates SAM, I would think so, but SAM does have its own command set, is point and click menu driven with the tab key, and should offer some insight into your answers to questions that are more obvious and less confusing.</description>
      <pubDate>Mon, 20 Jun 2011 00:10:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/break-mirrror-with-stale-extents/m-p/4798975#M534615</guid>
      <dc:creator>Michael Steele_2</dc:creator>
      <dc:date>2011-06-20T00:10:59Z</dc:date>
    </item>
    <item>
      <title>Re: Break mirrror with stale extents??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/break-mirrror-with-stale-extents/m-p/4798976#M534616</link>
      <description>Hi &lt;BR /&gt;&lt;BR /&gt;Bill:&lt;BR /&gt;mcelrate[281]/ #swlist -l fileset |grep -i mirror&lt;BR /&gt;mcelrate[282]/ #&lt;BR /&gt;&lt;BR /&gt;So defenitely LVM mirroring is not there. So the system was reinstalled as I was told, and in the first setup LVM mirror was installed, perhaps thats the reason we have seen some LVs mirrored.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Fernando</description>
      <pubDate>Mon, 20 Jun 2011 05:01:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/break-mirrror-with-stale-extents/m-p/4798976#M534616</guid>
      <dc:creator>NDO</dc:creator>
      <dc:date>2011-06-20T05:01:01Z</dc:date>
    </item>
  </channel>
</rss>

