<?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 frustrating problem in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-frustrating-problem/m-p/3505629#M217397</link>
    <description>vgreduce -f reports that pv blah blah still has extents existing on it from lv blah blah&lt;BR /&gt;and then repotrs a bunch of errors on each unavailable pv like this:&lt;BR /&gt;-------------------&lt;BR /&gt;vgreduce: Couldn't query physical volume "/dev/dsk/c24t5d0":&lt;BR /&gt;The specified path does not correspond to physical volume attached to this volume group&lt;BR /&gt;Not all extents are free. i.e. Out of 953 PEs, only 857 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;         1728    lvol1           0000     ???&lt;BR /&gt;         1729    lvol1           0001     ???&lt;BR /&gt;         1730    lvol1           0002     ???&lt;BR /&gt;-------------------&lt;BR /&gt;&lt;BR /&gt;the list goes on for each PV that is unavailable to the vg.&lt;BR /&gt;ofcourse, lvreduce does not work since lv2 now is reported as 0 extents (but still cant remove any pvs because lvm thinks they are still being used, but dont know who is using them - as reported in the map above)&lt;BR /&gt;lvremove does not work either cause this is the error reported:&lt;BR /&gt;&lt;BR /&gt;-------------------&lt;BR /&gt;lvremove: Couldn't query physical volume "/dev/dsk/c23t5d0":&lt;BR /&gt;The specified path does not correspond to physical volume attached to this volume group&lt;BR /&gt;-------------------&lt;BR /&gt;&lt;BR /&gt;it is a bit of a dangle.. since this filesystem in online now and i cant interrupt users.&lt;BR /&gt;</description>
    <pubDate>Wed, 16 Mar 2005 05:30:12 GMT</pubDate>
    <dc:creator>Wessam</dc:creator>
    <dc:date>2005-03-16T05:30:12Z</dc:date>
    <item>
      <title>lvm frustrating problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-frustrating-problem/m-p/3505619#M217387</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;(on hpux 11.00)&lt;BR /&gt;I am facing a very frustrating problem, here is the scenario:&lt;BR /&gt;&lt;BR /&gt;a currently activated vg with one lv mounted and another unmounted.&lt;BR /&gt;lv1 (mounted) exists on 2 PVs (pv1 and pv2)&lt;BR /&gt;lv2 (unmounted) exists on 5 other PVs (pv3, pv4, pv5, pv6, pv7).&lt;BR /&gt;now pv3-pv7 become unavailable (disks fail). this does not corrupt my currently mounted lv1 since it resides on different pvs (pv1, pv2)&lt;BR /&gt;i would like now to remove lv2 and the unavailable pvs (pv3-pv7).&lt;BR /&gt;&lt;BR /&gt;this is almost immpossible.. i tried several ways to do it.&lt;BR /&gt;vg export and import wont work since it reads lvm metadata from pv1 and pv2 and believes the VG should have 7 PVs instead of 2 and wont even vgchange (even with -q n, since quorum is gone !)&lt;BR /&gt;the failed disks will not be replaced, so there is no way to vgcfgrestore anything..&lt;BR /&gt;please replay ASAP, as this makes the system unstable (next reboot will not mount lv1 since vg wont activate) !</description>
      <pubDate>Wed, 16 Mar 2005 04:11:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-frustrating-problem/m-p/3505619#M217387</guid>
      <dc:creator>Wessam</dc:creator>
      <dc:date>2005-03-16T04:11:16Z</dc:date>
    </item>
    <item>
      <title>Re: lvm frustrating problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-frustrating-problem/m-p/3505620#M217388</link>
      <description>Hi Wessam,&lt;BR /&gt;&lt;BR /&gt;Please peform "vgscan -a -v" this will recreate the lvmtab therefor removing the failed disk.&lt;BR /&gt;&lt;BR /&gt;Don't forget to rename first the the old lvmtab "mv /etc/lvmtab /etc/lvmtab.old".&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Paul</description>
      <pubDate>Wed, 16 Mar 2005 04:17:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-frustrating-problem/m-p/3505620#M217388</guid>
      <dc:creator>Paul_481</dc:creator>
      <dc:date>2005-03-16T04:17:00Z</dc:date>
    </item>
    <item>
      <title>Re: lvm frustrating problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-frustrating-problem/m-p/3505621#M217389</link>
      <description>already done that, this wont solve the problem since vgscan will rebuild only vgs in which all pv exist.&lt;BR /&gt;if you have a vg with 5 pv which dont exist, vgscan reports a problem on that and wont enter it in lvmtab</description>
      <pubDate>Wed, 16 Mar 2005 04:24:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-frustrating-problem/m-p/3505621#M217389</guid>
      <dc:creator>Wessam</dc:creator>
      <dc:date>2005-03-16T04:24:29Z</dc:date>
    </item>
    <item>
      <title>Re: lvm frustrating problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-frustrating-problem/m-p/3505622#M217390</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;1. Use "lvremove" to remove lv2&lt;BR /&gt;2. Use "vgreduce" to remove (pv3, pv4, pv5, pv6, pv7) from vg&lt;BR /&gt;&lt;BR /&gt;This should work.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;</description>
      <pubDate>Wed, 16 Mar 2005 04:28:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-frustrating-problem/m-p/3505622#M217390</guid>
      <dc:creator>Girish_17</dc:creator>
      <dc:date>2005-03-16T04:28:37Z</dc:date>
    </item>
    <item>
      <title>Re: lvm frustrating problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-frustrating-problem/m-p/3505623#M217391</link>
      <description>lvremove does not work since it must query the pvs first to remove and lv.&lt;BR /&gt;there is no way in lvm to force a removal of an lv if its pvs cannot be queried&lt;BR /&gt;</description>
      <pubDate>Wed, 16 Mar 2005 04:31:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-frustrating-problem/m-p/3505623#M217391</guid>
      <dc:creator>Wessam</dc:creator>
      <dc:date>2005-03-16T04:31:50Z</dc:date>
    </item>
    <item>
      <title>Re: lvm frustrating problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-frustrating-problem/m-p/3505624#M217392</link>
      <description>So what about vgreduce&lt;BR /&gt;</description>
      <pubDate>Wed, 16 Mar 2005 04:33:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-frustrating-problem/m-p/3505624#M217392</guid>
      <dc:creator>Girish_17</dc:creator>
      <dc:date>2005-03-16T04:33:53Z</dc:date>
    </item>
    <item>
      <title>Re: lvm frustrating problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-frustrating-problem/m-p/3505625#M217393</link>
      <description>vgreduce wont vgreduce since it reports that those pvs still contain extents of lv2.&lt;BR /&gt;it asks to first remove the lvs in order to remove the pvs</description>
      <pubDate>Wed, 16 Mar 2005 04:38:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-frustrating-problem/m-p/3505625#M217393</guid>
      <dc:creator>Wessam</dc:creator>
      <dc:date>2005-03-16T04:38:06Z</dc:date>
    </item>
    <item>
      <title>Re: lvm frustrating problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-frustrating-problem/m-p/3505626#M217394</link>
      <description>Wessam,&lt;BR /&gt;&lt;BR /&gt;Have you got enough space to temp copy lv1 to another VG ?&lt;BR /&gt;&lt;BR /&gt;Robert-Jan</description>
      <pubDate>Wed, 16 Mar 2005 04:42:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-frustrating-problem/m-p/3505626#M217394</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2005-03-16T04:42:28Z</dc:date>
    </item>
    <item>
      <title>Re: lvm frustrating problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-frustrating-problem/m-p/3505627#M217395</link>
      <description>i would if i could.. &lt;BR /&gt;this filesystem contains around 3+ million files&lt;BR /&gt;it took about 5 days last time just to copy.. and i had to stop cp in the end because i got tired. the only way was to lv mirror.</description>
      <pubDate>Wed, 16 Mar 2005 04:52:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-frustrating-problem/m-p/3505627#M217395</guid>
      <dc:creator>Wessam</dc:creator>
      <dc:date>2005-03-16T04:52:53Z</dc:date>
    </item>
    <item>
      <title>Re: lvm frustrating problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-frustrating-problem/m-p/3505628#M217396</link>
      <description>did you try the vgreduce -f option ?</description>
      <pubDate>Wed, 16 Mar 2005 05:12:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-frustrating-problem/m-p/3505628#M217396</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2005-03-16T05:12:41Z</dc:date>
    </item>
    <item>
      <title>Re: lvm frustrating problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-frustrating-problem/m-p/3505629#M217397</link>
      <description>vgreduce -f reports that pv blah blah still has extents existing on it from lv blah blah&lt;BR /&gt;and then repotrs a bunch of errors on each unavailable pv like this:&lt;BR /&gt;-------------------&lt;BR /&gt;vgreduce: Couldn't query physical volume "/dev/dsk/c24t5d0":&lt;BR /&gt;The specified path does not correspond to physical volume attached to this volume group&lt;BR /&gt;Not all extents are free. i.e. Out of 953 PEs, only 857 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;         1728    lvol1           0000     ???&lt;BR /&gt;         1729    lvol1           0001     ???&lt;BR /&gt;         1730    lvol1           0002     ???&lt;BR /&gt;-------------------&lt;BR /&gt;&lt;BR /&gt;the list goes on for each PV that is unavailable to the vg.&lt;BR /&gt;ofcourse, lvreduce does not work since lv2 now is reported as 0 extents (but still cant remove any pvs because lvm thinks they are still being used, but dont know who is using them - as reported in the map above)&lt;BR /&gt;lvremove does not work either cause this is the error reported:&lt;BR /&gt;&lt;BR /&gt;-------------------&lt;BR /&gt;lvremove: Couldn't query physical volume "/dev/dsk/c23t5d0":&lt;BR /&gt;The specified path does not correspond to physical volume attached to this volume group&lt;BR /&gt;-------------------&lt;BR /&gt;&lt;BR /&gt;it is a bit of a dangle.. since this filesystem in online now and i cant interrupt users.&lt;BR /&gt;</description>
      <pubDate>Wed, 16 Mar 2005 05:30:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-frustrating-problem/m-p/3505629#M217397</guid>
      <dc:creator>Wessam</dc:creator>
      <dc:date>2005-03-16T05:30:12Z</dc:date>
    </item>
    <item>
      <title>Re: lvm frustrating problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-frustrating-problem/m-p/3505630#M217398</link>
      <description>I'm out of of online options. The fastest methode could be to reboot your system in single user mode, mount /usr filesytem and lvreduce lvremove the effected lvol/disks.&lt;BR /&gt;&lt;BR /&gt;Robert-Jan</description>
      <pubDate>Wed, 16 Mar 2005 06:23:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-frustrating-problem/m-p/3505630#M217398</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2005-03-16T06:23:26Z</dc:date>
    </item>
    <item>
      <title>Re: lvm frustrating problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-frustrating-problem/m-p/3505631#M217399</link>
      <description>ok i think i got how to fix the problem:&lt;BR /&gt;here is the steps:&lt;BR /&gt;&lt;BR /&gt;1) remove current lvmtab&lt;BR /&gt;2) vgscan -av to rebuild lvmtab without the bad vg&lt;BR /&gt;3) vgimport to a new vg with only the two functioning PVs (pv1 and pv2)&lt;BR /&gt;&lt;BR /&gt;4) activate the VG without quorum (vgchange -a y -q n vgname)&lt;BR /&gt;&lt;BR /&gt;5) vgdisplay will report only the two functioning PVs as its members, and will report all LVs (including the missing PVs LV - lv2)&lt;BR /&gt;6) lvremove the bad LV (lv2)&lt;BR /&gt;&lt;BR /&gt;this seems to work online (without unmounting and deactivating the vg). i will try to actually do that at night and ill report back updates.</description>
      <pubDate>Wed, 16 Mar 2005 06:25:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-frustrating-problem/m-p/3505631#M217399</guid>
      <dc:creator>Wessam</dc:creator>
      <dc:date>2005-03-16T06:25:18Z</dc:date>
    </item>
    <item>
      <title>Re: lvm frustrating problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-frustrating-problem/m-p/3505632#M217400</link>
      <description>thanks to all of you for your contributions&lt;BR /&gt;robert-jan: i think this would work but i'll try my solution first and i'll let all of you know how it turns out.&lt;BR /&gt;&lt;BR /&gt;its frustrating tha lvm has no way to force-remove a PV or LV its its corresponding devices cant be queried !&lt;BR /&gt;&lt;BR /&gt;i think HP should patch that in the next LVM pathes.</description>
      <pubDate>Wed, 16 Mar 2005 06:29:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-frustrating-problem/m-p/3505632#M217400</guid>
      <dc:creator>Wessam</dc:creator>
      <dc:date>2005-03-16T06:29:06Z</dc:date>
    </item>
    <item>
      <title>Re: lvm frustrating problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-frustrating-problem/m-p/3505633#M217401</link>
      <description>Take a look at lvreduce with the -k option.&lt;BR /&gt;You need to check the pv key using lvdisplay&lt;BR /&gt;on lv2&lt;BR /&gt;Here is an example of one I have done previously (although this was on a failed mirror)&lt;BR /&gt;&lt;BR /&gt;# lvdisplay -v /dev/vg00/lvol6&lt;BR /&gt;--- Logical volumes ---&lt;BR /&gt;LV Name                     /dev/vg00/lvol6&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)            80&lt;BR /&gt;Current LE                  20&lt;BR /&gt;Allocated PE                40&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;&lt;BR /&gt;   --- Distribution of logical volume ---&lt;BR /&gt;   PV Name            LE on PV  PE on PV&lt;BR /&gt;   /dev/dsk/c0t8d0    20        20&lt;BR /&gt;&lt;BR /&gt;   --- Logical extents ---&lt;BR /&gt;   LE   PV1                PE1  Status 1 PV2                PE2  Status 2&lt;BR /&gt;   0000 /dev/dsk/c0t8d0    0202 current  ???                0202 stale&lt;BR /&gt;   0001 /dev/dsk/c0t8d0    0203 current  ???                0203 stale&lt;BR /&gt;   0002 /dev/dsk/c0t8d0    0204 current  ???                0204 stale&lt;BR /&gt;   0003 /dev/dsk/c0t8d0    0205 current  ???                0205 stale&lt;BR /&gt;&lt;BR /&gt;etc&lt;BR /&gt;In this instance the failed disk is PV2&lt;BR /&gt;So to remove used&lt;BR /&gt;&lt;BR /&gt;lvreduce -m 0 -k 2 /dev/vg00/lvol6&lt;BR /&gt;&lt;BR /&gt;(NOTE - if you are not mirrored you do not require the -m 0)&lt;BR /&gt;&lt;BR /&gt;Logical volume "/dev/vg00/lvol6" has been successfully reduced.&lt;BR /&gt;Warning:  Can not determine all Physical Volumes on which mirrored copies of&lt;BR /&gt;the Logical Volume are located.   "/etc/lvmtab" is missing Physical Volumes.&lt;BR /&gt;Warning:  Can not determine all Physical Volumes on which mirrored copies of&lt;BR /&gt;the Logical Volume are located.   "/etc/lvmtab" is missing Physical Volumes.&lt;BR /&gt;Warning:  Can not determine all Physical Volumes on which mirrored copies of&lt;BR /&gt;the Logical Volume are located.   "/etc/lvmtab" is missing Physical Volumes.&lt;BR /&gt;vgcfgbackup: /etc/lvmtab is out of date with the running kernel:Kernel indicates 3 disks for "/dev/vg00"; /etc/lvmtab has 2 disks.&lt;BR /&gt;Cannot proceed with backup.&lt;BR /&gt;&lt;BR /&gt;This then showed lvdisplay as &lt;BR /&gt;&lt;BR /&gt;lvdisplay -v /dev/vg00/lvol6&lt;BR /&gt;--- Logical volumes ---&lt;BR /&gt;LV Name                     /dev/vg00/lvol6&lt;BR /&gt;VG Name                     /dev/vg00&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)            80&lt;BR /&gt;Current LE                  20&lt;BR /&gt;Allocated PE                20&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;&lt;BR /&gt;   --- Distribution of logical volume ---&lt;BR /&gt;   PV Name            LE on PV  PE on PV&lt;BR /&gt;   /dev/dsk/c0t8d0    20        20&lt;BR /&gt;&lt;BR /&gt;   --- Logical extents ---&lt;BR /&gt;   LE   PV1                PE1  Status 1&lt;BR /&gt;   0000 /dev/dsk/c0t8d0    0202 current&lt;BR /&gt;   0001 /dev/dsk/c0t8d0    0203 current&lt;BR /&gt;   0002 /dev/dsk/c0t8d0    0204 current&lt;BR /&gt;&lt;BR /&gt;You may need to repeat for all PV's&lt;BR /&gt;&lt;BR /&gt;Hope this helps&lt;BR /&gt;&lt;BR /&gt;Dean</description>
      <pubDate>Thu, 17 Mar 2005 05:12:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-frustrating-problem/m-p/3505633#M217401</guid>
      <dc:creator>Dean Johnson_10</dc:creator>
      <dc:date>2005-03-17T05:12:22Z</dc:date>
    </item>
    <item>
      <title>Re: lvm frustrating problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-frustrating-problem/m-p/3505634#M217402</link>
      <description>Dean is right.&lt;BR /&gt;lvm has the option to remove ghost disks...&lt;BR /&gt;lvreduce -k ....&lt;BR /&gt;&lt;BR /&gt;see also thread ;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=757397" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=757397&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;good luck.&lt;BR /&gt;regards.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 17 Mar 2005 06:13:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-frustrating-problem/m-p/3505634#M217402</guid>
      <dc:creator>Henk Geurts</dc:creator>
      <dc:date>2005-03-17T06:13:37Z</dc:date>
    </item>
    <item>
      <title>Re: lvm frustrating problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-frustrating-problem/m-p/3505635#M217403</link>
      <description>Dean/Henk,&lt;BR /&gt;&lt;BR /&gt;Yes -k option works great if you have mirrored disks, but what if you are not using mirrors :-) lv2 (unmounted) exists on 5 other PVs (pv3, pv4, pv5, pv6, pv7).&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Robert-Jan</description>
      <pubDate>Thu, 17 Mar 2005 06:28:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-frustrating-problem/m-p/3505635#M217403</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2005-03-17T06:28:55Z</dc:date>
    </item>
    <item>
      <title>Re: lvm frustrating problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-frustrating-problem/m-p/3505636#M217404</link>
      <description>Wessam, &lt;BR /&gt; &lt;BR /&gt;just my two cents... if you are dealing with VGs that contain unavailable PVs then it's wise to specify "-A n" on the command line, since it's usually the (automatic) vgcfgbackup that gets stuck.&lt;BR /&gt; &lt;BR /&gt;So in your original scenario lvremove -A n ... and then vgreduce -A n ... should have worked. After removing the PVs from the VG it's time to perform a vgcfgbackup manually, of course.&lt;BR /&gt; &lt;BR /&gt;BTW, with the -k option you can specify a PV using its key instead of its path. This is useful for unattached PVs, but does not change anything else.&lt;BR /&gt; &lt;BR /&gt;Best regards...&lt;BR /&gt;Dietmar.</description>
      <pubDate>Thu, 17 Mar 2005 07:09:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-frustrating-problem/m-p/3505636#M217404</guid>
      <dc:creator>Dietmar Konermann</dc:creator>
      <dc:date>2005-03-17T07:09:29Z</dc:date>
    </item>
    <item>
      <title>Re: lvm frustrating problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-frustrating-problem/m-p/3505637#M217405</link>
      <description>Robert-Jan&lt;BR /&gt;&lt;BR /&gt;You are correct - think I should have read the man page first !! :-)&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Dean</description>
      <pubDate>Thu, 17 Mar 2005 11:23:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-frustrating-problem/m-p/3505637#M217405</guid>
      <dc:creator>Dean Johnson_10</dc:creator>
      <dc:date>2005-03-17T11:23:14Z</dc:date>
    </item>
    <item>
      <title>Re: lvm frustrating problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-frustrating-problem/m-p/3505638#M217406</link>
      <description>thanks for all, i have been enlightened.&lt;BR /&gt;just some comments...&lt;BR /&gt;lvreduce -k does not work unless you have mirrors.&lt;BR /&gt;if my situation, the unavail. PVs could not be removed. &lt;BR /&gt;&lt;BR /&gt;I tried the scenario i presented earlier. I unmounted the good lv and unactivated the VG&lt;BR /&gt;exported and imported back using only the working PVs (pv1 and pv2)&lt;BR /&gt;it worked with problems.. except that i get errors that &lt;BR /&gt;"the kernel reports 7 PVs but you actually have 2"&lt;BR /&gt;&lt;BR /&gt;the VG works fine now. but i did not know about the ability to use the PV key.. could someone let me know how to use this ? anyone has any resources on obtaining PV keys ?&lt;BR /&gt;&lt;BR /&gt;I would also like to . somehow.. tell the two current PVs (by altering the metadata or something) that they are in a VG which contain only 2 PVs.. not 7 (just to avoid that annoying error msg).&lt;BR /&gt;&lt;BR /&gt;the autobackup option: i did not disable it first but then i tried that two.. i dont think it would have made any difference.. the failed PVs were persistent in that VG and i did not find any way to remove them online. had to export and import to fix that.&lt;BR /&gt;&lt;BR /&gt;still my question stands.. any ideas on how to force remove LVs or PVs from a VG if they have failed.. ALL ONLINE ?</description>
      <pubDate>Thu, 17 Mar 2005 12:43:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-frustrating-problem/m-p/3505638#M217406</guid>
      <dc:creator>Wessam</dc:creator>
      <dc:date>2005-03-17T12:43:56Z</dc:date>
    </item>
  </channel>
</rss>

