<?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: Lvm disk issue in root Vg in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-disk-issue-in-root-vg/m-p/5269371#M473036</link>
    <description>Hi Sreer,&lt;BR /&gt;&lt;BR /&gt;Please run the below command to reduce the mirrors using PV key.&lt;BR /&gt;&lt;BR /&gt;Format of the command&lt;BR /&gt;# lvreduce -m 0 -A n â  k /dev/vgname/lvname key&lt;BR /&gt;&lt;BR /&gt;Actual command for your senario&lt;BR /&gt;&lt;BR /&gt;# lvreduce -m 0 -A n â  k /dev/vgname/lvname 0&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Vivek Bhatia&lt;BR /&gt;</description>
    <pubDate>Tue, 11 Jan 2011 18:27:08 GMT</pubDate>
    <dc:creator>Vivek Bhatia</dc:creator>
    <dc:date>2011-01-11T18:27:08Z</dc:date>
    <item>
      <title>Lvm disk issue in root Vg</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-disk-issue-in-root-vg/m-p/5269370#M473035</link>
      <description>Hi Gurus,&lt;BR /&gt;&lt;BR /&gt;Iam facing a disk issue in my server.&lt;BR /&gt;&lt;BR /&gt;root@nfrx1:.../root # ioscan -fnC disk&lt;BR /&gt;Class     I  H/W Path      Driver S/W State   H/W Type     Description&lt;BR /&gt;======================================================================&lt;BR /&gt;disk      1  0/0/2/1.15.0  sdisk CLAIMED     DEVICE       HP 73.4GMAW3073NC&lt;BR /&gt;                          /dev/dsk/c3t15d0   /dev/rdsk/c3t15d0&lt;BR /&gt;root@nfrx1:.../root # uname -a&lt;BR /&gt;HP-UX nfrx1 B.11.11 U 9000/800 542760578 unlimited-user license&lt;BR /&gt;root@nfrx1:.../root #&lt;BR /&gt;&lt;BR /&gt;root@nfrx1:.../root # strings /etc/lvmtab&lt;BR /&gt;/dev/vg00&lt;BR /&gt;/dev/dsk/c1t15d0&lt;BR /&gt;/dev/dsk/c3t15d0&lt;BR /&gt;root@nfrx1:.../root #&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;root@nfrx1:.../root # vgdisplay&lt;BR /&gt;vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c1t15d0":&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                      10&lt;BR /&gt;Open LV                     10&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               4384&lt;BR /&gt;VGDA                        2&lt;BR /&gt;PE Size (Mbytes)            16&lt;BR /&gt;Total PE                    4374&lt;BR /&gt;Alloc PE                    1350&lt;BR /&gt;Free PE                     3024&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;root@nfrx1:.../root #&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;root@nfrx1:.../root #  vgreduce -f vg00 | more&lt;BR /&gt;Not all extents are free. i.e. Out of 4374 PEs, only 3024 are free.&lt;BR /&gt;You must free all PEs using lvreduce/lvremove before the PV can be removed.&lt;BR /&gt;Example: lvreduce -A n -m 0 /dev/vg01/lvol1.&lt;BR /&gt;         lvremove -A n /dev/vg01/lvol1&lt;BR /&gt;Here's the map of used PEs&lt;BR /&gt;&lt;BR /&gt;         --- Logical extents ---&lt;BR /&gt;         LE      LV              PE     Status 1&lt;BR /&gt;         0000    lvol1           0000     stale&lt;BR /&gt;         0001    lvol1           0001     stale&lt;BR /&gt;         0002    lvol1           0002     stale&lt;BR /&gt;         0003    lvol1           0003     stale&lt;BR /&gt;         0004    lvol1           0004     stale&lt;BR /&gt;         0005    lvol1           0005     stale&lt;BR /&gt;         0006    lvol1           0006     stale&lt;BR /&gt;         0007    lvol1           0007     stale&lt;BR /&gt;         0008    lvol1           0008     stale&lt;BR /&gt;         0009    lvol1           0009     stale&lt;BR /&gt;         0010    lvol1           0010     stale&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;this is the root vg  with 2 disks .&lt;BR /&gt;&lt;BR /&gt;but now only 1 disk is showin  in ioscan [pls see the given o/p]&lt;BR /&gt;&lt;BR /&gt;while checking with pv key option:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;root@nfrx1:.../root # lvdisplay -v -k /dev/vg00/lvol9  | more&lt;BR /&gt;lvdisplay: Warning: couldn't query physical volume "/dev/dsk/c1t15d0":&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/lvol9&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)            1024&lt;BR /&gt;Current LE                  64&lt;BR /&gt;Allocated PE                128&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;&lt;BR /&gt;   --- Distribution of logical volume ---&lt;BR /&gt;   PV Name            LE on PV  PE on PV&lt;BR /&gt;   /dev/dsk/c3t15d0   64        64&lt;BR /&gt;&lt;BR /&gt;   --- Logical extents ---&lt;BR /&gt;   LE    PV1                PE1   Status 1 PV2                PE2   Status 2&lt;BR /&gt;   00000      0             01186 stale         1             01186 current&lt;BR /&gt;   00001      0             01187 stale         1             01187 current&lt;BR /&gt;   00002      0             01188 stale         1             01188 current&lt;BR /&gt;   00003      0             01189 stale         1             01189 current&lt;BR /&gt;   00004      0             01190 stale         1             01190 current&lt;BR /&gt;   00005      0             01191 stale         1             01191 current&lt;BR /&gt;   00006      0             01192 stale         1             01192 current&lt;BR /&gt;   00007      0             01193 stale         1             01193 current&lt;BR /&gt;   00008      0             01194 stale         1             01194 current&lt;BR /&gt;   00009      0             01195 stale         1             01195 current&lt;BR /&gt;   00010      0             01196 stale         1             01196 current&lt;BR /&gt;   00011      0             01197 stale         1             01197 current&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;So here can I reduce lv using PV key?&lt;BR /&gt;&lt;BR /&gt;i never used pv keys...&lt;BR /&gt;&lt;BR /&gt;in this case which pv key i need  to reduce?&lt;BR /&gt;&lt;BR /&gt;after reducing all lvs using pv key,&lt;BR /&gt;&lt;BR /&gt;how I will reduce the disk from VG?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;root@nfrx1:.../root #  vgreduce /dev/vg00 /dev/dsk/c1t15d0&lt;BR /&gt;vgreduce: Couldn't query physical volume "/dev/dsk/c1t15d0":&lt;BR /&gt;The specified path does not correspond to physical volume attached to&lt;BR /&gt;this volume group&lt;BR /&gt;root@nfrx1:.../root #&lt;BR /&gt;&lt;BR /&gt;I tried the vgscan preview mode also.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;root@nfrx1:.../root # vgscan -v -p&lt;BR /&gt;vgscan: Warning: couldn't query physical volume "/dev/dsk/c1t15d0":&lt;BR /&gt;The specified path does not correspond to physical volume attached to&lt;BR /&gt;this volume group&lt;BR /&gt;vgscan: Warning: couldn't query all of the physical volumes.&lt;BR /&gt;vgscan: The physical volume "/dev/dsk/c3t15d0" is already recorded in the "/etc/lvmtab" file.&lt;BR /&gt;&lt;BR /&gt;vgscan:  has no correspoding valid raw device file under /dev/rdsk.&lt;BR /&gt;Verification of unique LVM disk id on each disk in the volume group&lt;BR /&gt;/dev/vg00 failed.&lt;BR /&gt;&lt;BR /&gt;root@nfrx1:.../root #&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;pls help me.&lt;BR /&gt;&lt;BR /&gt;Rgds&lt;BR /&gt;Sree&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 11 Jan 2011 18:16:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-disk-issue-in-root-vg/m-p/5269370#M473035</guid>
      <dc:creator>Sreer</dc:creator>
      <dc:date>2011-01-11T18:16:29Z</dc:date>
    </item>
    <item>
      <title>Re: Lvm disk issue in root Vg</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-disk-issue-in-root-vg/m-p/5269371#M473036</link>
      <description>Hi Sreer,&lt;BR /&gt;&lt;BR /&gt;Please run the below command to reduce the mirrors using PV key.&lt;BR /&gt;&lt;BR /&gt;Format of the command&lt;BR /&gt;# lvreduce -m 0 -A n â  k /dev/vgname/lvname key&lt;BR /&gt;&lt;BR /&gt;Actual command for your senario&lt;BR /&gt;&lt;BR /&gt;# lvreduce -m 0 -A n â  k /dev/vgname/lvname 0&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Vivek Bhatia&lt;BR /&gt;</description>
      <pubDate>Tue, 11 Jan 2011 18:27:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-disk-issue-in-root-vg/m-p/5269371#M473036</guid>
      <dc:creator>Vivek Bhatia</dc:creator>
      <dc:date>2011-01-11T18:27:08Z</dc:date>
    </item>
    <item>
      <title>Re: Lvm disk issue in root Vg</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-disk-issue-in-root-vg/m-p/5269372#M473037</link>
      <description>&lt;P&gt;Hi Sreer,&lt;BR /&gt;&lt;BR /&gt;As per output your c1t15d0 disk is missing and there is no root disk mirroring exist. currently your system is running on single disk.&lt;BR /&gt;&lt;BR /&gt;please check for hardware related event in &lt;BR /&gt;/var/opt/resmon/log/event.log&lt;BR /&gt;&lt;BR /&gt;also check physically is there any amber on the disk or Server?&lt;BR /&gt;&lt;BR /&gt;also check below thread for your reference.&lt;BR /&gt;&lt;A href="http://h30499.www3.hp.com/t5/System-Administration/Primary-root-disk-replace-without-reboot-HP-UX-11-11/m-p/3873809#M278864" target="_blank"&gt;http://h30499.www3.hp.com/t5/System-Administration/Primary-root-disk-replace-without-reboot-HP-UX-11-11/m-p/3873809#M278864&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Nov 2011 21:34:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-disk-issue-in-root-vg/m-p/5269372#M473037</guid>
      <dc:creator>sarfaraj ahmad</dc:creator>
      <dc:date>2011-11-10T21:34:45Z</dc:date>
    </item>
    <item>
      <title>Re: Lvm disk issue in root Vg</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-disk-issue-in-root-vg/m-p/5269373#M473038</link>
      <description>you can also check vgscan command to recreate lvmtab file.&lt;BR /&gt;&lt;BR /&gt;please check man page for detail.</description>
      <pubDate>Tue, 11 Jan 2011 18:34:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-disk-issue-in-root-vg/m-p/5269373#M473038</guid>
      <dc:creator>sarfaraj ahmad</dc:creator>
      <dc:date>2011-01-11T18:34:48Z</dc:date>
    </item>
    <item>
      <title>Re: Lvm disk issue in root Vg</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-disk-issue-in-root-vg/m-p/5269374#M473039</link>
      <description>The c1... disk is dead - replace it.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The path is written on the chassis (rp24xx/A-class server).&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;No need to reduce anything, see&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;</description>
      <pubDate>Tue, 11 Jan 2011 18:39:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-disk-issue-in-root-vg/m-p/5269374#M473039</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2011-01-11T18:39:21Z</dc:date>
    </item>
    <item>
      <title>Re: Lvm disk issue in root Vg</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-disk-issue-in-root-vg/m-p/5269375#M473040</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;From your output of LV mirror status, the pysical volume could be identified which has key 0 is failed&lt;BR /&gt;&amp;gt;&amp;gt; --- Logical extents --- &lt;BR /&gt;LE PV1 PE1 Status 1 PV2 PE2 Status 2 &lt;BR /&gt;00000 0 01186 stale 1 01186 current &lt;BR /&gt;00001 0 01187 stale 1 01187 current &lt;BR /&gt;00002 0 01188 stale 1 01188 current &lt;BR /&gt;00003 0 01189 stale 1 01189 current &lt;BR /&gt;00004 0 01190 stale 1 01190 current &lt;BR /&gt;00005 0 01191 stale 1 01191 current &lt;BR /&gt;00006 0 01192 stale 1 01192 current &lt;BR /&gt;00007 0 01193 stale 1 01193 current &lt;BR /&gt;00008 0 01194 stale 1 01194 current &lt;BR /&gt;00009 0 01195 stale 1 01195 current &lt;BR /&gt;00010 0 01196 stale 1 01196 current &lt;BR /&gt;00011 0 01197 stale 1 01197 current &lt;BR /&gt;&lt;BR /&gt;First reduce all the lv mirrors from the PV uing the key as follows:&lt;BR /&gt;#lvreduce -m 0 -k /dev/vg00/lvnname 0&lt;BR /&gt;&lt;BR /&gt;Then remove the PV. The physical volume key of a disk indicates its order in the volume group. The first physical volume Thhas the key 0, the second has the key 1, and so on. This need not be the order of appearance in /etc/lvmtab file although it is usually like that, at least when a volume group is initially created.&lt;BR /&gt;&lt;BR /&gt;So as per your /etc/lvmtab file&lt;BR /&gt;&lt;BR /&gt;&amp;gt;root@nfrx1:.../root # strings /etc/lvmtab &lt;BR /&gt;/dev/vg00 &lt;BR /&gt;/dev/dsk/c1t15d0 &lt;BR /&gt;/dev/dsk/c3t15d0 &lt;BR /&gt;&lt;BR /&gt;The disk /dev/dsk/c1t15d0 has key 0.&lt;BR /&gt;Reduce it from VG....&lt;BR /&gt;&lt;BR /&gt;Rgds....</description>
      <pubDate>Tue, 11 Jan 2011 18:54:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-disk-issue-in-root-vg/m-p/5269375#M473040</guid>
      <dc:creator>P Arumugavel</dc:creator>
      <dc:date>2011-01-11T18:54:59Z</dc:date>
    </item>
    <item>
      <title>Re: Lvm disk issue in root Vg</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-disk-issue-in-root-vg/m-p/5269376#M473041</link>
      <description>As said, if your system is patched to support LVM deactivation (pvchange -a n ...) there is NO need to reduce anything prior to the disk replacement - see the document!</description>
      <pubDate>Tue, 11 Jan 2011 18:59:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-disk-issue-in-root-vg/m-p/5269376#M473041</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2011-01-11T18:59:20Z</dc:date>
    </item>
    <item>
      <title>Re: Lvm disk issue in root Vg</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-disk-issue-in-root-vg/m-p/5269377#M473042</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Please find the answers for your questions below.&lt;BR /&gt;&lt;BR /&gt;Q. So here can I reduce lv using PV key?&lt;BR /&gt;**Yes you can&lt;BR /&gt;**lvreduce -m 0 -A n -k /dev/vg02/lvol1 0  (0 is the PV key number in your case)&lt;BR /&gt;&lt;BR /&gt;Q. in this case which pv key i need to reduce?&lt;BR /&gt;0 is PV key in your case&lt;BR /&gt;after reducing all lvs using pv key,&lt;BR /&gt;&lt;BR /&gt;Q.How I will reduce the disk from VG? &lt;BR /&gt;vgreduce vg00 /dev/dsk/c1t15d0&lt;BR /&gt;&lt;BR /&gt;If the disk is unavailable, the vgreduce command fails.You can still forcibly reduce it, but you must then rebuild the lvmtab.&lt;BR /&gt;&lt;BR /&gt;# vgreduce -f vgname&lt;BR /&gt;# mv /etc/lvmtab /etc/lvmtab.save&lt;BR /&gt;# vgscan â  v&lt;BR /&gt;&lt;BR /&gt;This completes the procedure for removing the disk from your LVM configuration. If the disk hardware allows it, you can remove it physically from the system.&lt;BR /&gt;&lt;BR /&gt;The five steps are:&lt;BR /&gt;1. Temporarily halt LVM attempts to access the disk.&lt;BR /&gt;# pvchange -a N c1t15d0&lt;BR /&gt;&lt;BR /&gt;2. Physically replace the faulty disk.&lt;BR /&gt;3. Configure LVM information on the disk.&lt;BR /&gt;# vgcfgrestore â  n vg00 c1t15d0 (If the vgreduce(without -f) was not successful).&lt;BR /&gt;&lt;BR /&gt;Use these commands of vgreduce was successful.&lt;BR /&gt;#vgextend vg00 /dev/dsk/c1t15d0 &lt;BR /&gt;#lvextend -m 1 (Mirror All the Logical Volumes.)&lt;BR /&gt;&lt;BR /&gt;4. Re-enable LVM access to the disk.&lt;BR /&gt;# pvchange -a y c1t15d0&lt;BR /&gt;&lt;BR /&gt;5. Restore any lost data onto the disk.&lt;BR /&gt;# vgchange -a y c1t15d0&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Vivek Bhatia&lt;BR /&gt;</description>
      <pubDate>Wed, 12 Jan 2011 03:02:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-disk-issue-in-root-vg/m-p/5269377#M473042</guid>
      <dc:creator>Vivek Bhatia</dc:creator>
      <dc:date>2011-01-12T03:02:03Z</dc:date>
    </item>
    <item>
      <title>Re: Lvm disk issue in root Vg</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-disk-issue-in-root-vg/m-p/5269378#M473043</link>
      <description>hep ! Vivek is right &lt;BR /&gt;&lt;BR /&gt;the command "*lvreduce -m 0 -A n -k /dev/vg02/lvol1 0 (0 is the PV key number in your case) "&lt;BR /&gt;is the break through in this situation.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Manix</description>
      <pubDate>Wed, 12 Jan 2011 06:54:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-disk-issue-in-root-vg/m-p/5269378#M473043</guid>
      <dc:creator>Manix</dc:creator>
      <dc:date>2011-01-12T06:54:18Z</dc:date>
    </item>
    <item>
      <title>Re: Lvm disk issue in root Vg</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-disk-issue-in-root-vg/m-p/5269379#M473044</link>
      <description>Looks like a Ghost Disk or Phanton Disk. You can get a ghost disk if it have failed before VG activation, possibly because the system was reboot after the failure. A Ghost Disk is ussually indicated by vgdisplay command reporting more current physical volumes than actives one. Looks your vgdisplay output:&lt;BR /&gt;Cur PV 2 (PVs belonging to vg00)&lt;BR /&gt;Act PV 1 (Pvs recorded in Kernel)&lt;BR /&gt;&lt;BR /&gt;In these situations where the disk was not available at boot time, or the disk has failed before VG activation (pvdisplay failed), the lvreduce command fails with an error that it could not query the physical volume. You can still remove the mirror copy, but you must specify the physical volume key rather than the name.&lt;BR /&gt;&lt;BR /&gt;The physical volume key of a disk indicates its order in the volume group. The first physical volume have the key 0 (zero), the second has the key 1, and so on. This need not be the order of appareance in /etc/lvmtab file although it is usually like that, at least when a volume group is initially created. You can use the physical volume key to address a physical volume that is not attached to the volume group. You can obtain the key using lvdisplay wiyh the -k option as follow:&lt;BR /&gt;&lt;BR /&gt;# lvdisplay -v -k /dev/vg00/lvol1&lt;BR /&gt;...&lt;BR /&gt;--- Logical extents ---&lt;BR /&gt;LE PV1 PE1 Status 1 PV2 PE2 Status 2&lt;BR /&gt;00000 0 01186 stale 1 01186 current&lt;BR /&gt;00001 0 01187 stale 1 01187 current&lt;BR /&gt;00002 0 01188 stale 1 01188 current&lt;BR /&gt;...&lt;BR /&gt;&lt;BR /&gt;Compare this output with the output of lvdisplay without -k, which you used to check the mirror status. The column that contained the failing disk now holds the key. In your case is 0. Then use this key with lvreduce command:&lt;BR /&gt;1.- If you have a single mirror copy:&lt;BR /&gt;#lvreduce -m 0 -A n -k /dev/vgname/lvname key&lt;BR /&gt;&lt;BR /&gt;2.- If you have two mirror copies:&lt;BR /&gt;#lvreduce -m 1 -A n -k /dev/vgname/lvname key&lt;BR /&gt;&lt;BR /&gt;Rgds.</description>
      <pubDate>Wed, 12 Jan 2011 09:50:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-disk-issue-in-root-vg/m-p/5269379#M473044</guid>
      <dc:creator>Jose Mosquera</dc:creator>
      <dc:date>2011-01-12T09:50:33Z</dc:date>
    </item>
    <item>
      <title>Re: Lvm disk issue in root Vg</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-disk-issue-in-root-vg/m-p/5269380#M473045</link>
      <description>Why making this so complicated?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Just replace the disk by following the steps mentioned in the when_good_disks_... document.</description>
      <pubDate>Wed, 12 Jan 2011 09:53:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-disk-issue-in-root-vg/m-p/5269380#M473045</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2011-01-12T09:53:04Z</dc:date>
    </item>
    <item>
      <title>Re: Lvm disk issue in root Vg</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-disk-issue-in-root-vg/m-p/5269381#M473046</link>
      <description>Hi All,&lt;BR /&gt;Thanks all of you for your excellent help !&lt;BR /&gt;&lt;BR /&gt;Since the OLR patches not installed in this 11.11 box.&lt;BR /&gt;&lt;BR /&gt;I done all manually.&lt;BR /&gt;&lt;BR /&gt;reduced the lvs using the failed pv-key.&lt;BR /&gt;&lt;BR /&gt;vgreduce -f vg00&lt;BR /&gt;&lt;BR /&gt;rm /etc/lvmtab&lt;BR /&gt;vgscan -v&lt;BR /&gt;&lt;BR /&gt;Then done the mirroring with the replaced disk.&lt;BR /&gt;&lt;BR /&gt;So the key facts were &lt;BR /&gt;&lt;BR /&gt;lvreduce using Pv key &amp;amp;&lt;BR /&gt;&lt;BR /&gt;vgscan&lt;BR /&gt;&lt;BR /&gt;after these two steps  I was able to solve the problem.&lt;BR /&gt;&lt;BR /&gt;rgds&lt;BR /&gt;&lt;BR /&gt;Sree&lt;BR /&gt;</description>
      <pubDate>Wed, 12 Jan 2011 15:39:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-disk-issue-in-root-vg/m-p/5269381#M473046</guid>
      <dc:creator>Sreer</dc:creator>
      <dc:date>2011-01-12T15:39:09Z</dc:date>
    </item>
  </channel>
</rss>

