<?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: /etc/lvmtab file has wrong info.  How to fix? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-lvmtab-file-has-wrong-info-how-to-fix/m-p/4649128#M551024</link>
    <description>Here you go.  Thanks.&lt;BR /&gt;&lt;BR /&gt;# vgdisplay -v /dev/vg12&lt;BR /&gt;--- Volume groups ---&lt;BR /&gt;VG Name                     /dev/vg12&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                      1&lt;BR /&gt;Open LV                     1&lt;BR /&gt;Max PV                      32&lt;BR /&gt;Cur PV                      2&lt;BR /&gt;Act PV                      1&lt;BR /&gt;Max PE per PV               12800&lt;BR /&gt;VGDA                        2&lt;BR /&gt;PE Size (Mbytes)            8&lt;BR /&gt;Total PE                    127&lt;BR /&gt;Alloc PE                    127&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;   --- Logical volumes ---&lt;BR /&gt;   LV Name                     /dev/vg12/lvol1&lt;BR /&gt;   LV Status                   available/syncd&lt;BR /&gt;   LV Size (Mbytes)            1016&lt;BR /&gt;   Current LE                  127&lt;BR /&gt;   Allocated PE                127&lt;BR /&gt;   Used PV                     1&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;   --- Physical volumes ---&lt;BR /&gt;   PV Name                     /dev/dsk/c17t0d5&lt;BR /&gt;   PV Status                   available&lt;BR /&gt;   Total PE                    127&lt;BR /&gt;   Free PE                     0&lt;BR /&gt;   Autoswitch                  On&lt;BR /&gt;   Proactive Polling           On&lt;BR /&gt;&lt;BR /&gt;---------------&lt;BR /&gt;&lt;BR /&gt;# lvdisplay -v /dev/vg12/lvol1&lt;BR /&gt;--- Logical volumes ---&lt;BR /&gt;LV Name                     /dev/vg12/lvol1&lt;BR /&gt;VG Name                     /dev/vg12&lt;BR /&gt;LV Permission               read/write&lt;BR /&gt;LV Status                   available/syncd&lt;BR /&gt;Mirror copies               0&lt;BR /&gt;Consistency Recovery        MWC&lt;BR /&gt;Schedule                    parallel&lt;BR /&gt;LV Size (Mbytes)            1016&lt;BR /&gt;Current LE                  127&lt;BR /&gt;Allocated PE                127&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/c17t0d5   127       127&lt;BR /&gt;&lt;BR /&gt;   --- Logical extents ---&lt;BR /&gt;   LE    PV1                PE1   Status 1&lt;BR /&gt;   00000 /dev/dsk/c17t0d5   00000 current&lt;BR /&gt;   00001 /dev/dsk/c17t0d5   00001 current&lt;BR /&gt;   00002 /dev/dsk/c17t0d5   00002 current&lt;BR /&gt;   00003 /dev/dsk/c17t0d5   00003 current&lt;BR /&gt;   00004 /dev/dsk/c17t0d5   00004 current&lt;BR /&gt;   00005 /dev/dsk/c17t0d5   00005 current&lt;BR /&gt;   00006 /dev/dsk/c17t0d5   00006 current&lt;BR /&gt;   00007 /dev/dsk/c17t0d5   00007 current . . .&lt;BR /&gt;&lt;BR /&gt;---------&lt;BR /&gt;&lt;BR /&gt;:# strings /etc/lvmtab&lt;BR /&gt;/dev/vg00&lt;BR /&gt;ST5DE&lt;BR /&gt;/dev/dsk/c1t2d0&lt;BR /&gt;/dev/dsk/c2t2d0&lt;BR /&gt;/dev/vg12&lt;BR /&gt;hD|e&lt;BR /&gt;/dev/dsk/c17t0d5&lt;BR /&gt;/dev/vg11&lt;BR /&gt;/dev/dsk/c17t1d4&lt;BR /&gt;/dev/vg06&lt;BR /&gt;/dev/dsk/c17t0d1&lt;BR /&gt;/dev/vg07&lt;BR /&gt;/dev/dsk/c17t1d1&lt;BR /&gt;/dev/dsk/c17t1d3&lt;BR /&gt;/dev/dsk/c17t0d2&lt;BR /&gt;/dev/dsk/c17t1d2&lt;BR /&gt;/dev/dsk/c17t1d0&lt;BR /&gt;/dev/vg08&lt;BR /&gt;hBtZ&lt;BR /&gt;/dev/dsk/c17t0d3&lt;BR /&gt;/dev/vg05&lt;BR /&gt;ST5D&lt;BR /&gt;/dev/dsk/c17t0d0&lt;BR /&gt;/dev/vg13&lt;BR /&gt;ST5E58&lt;BR /&gt;/dev/dsk/c17t0d7&lt;BR /&gt;/dev/vg09&lt;BR /&gt;ST5J&lt;BR /&gt;/dev/dsk/c17t0d4&lt;BR /&gt;&lt;BR /&gt;-----------&lt;BR /&gt;&lt;BR /&gt;This is the one to check:&lt;BR /&gt;&lt;BR /&gt;# strings vg12.conf&lt;BR /&gt;CONFIG01&lt;BR /&gt;/dev/vg12&lt;BR /&gt;/dev/rdsk/c12t0d1&lt;BR /&gt;/dev/rdsk/c17t0d6&lt;BR /&gt;LVMREC01E&lt;BR /&gt;hD|e7E&lt;BR /&gt;hD|e&lt;BR /&gt;LVMREC01&lt;BR /&gt;ST5L&lt;BR /&gt;hD|e&lt;BR /&gt;hD|e&lt;BR /&gt;hD|e7&lt;BR /&gt;ST5L&lt;BR /&gt;VGDA0001&lt;BR /&gt;k&amp;gt;c&amp;lt;&lt;BR /&gt;VGSA0001L</description>
    <pubDate>Wed, 23 Jun 2010 18:03:38 GMT</pubDate>
    <dc:creator>Johns Manville</dc:creator>
    <dc:date>2010-06-23T18:03:38Z</dc:date>
    <item>
      <title>/etc/lvmtab file has wrong info.  How to fix?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-lvmtab-file-has-wrong-info-how-to-fix/m-p/4649108#M551004</link>
      <description>I was moving file systems from EVA1 to EVA2 via the mirroring process.  This worked great.&lt;BR /&gt;&lt;BR /&gt;However, one of the disks on the SAN was deleted while it was still attached to the volume group vg12.  At least this is what I believe happened.&lt;BR /&gt;&lt;BR /&gt;When I do a vgdisplay -v /dev/vg12, I get the following:&lt;BR /&gt;&lt;BR /&gt;vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c17t0d6":&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/vg12&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                      1&lt;BR /&gt;Open LV                     1&lt;BR /&gt;Max PV                      32&lt;BR /&gt;Cur PV                      2&lt;BR /&gt;Act PV                      1&lt;BR /&gt;Max PE per PV               12800&lt;BR /&gt;VGDA                        2&lt;BR /&gt;PE Size (Mbytes)            8&lt;BR /&gt;Total PE                    127&lt;BR /&gt;Alloc PE                    127&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;vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c17t0d6":&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;   --- Logical volumes ---&lt;BR /&gt;   LV Name                     /dev/vg12/lvol1&lt;BR /&gt;   LV Status                   available/stale&lt;BR /&gt;   LV Size (Mbytes)            1016&lt;BR /&gt;   Current LE                  127&lt;BR /&gt;   Allocated PE                254&lt;BR /&gt;   Used PV                     1&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;   --- Physical volumes ---&lt;BR /&gt;   PV Name                     /dev/dsk/c12t0d1&lt;BR /&gt;vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c17t0d6":&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;   PV Status                   available&lt;BR /&gt;   Total PE                    127&lt;BR /&gt;   Free PE                     0&lt;BR /&gt;   Autoswitch                  On&lt;BR /&gt;   Proactive Polling           On&lt;BR /&gt;&lt;BR /&gt;I ran diskinfo and it says it can't open the disk: invalid argument.  &lt;BR /&gt;&lt;BR /&gt;Running "spmgr display" does not show this disk.  I'm sure the disk is gone.&lt;BR /&gt;&lt;BR /&gt;However, when I run "strings /etc/lvmtab," I that /dev/vg12 still lists /dev/dsk/c17t0d6.&lt;BR /&gt;&lt;BR /&gt;This is on a production server, so I need to do this right the first time.  How do I update/remove this missing disk?  The /dev/dsk/c12t0d1 disk is currently being used and contains the data.</description>
      <pubDate>Thu, 17 Jun 2010 12:49:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/etc-lvmtab-file-has-wrong-info-how-to-fix/m-p/4649108#M551004</guid>
      <dc:creator>Johns Manville</dc:creator>
      <dc:date>2010-06-17T12:49:36Z</dc:date>
    </item>
    <item>
      <title>Re: /etc/lvmtab file has wrong info.  How to fix?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-lvmtab-file-has-wrong-info-how-to-fix/m-p/4649109#M551005</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;This procedure might help.&lt;BR /&gt;&lt;BR /&gt;cd /etc&lt;BR /&gt;mv lvmtab lvmtab.sav&lt;BR /&gt;vgscan -av&lt;BR /&gt;&lt;BR /&gt;You may be forced to restore the old file if there are other discrpeancies.&lt;BR /&gt;&lt;BR /&gt;There are vgreduce commands -l &lt;PV vol="" path=""&gt; that may be of assistance. vgextend may be required to add an additional disk to the volume group.&lt;BR /&gt;&lt;BR /&gt;It may be necessary to deactivate the volume group as follows for certain kinds of work. &lt;BR /&gt;&lt;BR /&gt;vgchange -a n &lt;VG&gt;&lt;BR /&gt;&lt;BR /&gt;It looks to me like before the transition there were two disks in the volume group and now there are one.&lt;BR /&gt;&lt;BR /&gt;SEP&lt;/VG&gt;&lt;/PV&gt;</description>
      <pubDate>Thu, 17 Jun 2010 14:07:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/etc-lvmtab-file-has-wrong-info-how-to-fix/m-p/4649109#M551005</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2010-06-17T14:07:32Z</dc:date>
    </item>
    <item>
      <title>Re: /etc/lvmtab file has wrong info.  How to fix?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-lvmtab-file-has-wrong-info-how-to-fix/m-p/4649110#M551006</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;when facing this kind of problem&lt;BR /&gt;&lt;BR /&gt;Cur PV 2&lt;BR /&gt;Act PV 1&lt;BR /&gt;&lt;BR /&gt;I do use&lt;BR /&gt;&lt;BR /&gt;vgreduce -f &lt;VGNAME&gt;&lt;BR /&gt;&lt;BR /&gt;From man of vgreduce:&lt;BR /&gt;&lt;BR /&gt;           -f vg_name     force reduction of missing physical volume(s) in a&lt;BR /&gt;                          given volume group.  This option does not require&lt;BR /&gt;                          a physical volume (PV) to be supplied on the&lt;BR /&gt;                          command line.&lt;BR /&gt;[...]&lt;BR /&gt;                          option.  This option is most commonly used when&lt;BR /&gt;                          the vgdisplay(1M) command shows "Cur PV" higher&lt;BR /&gt;                          than "Act PV" and all of the PVs belonging to the&lt;BR /&gt;                          volume group are attached.&lt;BR /&gt;&lt;BR /&gt;Hope this helps you.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Fabio&lt;/VGNAME&gt;</description>
      <pubDate>Thu, 17 Jun 2010 14:26:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/etc-lvmtab-file-has-wrong-info-how-to-fix/m-p/4649110#M551006</guid>
      <dc:creator>Fabio Ettore</dc:creator>
      <dc:date>2010-06-17T14:26:35Z</dc:date>
    </item>
    <item>
      <title>Re: /etc/lvmtab file has wrong info.  How to fix?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-lvmtab-file-has-wrong-info-how-to-fix/m-p/4649111#M551007</link>
      <description>I am not able to do a vgreduce.  The results are:&lt;BR /&gt;&lt;BR /&gt;# vgreduce /dev/vg12 /dev/dsk/c17t0d6&lt;BR /&gt;vgreduce: Couldn't query physical volume "/dev/dsk/c17t0d6":&lt;BR /&gt;The specified path does not correspond to physical volume attached to&lt;BR /&gt;this volume group&lt;BR /&gt;&lt;BR /&gt;I also cannot use vgreduce -f.  The results are:&lt;BR /&gt;&lt;BR /&gt;vgreduce -f /dev/vg12&lt;BR /&gt;Not all extents are free. i.e. Out of 1791 PEs, only 1664 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;         0011    lvol1           0011     stale&lt;BR /&gt;         0012    lvol1           0012     stale&lt;BR /&gt;         0013    lvol1           0013     stale&lt;BR /&gt;         0014    lvol1           0014     stale&lt;BR /&gt;         0015    lvol1           0015     stale&lt;BR /&gt;         0016    lvol1           0016     stale&lt;BR /&gt;         0017    lvol1           0017     stale&lt;BR /&gt;         0018    lvol1           0018     stale&lt;BR /&gt;         0019    lvol1           0019     stale&lt;BR /&gt;         0020    lvol1           0020     stale&lt;BR /&gt;         0021    lvol1           0021     stale&lt;BR /&gt;         0022    lvol1           0022     stale&lt;BR /&gt;         0023    lvol1           0023     stale&lt;BR /&gt;         0024    lvol1           0024     stale&lt;BR /&gt;         0025    lvol1           0025     stale&lt;BR /&gt;         0026    lvol1           0026     stale&lt;BR /&gt;         0027    lvol1           0027     stale&lt;BR /&gt;         0028    lvol1           0028     stale&lt;BR /&gt;         0029    lvol1           0029     stale&lt;BR /&gt;         0030    lvol1           0030     stale&lt;BR /&gt;         0031    lvol1           0031     stale&lt;BR /&gt;         0032    lvol1           0032     stale&lt;BR /&gt;         0033    lvol1           0033     stale&lt;BR /&gt;         0034    lvol1           0034     stale&lt;BR /&gt;         0035    lvol1           0035     stale&lt;BR /&gt;         0036    lvol1           0036     stale&lt;BR /&gt;         0037    lvol1           0037     stale&lt;BR /&gt;         0038    lvol1           0038     stale&lt;BR /&gt;         0039    lvol1           0039     stale&lt;BR /&gt;         0040    lvol1           0040     stale&lt;BR /&gt;         0041    lvol1           0041     stale&lt;BR /&gt;         0042    lvol1           0042     stale&lt;BR /&gt;         0043    lvol1           0043     stale&lt;BR /&gt;         0044    lvol1           0044     stale&lt;BR /&gt;         0045    lvol1           0045     stale&lt;BR /&gt;         0046    lvol1           0046     stale&lt;BR /&gt;         0047    lvol1           0047     stale&lt;BR /&gt;         0048    lvol1           0048     stale&lt;BR /&gt;         0049    lvol1           0049     stale&lt;BR /&gt;         0050    lvol1           0050     stale&lt;BR /&gt;         0051    lvol1           0051     stale&lt;BR /&gt;         0052    lvol1           0052     stale&lt;BR /&gt;         0053    lvol1           0053     stale&lt;BR /&gt;         0054    lvol1           0054     stale&lt;BR /&gt;         0055    lvol1           0055     stale&lt;BR /&gt;         0056    lvol1           0056     stale&lt;BR /&gt;         0057    lvol1           0057     stale&lt;BR /&gt;         0058    lvol1           0058     stale&lt;BR /&gt;         0059    lvol1           0059     stale&lt;BR /&gt;         0060    lvol1           0060     stale&lt;BR /&gt;         0061    lvol1           0061     stale&lt;BR /&gt;         0062    lvol1           0062     stale&lt;BR /&gt;         0063    lvol1           0063     stale&lt;BR /&gt;         0064    lvol1           0064     stale&lt;BR /&gt;         0065    lvol1           0065     stale&lt;BR /&gt;         0066    lvol1           0066     stale&lt;BR /&gt;         0067    lvol1           0067     stale&lt;BR /&gt;         0068    lvol1           0068     stale&lt;BR /&gt;         0069    lvol1           0069     stale&lt;BR /&gt;         0070    lvol1           0070     stale&lt;BR /&gt;         0071    lvol1           0071     stale&lt;BR /&gt;         0072    lvol1           0072     stale&lt;BR /&gt;         0073    lvol1           0073     stale&lt;BR /&gt;         0074    lvol1           0074     stale&lt;BR /&gt;         0075    lvol1           0075     stale&lt;BR /&gt;         0076    lvol1           0076     stale&lt;BR /&gt;         0077    lvol1           0077     stale&lt;BR /&gt;         0078    lvol1           0078     stale&lt;BR /&gt;         0079    lvol1           0079     stale&lt;BR /&gt;         0080    lvol1           0080     stale&lt;BR /&gt;         0081    lvol1           0081     stale&lt;BR /&gt;         0082    lvol1           0082     stale&lt;BR /&gt;         0083    lvol1           0083     stale&lt;BR /&gt;         0084    lvol1           0084     stale&lt;BR /&gt;         0085    lvol1           0085     stale&lt;BR /&gt;         0086    lvol1           0086     stale&lt;BR /&gt;         0087    lvol1           0087     stale&lt;BR /&gt;         0088    lvol1           0088     stale&lt;BR /&gt;         0089    lvol1           0089     stale&lt;BR /&gt;         0090    lvol1           0090     stale&lt;BR /&gt;         0091    lvol1           0091     stale&lt;BR /&gt;         0092    lvol1           0092     stale&lt;BR /&gt;         0093    lvol1           0093     stale&lt;BR /&gt;         0094    lvol1           0094     stale&lt;BR /&gt;         0095    lvol1           0095     stale&lt;BR /&gt;         0096    lvol1           0096     stale&lt;BR /&gt;         0097    lvol1           0097     stale&lt;BR /&gt;         0098    lvol1           0098     stale&lt;BR /&gt;         0099    lvol1           0099     stale&lt;BR /&gt;         0100    lvol1           0100     stale&lt;BR /&gt;         0101    lvol1           0101     stale&lt;BR /&gt;         0102    lvol1           0102     stale&lt;BR /&gt;         0103    lvol1           0103     stale&lt;BR /&gt;         0104    lvol1           0104     stale&lt;BR /&gt;         0105    lvol1           0105     stale&lt;BR /&gt;         0106    lvol1           0106     stale&lt;BR /&gt;         0107    lvol1           0107     stale&lt;BR /&gt;         0108    lvol1           0108     stale&lt;BR /&gt;         0109    lvol1           0109     stale&lt;BR /&gt;         0110    lvol1           0110     stale&lt;BR /&gt;         0111    lvol1           0111     stale&lt;BR /&gt;         0112    lvol1           0112     stale&lt;BR /&gt;         0113    lvol1           0113     stale&lt;BR /&gt;         0114    lvol1           0114     stale&lt;BR /&gt;         0115    lvol1           0115     stale&lt;BR /&gt;         0116    lvol1           0116     stale&lt;BR /&gt;         0117    lvol1           0117     stale&lt;BR /&gt;         0118    lvol1           0118     stale&lt;BR /&gt;         0119    lvol1           0119     stale&lt;BR /&gt;         0120    lvol1           0120     stale&lt;BR /&gt;         0121    lvol1           0121     stale&lt;BR /&gt;         0122    lvol1           0122     stale&lt;BR /&gt;         0123    lvol1           0123     stale&lt;BR /&gt;         0124    lvol1           0124     stale&lt;BR /&gt;         0125    lvol1           0125     stale&lt;BR /&gt;         0126    lvol1           0126     stale</description>
      <pubDate>Thu, 17 Jun 2010 15:26:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/etc-lvmtab-file-has-wrong-info-how-to-fix/m-p/4649111#M551007</guid>
      <dc:creator>Johns Manville</dc:creator>
      <dc:date>2010-06-17T15:26:37Z</dc:date>
    </item>
    <item>
      <title>Re: /etc/lvmtab file has wrong info.  How to fix?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-lvmtab-file-has-wrong-info-how-to-fix/m-p/4649112#M551008</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;sorry, my understanding was that disk c17t0d6 was just ghost and not that lvol was onto. So have you tried to run&lt;BR /&gt;&lt;BR /&gt;lvremove -A n /dev/vg01/lvol1&lt;BR /&gt;&lt;BR /&gt;?&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Fabio</description>
      <pubDate>Thu, 17 Jun 2010 15:36:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/etc-lvmtab-file-has-wrong-info-how-to-fix/m-p/4649112#M551008</guid>
      <dc:creator>Fabio Ettore</dc:creator>
      <dc:date>2010-06-17T15:36:21Z</dc:date>
    </item>
    <item>
      <title>Re: /etc/lvmtab file has wrong info.  How to fix?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-lvmtab-file-has-wrong-info-how-to-fix/m-p/4649113#M551009</link>
      <description>I don't want to remove the lvol.  I will loose all my data.  I just want the missing disk to disappear so I can add a new disk and do the mirroring.&lt;BR /&gt;&lt;BR /&gt;The original disk was a c12txdx disk.   The new disk (LUN) that had been added for mirroring was a c17txdx disk.  This disk was removed from the SAN side, so it no longer exists.  But, it's still listed in the /etc/lvmtab file, thus confusing the OS.&lt;BR /&gt;&lt;BR /&gt;I need to fix that so the c17 disk is gone.  Then I can add a new disk and do the mirroring.</description>
      <pubDate>Thu, 17 Jun 2010 15:44:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/etc-lvmtab-file-has-wrong-info-how-to-fix/m-p/4649113#M551009</guid>
      <dc:creator>Johns Manville</dc:creator>
      <dc:date>2010-06-17T15:44:19Z</dc:date>
    </item>
    <item>
      <title>Re: /etc/lvmtab file has wrong info.  How to fix?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-lvmtab-file-has-wrong-info-how-to-fix/m-p/4649114#M551010</link>
      <description>Maybe there's something to clear...&lt;BR /&gt;&lt;BR /&gt;vgreduce -f vg12&lt;BR /&gt;&lt;BR /&gt;is trying to reduce c17t0d6 but it cannot do that because of "You must free all PEs using lvreduce/lvremove before the PV can be removed"&lt;BR /&gt;&lt;BR /&gt;If there are extents of lvol1 working onto c17t0d6 you cannot remove the PV from the VG. To doublecheck on which disks lvol1 is working then run&lt;BR /&gt;&lt;BR /&gt;lvdisplay -v /dev/vg12/lvol1&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Fabio</description>
      <pubDate>Thu, 17 Jun 2010 15:54:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/etc-lvmtab-file-has-wrong-info-how-to-fix/m-p/4649114#M551010</guid>
      <dc:creator>Fabio Ettore</dc:creator>
      <dc:date>2010-06-17T15:54:48Z</dc:date>
    </item>
    <item>
      <title>Re: /etc/lvmtab file has wrong info.  How to fix?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-lvmtab-file-has-wrong-info-how-to-fix/m-p/4649115#M551011</link>
      <description>Yes, you are correct.  But the missing disk was only a mirror, not original data.  Here is a shortened version of the lvdisplay command:&lt;BR /&gt;&lt;BR /&gt;--- Logical volumes ---&lt;BR /&gt;LV Name                     /dev/vg12/lvol1&lt;BR /&gt;VG Name                     /dev/vg12&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)            1016&lt;BR /&gt;Current LE                  127&lt;BR /&gt;Allocated PE                254&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/c12t0d1   127       127&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/c12t0d1   00000 current  ???                00000 stale&lt;BR /&gt;   00001 /dev/dsk/c12t0d1   00001 current  ???                00001 stale&lt;BR /&gt;   00002 /dev/dsk/c12t0d1   00002 current  ???                00002 stale&lt;BR /&gt;   00003 /dev/dsk/c12t0d1   00003 current  ???                00003 stale&lt;BR /&gt;   00004 /dev/dsk/c12t0d1   00004 current  ???                00004 stale&lt;BR /&gt;   00005 /dev/dsk/c12t0d1   00005 current  ???                00005 stale&lt;BR /&gt;   00006 /dev/dsk/c12t0d1   00006 current  ???                00006 stale&lt;BR /&gt;   00007 /dev/dsk/c12t0d1   00007 current  ???                00007 stale</description>
      <pubDate>Thu, 17 Jun 2010 16:46:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/etc-lvmtab-file-has-wrong-info-how-to-fix/m-p/4649115#M551011</guid>
      <dc:creator>Johns Manville</dc:creator>
      <dc:date>2010-06-17T16:46:36Z</dc:date>
    </item>
    <item>
      <title>Re: /etc/lvmtab file has wrong info.  How to fix?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-lvmtab-file-has-wrong-info-how-to-fix/m-p/4649116#M551012</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Remove the stale mirror extents with the pvkey method. something like : lvdisplay -v -k /dev/..; lvremove -k /dev/.. &lt;PVKEY&gt; .. &lt;BR /&gt;&lt;BR /&gt;manpage of lvdisplay/lvremove should have examples.&lt;BR /&gt;&lt;BR /&gt;Greetz,&lt;BR /&gt;Chris&lt;/PVKEY&gt;</description>
      <pubDate>Thu, 17 Jun 2010 21:18:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/etc-lvmtab-file-has-wrong-info-how-to-fix/m-p/4649116#M551012</guid>
      <dc:creator>chris huys_4</dc:creator>
      <dc:date>2010-06-17T21:18:03Z</dc:date>
    </item>
    <item>
      <title>Re: /etc/lvmtab file has wrong info.  How to fix?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-lvmtab-file-has-wrong-info-how-to-fix/m-p/4649117#M551013</link>
      <description>lvremove appears to only have two switches: -A and -f.&lt;BR /&gt;&lt;BR /&gt;Do you have another guess?</description>
      <pubDate>Fri, 18 Jun 2010 13:25:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/etc-lvmtab-file-has-wrong-info-how-to-fix/m-p/4649117#M551013</guid>
      <dc:creator>Johns Manville</dc:creator>
      <dc:date>2010-06-18T13:25:19Z</dc:date>
    </item>
    <item>
      <title>Re: /etc/lvmtab file has wrong info.  How to fix?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-lvmtab-file-has-wrong-info-how-to-fix/m-p/4649118#M551014</link>
      <description>The lvreduce command "lvreduce -m 0 -k /dev/vg12/lvol1 /dev/dsk/c17t0d6" should work, but it does not.&lt;BR /&gt;&lt;BR /&gt;# lvreduce -m 0 -k /dev/vg12/lvol1 /dev/dsk/c17t0d6&lt;BR /&gt;Physical extents on remaining physical volumes are stale or&lt;BR /&gt;Remaining physical volumes are not responding.&lt;BR /&gt;lvreduce: The LVM device driver failed to reduce mirrors on&lt;BR /&gt;the logical volume "/dev/vg12/lvol1".</description>
      <pubDate>Fri, 18 Jun 2010 13:31:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/etc-lvmtab-file-has-wrong-info-how-to-fix/m-p/4649118#M551014</guid>
      <dc:creator>Johns Manville</dc:creator>
      <dc:date>2010-06-18T13:31:55Z</dc:date>
    </item>
    <item>
      <title>Re: /etc/lvmtab file has wrong info.  How to fix?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-lvmtab-file-has-wrong-info-how-to-fix/m-p/4649119#M551015</link>
      <description>BTW, this server is running HP-UX 11.11.</description>
      <pubDate>Fri, 18 Jun 2010 13:46:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/etc-lvmtab-file-has-wrong-info-how-to-fix/m-p/4649119#M551015</guid>
      <dc:creator>Johns Manville</dc:creator>
      <dc:date>2010-06-18T13:46:34Z</dc:date>
    </item>
    <item>
      <title>Re: /etc/lvmtab file has wrong info.  How to fix?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-lvmtab-file-has-wrong-info-how-to-fix/m-p/4649120#M551016</link>
      <description>Steven,&lt;BR /&gt;&lt;BR /&gt;The vgscan totally removed lvol12 from the lvmtab file, so I put the old one back.&lt;BR /&gt;&lt;BR /&gt;I'm thinking of just copying the files to a new VG and delete this one.  I think this might be a file system that I can do that with.</description>
      <pubDate>Fri, 18 Jun 2010 15:00:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/etc-lvmtab-file-has-wrong-info-how-to-fix/m-p/4649120#M551016</guid>
      <dc:creator>Johns Manville</dc:creator>
      <dc:date>2010-06-18T15:00:20Z</dc:date>
    </item>
    <item>
      <title>Re: /etc/lvmtab file has wrong info.  How to fix?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-lvmtab-file-has-wrong-info-how-to-fix/m-p/4649121#M551017</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;The lvdisplay/"lvremove" advise, lvremove should have been indeed lvreduce, came from a larger "replacing a faulty disk / secure way" procedure as can be seen below. &lt;BR /&gt;&lt;BR /&gt;And this procedure, indeed makes the assumption, that at the start of the procedure, both the problem disk, is still part of /etc/lvmtab and even that the "faulty" disk is somehow visible in ioscan -fn, however the disk somehow visible in ioscan -fn, is not a must, I think. &lt;BR /&gt;&lt;BR /&gt;Greetz,&lt;BR /&gt;Chris&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&lt;BR /&gt;replacing a faulty disk / secure way&lt;BR /&gt;&lt;BR /&gt;Remove all extents from the defective lvol&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;#lvdisplay -v /dev/vg01/lvol4 &amp;gt; /tmp/lvdisplay_lvol4.out&lt;BR /&gt;&lt;BR /&gt;#lvdisplay -v -k /dev/vg01/lvol4&lt;BR /&gt;&lt;BR /&gt;&lt;NOTED down="" the="" pvkey="" of="" the="" disk="" which="" had="" stale="" extents=""&gt;&lt;BR /&gt;&lt;BR /&gt;#lvreduce -m 0 -k /dev/vg01/lvol4 7&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Repeat above procedure for each affected lvol&lt;BR /&gt;&lt;BR /&gt;Note : The lvreduce command will also remove extents off disks that are not defective, if this disks are so "unlucky" to be at the "same&lt;BR /&gt;&lt;BR /&gt;side" as the defective disk.&lt;BR /&gt;&lt;BR /&gt;    * Remove  the failed disks from /etc/lvmtab&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;#vgreduce -f /dev/vg01&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Note : The vgreduce doesnt always work out. If you receive a error like&lt;BR /&gt;&lt;BR /&gt;"/etc/lvmtab  is out of date with the running kernel" then you will have to solve&lt;BR /&gt;&lt;BR /&gt;this first.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;"/etc/lvmtab is out of date" error&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;#cp /etc/lvmtab /etc/lvmtab.orig&lt;BR /&gt;&lt;BR /&gt;#vgscan -p -v&lt;BR /&gt;&lt;BR /&gt;a preview vgscan to check if the missing disks are left out&lt;BR /&gt;&lt;BR /&gt;OK!&lt;BR /&gt;&lt;BR /&gt;#mv /etc/lvmtab /etc/lvmtab.orig&lt;BR /&gt;&lt;BR /&gt;#vgscan -v&lt;BR /&gt;&lt;BR /&gt;&lt;BEGINS with=""&gt;"&amp;gt;&lt;BR /&gt;&lt;BR /&gt;works OK!&lt;BR /&gt;&lt;BR /&gt;#vgchange -a y /dev/vg01&lt;BR /&gt;&lt;BR /&gt;#lvlnboot -R&lt;BR /&gt;&lt;BR /&gt;#vgreduce -f /dev/vg01&lt;BR /&gt;&lt;BR /&gt;OK!&lt;BR /&gt;&lt;BR /&gt;    * Reactivate the volumegroup, which included the failed disk&lt;BR /&gt;&lt;BR /&gt;#vgchange -a y /dev/vg01&lt;BR /&gt;&lt;BR /&gt;#vgdisplay -v /dev/vg01&lt;BR /&gt;&lt;BR /&gt;Act 9&lt;BR /&gt;&lt;BR /&gt;Cur 9&lt;BR /&gt;&lt;BR /&gt;pulled out defective disk&lt;BR /&gt;[cut]&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&lt;/BEGINS&gt;&lt;/NOTED&gt;</description>
      <pubDate>Sat, 19 Jun 2010 13:41:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/etc-lvmtab-file-has-wrong-info-how-to-fix/m-p/4649121#M551017</guid>
      <dc:creator>chris huys_4</dc:creator>
      <dc:date>2010-06-19T13:41:02Z</dc:date>
    </item>
    <item>
      <title>Re: /etc/lvmtab file has wrong info.  How to fix?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-lvmtab-file-has-wrong-info-how-to-fix/m-p/4649122#M551018</link>
      <description>hi, i think you made some mistake.&lt;BR /&gt;&lt;BR /&gt;your command is not right, you should use PV KEY to reduce the ghost pv,not the pv name.&lt;BR /&gt;&lt;BR /&gt;you should use:&lt;BR /&gt;&lt;BR /&gt;lvreduce -m 0 -k /dev/vg12/lvol1 1&lt;BR /&gt;&lt;BR /&gt;the last number 1 is the ghost PV key.&lt;BR /&gt;&lt;BR /&gt;i have done an experiment for you.&lt;BR /&gt;-------------------------------------------- root@/test]#lvdisplay -v /dev/vgtest/test|more&lt;BR /&gt;--- Logical volumes ---&lt;BR /&gt;LV Name                     /dev/vgtest/test&lt;BR /&gt;VG Name                     /dev/vgtest&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)            2000            &lt;BR /&gt;Current LE                  500       &lt;BR /&gt;Allocated PE                1000        &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/c1t0d0         500       500       &lt;BR /&gt;   /dev/dsk/c1t2d0         500       500       &lt;BR /&gt;&lt;BR /&gt;   --- Logical extents ---&lt;BR /&gt;   LE    PV1                     PE1   Status 1 PV2                     PE2   Status 2 &lt;BR /&gt;--- Logical volumes ---&lt;BR /&gt;LV Name                     /dev/vgtest/test&lt;BR /&gt;VG Name                     /dev/vgtest&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)            2000            &lt;BR /&gt;Current LE                  500       &lt;BR /&gt;Allocated PE                1000        &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/c1t0d0         500       500       &lt;BR /&gt;   /dev/dsk/c1t2d0         500       500       &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/c1t0d0         00000 current  /dev/dsk/c1t2d0         00000 stale    &lt;BR /&gt;   00001 /dev/dsk/c1t0d0         00001 current  /dev/dsk/c1t2d0         00001 current  &lt;BR /&gt;   00002 /dev/dsk/c1t0d0         00002 current  /dev/dsk/c1t2d0         00002 current  &lt;BR /&gt;   00003 /dev/dsk/c1t0d0         00003 current  /dev/dsk/c1t2d0         00003 current  &lt;BR /&gt;   00004 /dev/dsk/c1t0d0         00004 current  /dev/dsk/c1t2d0         00004 current  &lt;BR /&gt;   00005 /dev/dsk/c1t0d0         00005 current  /dev/dsk/c1t2d0         00005 current  &lt;BR /&gt;   00006 /dev/dsk/c1t0d0         00006 current  /dev/dsk/c1t2d0         00006 current  &lt;BR /&gt;   00007 /dev/dsk/c1t0d0         00007 current  /dev/dsk/c1t2d0         00007 current  &lt;BR /&gt;   00008 /dev/dsk/c1t0d0         00008 current  /dev/dsk/c1t2d0         00008 current  &lt;BR /&gt;   00009 /dev/dsk/c1t0d0         00009 current  /dev/dsk/c1t2d0         00009 current  &lt;BR /&gt;   00010 /dev/dsk/c1t0d0         00010 current  /dev/dsk/c1t2d0         00010 current  &lt;BR /&gt;   00011 /dev/dsk/c1t0d0         00011 current  /dev/dsk/c1t2d0         00011 current  &lt;BR /&gt;   00012 /dev/dsk/c1t0d0         00012 current  /dev/dsk/c1t2d0         00012 current  &lt;BR /&gt;   00013 /dev/dsk/c1t0d0         00013 current  /dev/dsk/c1t2d0         00013 current  &lt;BR /&gt;   00014 /dev/dsk/c1t0d0         00014 current  /dev/dsk/c1t2d0         00014 current  &lt;BR /&gt;   00015 /dev/dsk/c1t0d0         00015 current  /dev/dsk/c1t2d0         00015 current  &lt;BR /&gt;   00016 /dev/dsk/c1t0d0         00016 current  /dev/dsk/c1t2d0         00016 current  &lt;BR /&gt;   00017 /dev/dsk/c1t0d0         00017 current  /dev/dsk/c1t2d0         00017 current  &lt;BR /&gt;   00018 /dev/dsk/c1t0d0         00018 current  /dev/dsk/c1t2d0         00018 current  &lt;BR /&gt;   00019 /dev/dsk/c1t0d0         00019 current  /dev/dsk/c1t2d0         00019 current  &lt;BR /&gt;   00020 /dev/dsk/c1t0d0         00020 current  /dev/dsk/c1t2d0         00020 current  &lt;BR /&gt;   00021 /dev/dsk/c1t0d0         00021 current  /dev/dsk/c1t2d0         00021 current  &lt;BR /&gt;[root@/test]#lvdisplay -v -k /dev/vgtest/test|more&lt;BR /&gt;--- Logical volumes ---&lt;BR /&gt;LV Name                     /dev/vgtest/test&lt;BR /&gt;VG Name                     /dev/vgtest&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)            2000            &lt;BR /&gt;Current LE                  500       &lt;BR /&gt;Allocated PE                1000        &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/c1t0d0         500       500       &lt;BR /&gt;   /dev/dsk/c1t2d0         500       500       &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                  00000 current       1                  00000 stale    &lt;BR /&gt;   00001      0                  00001 current       1                  00001 current  &lt;BR /&gt;   00002      0                  00002 current       1                  00002 current  &lt;BR /&gt;   00003      0                  00003 current       1                  00003 current  &lt;BR /&gt;   00004      0                  00004 current       1                  00004 current  &lt;BR /&gt;   00005      0                  00005 current       1                  00005 current  &lt;BR /&gt;   00006      0                  00006 current       1                  00006 current  &lt;BR /&gt;   00007      0                  00007 current       1                  00007 current  &lt;BR /&gt;   00008      0                  00008 current       1                  00008 current  &lt;BR /&gt;   00009      0                  00009 current       1                  00009 current  &lt;BR /&gt;   00010      0                  00010 current       1                  00010 current  &lt;BR /&gt;   00011      0                  00011 current       1                  00011 current  &lt;BR /&gt;   00012      0                  00012 current       1                  00012 current  &lt;BR /&gt;   00013      0                  00013 current       1                  00013 current  &lt;BR /&gt;   00014      0                  00014 current       1                  00014 current  &lt;BR /&gt;   00015      0                  00015 current       1                  00015 current  &lt;BR /&gt;   00016      0                  00016 current       1                  00016 current  &lt;BR /&gt;   00017      0                  00017 current       1                  00017 current  &lt;BR /&gt;   00018      0                  00018 current       1                  00018 current  &lt;BR /&gt;   00019      0                  00019 current       1                  00019 current  &lt;BR /&gt;   00020      0                  00020 current       1                  00020 current  &lt;BR /&gt;   00021      0                  00021 current       1                  00021 current  &lt;BR /&gt;[root@/test]#&lt;BR /&gt;[root@/test]#lvreduce -k -m 0 /dev/vgtest/test /dev/dsk/c1t2d0&lt;BR /&gt;Physical extents on remaining physical volumes are stale or &lt;BR /&gt;Remaining physical volumes are not responding.&lt;BR /&gt;lvreduce: The LVM device driver failed to reduce mirrors on&lt;BR /&gt;the logical volume "/dev/vgtest/test".&lt;BR /&gt;[root@/test]#lvreduce -k -m 0 /dev/vgtest/test 1&lt;BR /&gt;Logical volume "/dev/vgtest/test" has been successfully reduced.&lt;BR /&gt;vgcfgbackup: Invalid LVMREC on Physical Volume /dev/rdsk/c1t2d0&lt;BR /&gt;[root@/test]#&lt;BR /&gt;[root@/test]#&lt;BR /&gt;[root@/test]#vgdisplay -v /dev/vgtest|more&lt;BR /&gt;--- Volume groups ---&lt;BR /&gt;VG Name                     /dev/vgtest&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                      1      &lt;BR /&gt;Open LV                     1      &lt;BR /&gt;Max PV                      16     &lt;BR /&gt;Cur PV                      2      &lt;BR /&gt;Act PV                      2      &lt;BR /&gt;Max PE per PV               4341         &lt;BR /&gt;VGDA                        4   &lt;BR /&gt;PE Size (Mbytes)            4               &lt;BR /&gt;Total PE                    8680    &lt;BR /&gt;Alloc PE                    500     &lt;BR /&gt;Free PE                     8180    &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;   --- Logical volumes ---&lt;BR /&gt;   LV Name                     /dev/vgtest/test&lt;BR /&gt;   LV Status                   available/syncd           &lt;BR /&gt;   LV Size (Mbytes)            2000            &lt;BR /&gt;   Current LE                  500       &lt;BR /&gt;   Allocated PE                500         &lt;BR /&gt;   Used PV                     1       &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;   --- Physical volumes ---&lt;BR /&gt;   PV Name                     /dev/dsk/c1t0d0&lt;BR /&gt;   PV Status                   available                &lt;BR /&gt;   Total PE                    4340    &lt;BR /&gt;   Free PE                     3840    &lt;BR /&gt;   Autoswitch                  On        &lt;BR /&gt;   Proactive Polling           On               &lt;BR /&gt;&lt;BR /&gt;   PV Name                     /dev/dsk/c1t2d0&lt;BR /&gt;   PV Status                   unavailable              &lt;BR /&gt;   Total PE                    4340    &lt;BR /&gt;   Free PE                     4340    &lt;BR /&gt;   Autoswitch                  On        &lt;BR /&gt;   Proactive Polling           On               &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;[root@/test]#vgreduce -f /dev/vgtest&lt;BR /&gt;[root@/test]#vgdisplay -v /dev/vgtest|more&lt;BR /&gt;--- Volume groups ---&lt;BR /&gt;VG Name                     /dev/vgtest&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                      1      &lt;BR /&gt;Open LV                     1      &lt;BR /&gt;Max PV                      16     &lt;BR /&gt;Cur PV                      2      &lt;BR /&gt;Act PV                      2      &lt;BR /&gt;Max PE per PV               4341         &lt;BR /&gt;VGDA                        4   &lt;BR /&gt;PE Size (Mbytes)            4               &lt;BR /&gt;Total PE                    8680    &lt;BR /&gt;Alloc PE                    500     &lt;BR /&gt;Free PE                     8180    &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;   --- Logical volumes ---&lt;BR /&gt;   LV Name                     /dev/vgtest/test&lt;BR /&gt;   LV Status                   available/syncd           &lt;BR /&gt;   LV Size (Mbytes)            2000            &lt;BR /&gt;   Current LE                  500       &lt;BR /&gt;   Allocated PE                500         &lt;BR /&gt;   Used PV                     1       &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;   --- Physical volumes ---&lt;BR /&gt;   PV Name                     /dev/dsk/c1t0d0&lt;BR /&gt;   PV Status                   available                &lt;BR /&gt;   Total PE                    4340    &lt;BR /&gt;   Free PE                     3840    &lt;BR /&gt;   Autoswitch                  On        &lt;BR /&gt;   Proactive Polling           On               &lt;BR /&gt;&lt;BR /&gt;   PV Name                     /dev/dsk/c1t2d0&lt;BR /&gt;   PV Status                   unavailable              &lt;BR /&gt;   Total PE                    4340    &lt;BR /&gt;   Free PE                     4340    &lt;BR /&gt;   Autoswitch                  On        &lt;BR /&gt;   Proactive Polling           On               &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;[root@/test]#&lt;BR /&gt;[root@/test]#vgreduce /dev/vgtest /dev/dsk/c1t2d0&lt;BR /&gt;Volume group "/dev/vgtest" has been successfully reduced.&lt;BR /&gt;Volume Group configuration for /dev/vgtest has been saved in /etc/lvmconf/vgtest.conf&lt;BR /&gt;[root@/test]#&lt;BR /&gt;[root@/test]#&lt;BR /&gt;[root@/test]#vgdisplay -v /dev/vgtest|more&lt;BR /&gt;--- Volume groups ---&lt;BR /&gt;VG Name                     /dev/vgtest&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                      1      &lt;BR /&gt;Open LV                     1      &lt;BR /&gt;Max PV                      16     &lt;BR /&gt;Cur PV                      1      &lt;BR /&gt;Act PV                      1      &lt;BR /&gt;Max PE per PV               4341         &lt;BR /&gt;VGDA                        2   &lt;BR /&gt;PE Size (Mbytes)            4               &lt;BR /&gt;Total PE                    4340    &lt;BR /&gt;Alloc PE                    500     &lt;BR /&gt;Free PE                     3840    &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;   --- Logical volumes ---&lt;BR /&gt;   LV Name                     /dev/vgtest/test&lt;BR /&gt;   LV Status                   available/syncd           &lt;BR /&gt;   LV Size (Mbytes)            2000            &lt;BR /&gt;   Current LE                  500       &lt;BR /&gt;   Allocated PE                500         &lt;BR /&gt;   Used PV                     1       &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;   --- Physical volumes ---&lt;BR /&gt;   PV Name                     /dev/dsk/c1t0d0&lt;BR /&gt;   PV Status                   available                &lt;BR /&gt;   Total PE                    4340    &lt;BR /&gt;   Free PE                     3840    &lt;BR /&gt;   Autoswitch                  On        &lt;BR /&gt;   Proactive Polling           On               &lt;BR /&gt;</description>
      <pubDate>Tue, 22 Jun 2010 16:23:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/etc-lvmtab-file-has-wrong-info-how-to-fix/m-p/4649122#M551018</guid>
      <dc:creator>hbhua_231</dc:creator>
      <dc:date>2010-06-22T16:23:01Z</dc:date>
    </item>
    <item>
      <title>Re: /etc/lvmtab file has wrong info.  How to fix?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-lvmtab-file-has-wrong-info-how-to-fix/m-p/4649123#M551019</link>
      <description>Hello Johns,&lt;BR /&gt;&lt;BR /&gt;I guess SEP's update was perfect. &lt;BR /&gt;&lt;BR /&gt;You have to reduce the PV from the LV and then from the VG. The VG reduce command will update the /etc/lvmtab. It seems that in this case its failing..&lt;BR /&gt;&lt;BR /&gt;So you can follow the below steps..&lt;BR /&gt;&lt;BR /&gt;#cp /etc/lvmtab /etc/lvmtab.date&lt;BR /&gt;#rm /etc/lvmtab&lt;BR /&gt;#vgscan -v&lt;BR /&gt;#vgchange -a y /dev/vg12&lt;BR /&gt;&lt;BR /&gt;Now check the /etc/lvmtab file, the other disk should have vanished.&lt;BR /&gt;&lt;BR /&gt;If this doesn't solve, have a check on the /etc/lvmconf/vg12.conf file..&lt;BR /&gt;&lt;BR /&gt;Hope this helps,pls update if the issue still exists..</description>
      <pubDate>Tue, 22 Jun 2010 21:19:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/etc-lvmtab-file-has-wrong-info-how-to-fix/m-p/4649123#M551019</guid>
      <dc:creator>Vijaykumar_1</dc:creator>
      <dc:date>2010-06-22T21:19:20Z</dc:date>
    </item>
    <item>
      <title>Re: /etc/lvmtab file has wrong info.  How to fix?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-lvmtab-file-has-wrong-info-how-to-fix/m-p/4649124#M551020</link>
      <description>The command: lvreduce -m 0 -k /dev/vg12/lvol1 1&lt;BR /&gt; did remove the stale extents.&lt;BR /&gt;&lt;BR /&gt;However, the VG is still screwy.  vgdisplay still says it can't query physical volume "/dev/dsk/c17t0d6" when that disk doesn't exist.&lt;BR /&gt;&lt;BR /&gt;An ioscan of the disk that does exist, also shows fautly info with a disk that doesn't exisdt, i.e. c13t0d1.  Here is the output:&lt;BR /&gt;&lt;BR /&gt;disk      4  255/255/1/0.1  sdisk    CLAIMED     DEVICE       HSV110 (C)COMPAQ&lt;BR /&gt;                           /dev/dsk/c12t0d1   /dev/rdsk/c12t0d1  /dev/rdsk/c13t0d1&lt;BR /&gt;&lt;BR /&gt;Note, the above c13 disk does not exist.&lt;BR /&gt;&lt;BR /&gt;Also, the /etc/lvmtab STILL shows /dev/dsk/c17t0d6 as part of the VG vg12.&lt;BR /&gt;&lt;BR /&gt;If I look in the /etc/lvmconf/vg12.conf file, I still see the /dev/rdsk/c17t0d6 disk.</description>
      <pubDate>Wed, 23 Jun 2010 15:26:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/etc-lvmtab-file-has-wrong-info-how-to-fix/m-p/4649124#M551020</guid>
      <dc:creator>Johns Manville</dc:creator>
      <dc:date>2010-06-23T15:26:35Z</dc:date>
    </item>
    <item>
      <title>Re: /etc/lvmtab file has wrong info.  How to fix?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-lvmtab-file-has-wrong-info-how-to-fix/m-p/4649125#M551021</link>
      <description>&lt;!--!*#--&gt;Hi,Johns Manville&lt;BR /&gt;&lt;BR /&gt;try  command:&lt;BR /&gt;&lt;BR /&gt;vgreduce -l /dev/vg12 /dev/dsk/c17t0d6&lt;BR /&gt;&lt;BR /&gt;the "l" is not number 1 but letter "l"&lt;BR /&gt;&lt;BR /&gt;this command will remove ghost pv in /etc/lvmtab,and resolve problem.&lt;BR /&gt;after remove the ghost pv,please do&lt;BR /&gt;vgcfgbackup /dev/vg12 to backup vg12 structure&lt;BR /&gt;&lt;BR /&gt;Good luck.&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;</description>
      <pubDate>Wed, 23 Jun 2010 16:31:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/etc-lvmtab-file-has-wrong-info-how-to-fix/m-p/4649125#M551021</guid>
      <dc:creator>hbhua_231</dc:creator>
      <dc:date>2010-06-23T16:31:32Z</dc:date>
    </item>
    <item>
      <title>Re: /etc/lvmtab file has wrong info.  How to fix?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-lvmtab-file-has-wrong-info-how-to-fix/m-p/4649126#M551022</link>
      <description>hbhua_231,&lt;BR /&gt;&lt;BR /&gt;You're doing pretty good so far.  :-)&lt;BR /&gt;&lt;BR /&gt;When I try the vgcfgbackup, I get the following because the kernel thinks there are still 2 disks:&lt;BR /&gt;&lt;BR /&gt;vgcfgbackup /dev/vg12&lt;BR /&gt;vgcfgbackup: /etc/lvmtab is out of date with the running kernel:Kernel indicates 2 disks for "/dev/vg12"; /etc/lvmtab has 1 disks.&lt;BR /&gt;Cannot proceed with backup.&lt;BR /&gt;</description>
      <pubDate>Wed, 23 Jun 2010 17:05:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/etc-lvmtab-file-has-wrong-info-how-to-fix/m-p/4649126#M551022</guid>
      <dc:creator>Johns Manville</dc:creator>
      <dc:date>2010-06-23T17:05:53Z</dc:date>
    </item>
    <item>
      <title>Re: /etc/lvmtab file has wrong info.  How to fix?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-lvmtab-file-has-wrong-info-how-to-fix/m-p/4649127#M551023</link>
      <description>hi, Johns Manville.&lt;BR /&gt;&lt;BR /&gt;I think there still have some problem.&lt;BR /&gt;&lt;BR /&gt;plese post the output.&lt;BR /&gt;&lt;BR /&gt;vgdisplay -v /dev/vg12&lt;BR /&gt;&lt;BR /&gt;lvdisplay -v /dev/vg12/lvol1|more&lt;BR /&gt;&lt;BR /&gt;strings /etc/lvmtab&lt;BR /&gt;&lt;BR /&gt;i need more infomation to resolve the problem.</description>
      <pubDate>Wed, 23 Jun 2010 17:34:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/etc-lvmtab-file-has-wrong-info-how-to-fix/m-p/4649127#M551023</guid>
      <dc:creator>hbhua_231</dc:creator>
      <dc:date>2010-06-23T17:34:39Z</dc:date>
    </item>
  </channel>
</rss>

