<?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: corrupted mirrored disk in logical volume in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/corrupted-mirrored-disk-in-logical-volume/m-p/3488796#M214575</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Henk was referring to this document.&lt;BR /&gt;&lt;BR /&gt;Document description: LVM: Removing A "Ghost Disk"&lt;BR /&gt;Document id: LVMKBRC00006257&lt;BR /&gt;&lt;BR /&gt;Europe&lt;BR /&gt;&lt;A href="http://www4.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000066581312" target="_blank"&gt;http://www4.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000066581312&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;US&lt;BR /&gt;&lt;A href="http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000066581312" target="_blank"&gt;http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000066581312&lt;/A&gt;</description>
    <pubDate>Fri, 18 Feb 2005 09:23:00 GMT</pubDate>
    <dc:creator>Robert-Jan Goossens</dc:creator>
    <dc:date>2005-02-18T09:23:00Z</dc:date>
    <item>
      <title>corrupted mirrored disk in logical volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/corrupted-mirrored-disk-in-logical-volume/m-p/3488788#M214567</link>
      <description>There was a failed disk on the server which required replacement. The onsite engineer swapped the wrong disk by mistake and then, hours later, put it back in and then swapped the faulty disk that actually needed replacement. This affected the disk management software and thus the application.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The logical volume lvol4 contains 2 disks x &amp;amp; y out of which y got damaged. when i issue lvdisplay it is displaying x in good state and y in stale state..&lt;BR /&gt;&lt;BR /&gt;our plan is to lvreduce the damaged disk and recreate the mirror but when i issue lvreduce i am getting an error  &lt;BR /&gt;&lt;BR /&gt;# lvreduce -m 0 /dev/vg01/lvol4 /dev/dsk/c6t13d0 &lt;BR /&gt;lvreduce: Warning: couldn't query physical volume "/dev/dsk/c6t13d0":&lt;BR /&gt;The specified path does not correspond to physical volume attached to &lt;BR /&gt;this volume group&lt;BR /&gt;lvreduce: Warning: couldn't query all of the physical volumes.&lt;BR /&gt;lvreduce: Physical volume "/dev/dsk/c6t13d0" does not belong&lt;BR /&gt;to volume group "/dev/vg01".&lt;BR /&gt;Logical volume "/dev/vg01/lvol4" is not reduced.&lt;BR /&gt;&lt;BR /&gt;How to go ahead in rectifying the same. As this is a production server reboot is not possible.</description>
      <pubDate>Fri, 18 Feb 2005 08:24:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/corrupted-mirrored-disk-in-logical-volume/m-p/3488788#M214567</guid>
      <dc:creator>Jagadesh_2</dc:creator>
      <dc:date>2005-02-18T08:24:17Z</dc:date>
    </item>
    <item>
      <title>Re: corrupted mirrored disk in logical volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/corrupted-mirrored-disk-in-logical-volume/m-p/3488789#M214568</link>
      <description>Is  /dev/dsk/c6t13d0 disk x or disk y in your description?&lt;BR /&gt;</description>
      <pubDate>Fri, 18 Feb 2005 08:33:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/corrupted-mirrored-disk-in-logical-volume/m-p/3488789#M214568</guid>
      <dc:creator>Stephen Keane</dc:creator>
      <dc:date>2005-02-18T08:33:56Z</dc:date>
    </item>
    <item>
      <title>Re: corrupted mirrored disk in logical volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/corrupted-mirrored-disk-in-logical-volume/m-p/3488790#M214569</link>
      <description>If the disk has been replaced you should restore the vg-config on it and re-sync.&lt;BR /&gt;vgcfgrestore -n /dev/vg04 /dev/rdsk/c6t13d0&lt;BR /&gt;vgchange -a y vg04&lt;BR /&gt;&lt;BR /&gt;you MAY have to run 'vgsync vg04'.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Trond</description>
      <pubDate>Fri, 18 Feb 2005 08:37:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/corrupted-mirrored-disk-in-logical-volume/m-p/3488790#M214569</guid>
      <dc:creator>Trond Haugen</dc:creator>
      <dc:date>2005-02-18T08:37:44Z</dc:date>
    </item>
    <item>
      <title>Re: corrupted mirrored disk in logical volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/corrupted-mirrored-disk-in-logical-volume/m-p/3488791#M214570</link>
      <description>disk Y is the mirrored disk.&lt;BR /&gt;The original disk X is safe.</description>
      <pubDate>Fri, 18 Feb 2005 08:42:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/corrupted-mirrored-disk-in-logical-volume/m-p/3488791#M214570</guid>
      <dc:creator>Jagadesh_2</dc:creator>
      <dc:date>2005-02-18T08:42:39Z</dc:date>
    </item>
    <item>
      <title>Re: corrupted mirrored disk in logical volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/corrupted-mirrored-disk-in-logical-volume/m-p/3488792#M214571</link>
      <description>hi Jagadesh &lt;BR /&gt;use the lvdisplay command to find the 'pvkey'&lt;BR /&gt;lvdisplay -v /dev/vgo1/lvol4&lt;BR /&gt;.....&lt;BR /&gt;for example&lt;BR /&gt;   --- Distribution of logical volume ---&lt;BR /&gt;   PV Name            LE on PV  PE on PV&lt;BR /&gt;   ??????             38        38&lt;BR /&gt;   /dev/dsk/c2t6d0    38        38&lt;BR /&gt;&lt;BR /&gt;   --- Logical extents ---&lt;BR /&gt;   LE    PV1                PE1   Status 1 PV2                PE2   Status 2&lt;BR /&gt;   00000 ???????????????    04228 current  /dev/dsk/c2t6d0    04228 current&lt;BR /&gt;   00001 ???????????????    04229 current  /dev/dsk/c2t6d0    04229 current&lt;BR /&gt;   00002 ????????????????    04230 current  /dev/dsk/c2t6d0    04230 current&lt;BR /&gt;......&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;lvdisplay -v -k /dev/vg01/lvol4&lt;BR /&gt;&lt;BR /&gt;output will be something like :&lt;BR /&gt;   --- Logical extents ---&lt;BR /&gt;   LE    PV1                PE1   Status 1 PV2                PE2   Status 2&lt;BR /&gt;   00000      0             04228 current       1             04228 current&lt;BR /&gt;   00001      0             04229 current       1             04229 current&lt;BR /&gt;   00002      0             04230 current       1             04230 current&lt;BR /&gt;   00003      0             04231 current       1             04231 current&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;use the pvkey value to reduce the lvol:&lt;BR /&gt;&lt;BR /&gt;lvreduce -k -m 0 /dev/vg02/lvol4 &lt;PVKEYVALUE&gt;&lt;BR /&gt;(in my example 0)&lt;BR /&gt;&lt;BR /&gt;See also man lvreduce -k option.....&lt;BR /&gt;&lt;BR /&gt;Regards.&lt;BR /&gt;Henk&lt;BR /&gt;&lt;BR /&gt;&lt;/PVKEYVALUE&gt;</description>
      <pubDate>Fri, 18 Feb 2005 08:48:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/corrupted-mirrored-disk-in-logical-volume/m-p/3488792#M214571</guid>
      <dc:creator>Henk Geurts</dc:creator>
      <dc:date>2005-02-18T08:48:06Z</dc:date>
    </item>
    <item>
      <title>Re: corrupted mirrored disk in logical volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/corrupted-mirrored-disk-in-logical-volume/m-p/3488793#M214572</link>
      <description>Try to do what Trond says...&lt;BR /&gt;&lt;BR /&gt;use vgcfgrestore...&lt;BR /&gt;&lt;BR /&gt;As at the moment - there is no volumegroup info on that disk - that's why you are getting the error messages...&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Fri, 18 Feb 2005 08:51:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/corrupted-mirrored-disk-in-logical-volume/m-p/3488793#M214572</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2005-02-18T08:51:09Z</dc:date>
    </item>
    <item>
      <title>Re: corrupted mirrored disk in logical volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/corrupted-mirrored-disk-in-logical-volume/m-p/3488794#M214573</link>
      <description>Hi,&lt;BR /&gt;I tried vgcfgrestore but i am getting an error like&lt;BR /&gt;&lt;BR /&gt;#vgcfgrestore -n /dev/vg01 /dev/rdsk/c6t13d0&lt;BR /&gt;vgcfgrestore: Couldn't query physical volume "/dev/dsk/c6t13d0":&lt;BR /&gt;The specified path does not correspond to physical volume attached to &lt;BR /&gt;this volume group&lt;BR /&gt;Volume Group configuration has been restored to /dev/rdsk/c6t13d0&lt;BR /&gt;&lt;BR /&gt;when i do pvdisplay / lvdisplay i am getting the following error&lt;BR /&gt;&lt;BR /&gt;# pvdisplay -v /dev/dsk/c6t13d0 |more&lt;BR /&gt;pvdisplay: Warning: couldn't query physical volume "/dev/dsk/c6t13d0":&lt;BR /&gt;The specified path does not correspond to physical volume attached to &lt;BR /&gt;this volume group&lt;BR /&gt;pvdisplay: Warning: couldn't query all of the physical volumes.&lt;BR /&gt;pvdisplay: Couldn't retrieve the names of the physical volumes&lt;BR /&gt;belonging to volume group "/dev/vg01".&lt;BR /&gt;pvdisplay: Cannot display physical volume "/dev/dsk/c6t13d0".&lt;BR /&gt;udmsh02:lvmconf # lvdisplay -v /dev/vg01/lvol4 |more&lt;BR /&gt;lvdisplay: Warning: couldn't query physical volume "/dev/dsk/c6t13d0":&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;</description>
      <pubDate>Fri, 18 Feb 2005 09:17:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/corrupted-mirrored-disk-in-logical-volume/m-p/3488794#M214573</guid>
      <dc:creator>Jagadesh_2</dc:creator>
      <dc:date>2005-02-18T09:17:03Z</dc:date>
    </item>
    <item>
      <title>Re: corrupted mirrored disk in logical volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/corrupted-mirrored-disk-in-logical-volume/m-p/3488795#M214574</link>
      <description>Hi,&lt;BR /&gt;I tried vgcfgrestore but i am getting an error like&lt;BR /&gt;&lt;BR /&gt;#vgcfgrestore -n /dev/vg01 /dev/rdsk/c6t13d0&lt;BR /&gt;vgcfgrestore: Couldn't query physical volume "/dev/dsk/c6t13d0":&lt;BR /&gt;The specified path does not correspond to physical volume attached to &lt;BR /&gt;this volume group&lt;BR /&gt;Volume Group configuration has been restored to /dev/rdsk/c6t13d0&lt;BR /&gt;&lt;BR /&gt;when i do pvdisplay / lvdisplay i am getting the following error&lt;BR /&gt;&lt;BR /&gt;# pvdisplay -v /dev/dsk/c6t13d0 |more&lt;BR /&gt;pvdisplay: Warning: couldn't query physical volume "/dev/dsk/c6t13d0":&lt;BR /&gt;The specified path does not correspond to physical volume attached to &lt;BR /&gt;this volume group&lt;BR /&gt;pvdisplay: Warning: couldn't query all of the physical volumes.&lt;BR /&gt;pvdisplay: Couldn't retrieve the names of the physical volumes&lt;BR /&gt;belonging to volume group "/dev/vg01".&lt;BR /&gt;pvdisplay: Cannot display physical volume "/dev/dsk/c6t13d0".&lt;BR /&gt;&lt;BR /&gt;# lvdisplay -v /dev/vg01/lvol4 |more&lt;BR /&gt;lvdisplay: Warning: couldn't query physical volume "/dev/dsk/c6t13d0":&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;</description>
      <pubDate>Fri, 18 Feb 2005 09:17:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/corrupted-mirrored-disk-in-logical-volume/m-p/3488795#M214574</guid>
      <dc:creator>Jagadesh_2</dc:creator>
      <dc:date>2005-02-18T09:17:32Z</dc:date>
    </item>
    <item>
      <title>Re: corrupted mirrored disk in logical volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/corrupted-mirrored-disk-in-logical-volume/m-p/3488796#M214575</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Henk was referring to this document.&lt;BR /&gt;&lt;BR /&gt;Document description: LVM: Removing A "Ghost Disk"&lt;BR /&gt;Document id: LVMKBRC00006257&lt;BR /&gt;&lt;BR /&gt;Europe&lt;BR /&gt;&lt;A href="http://www4.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000066581312" target="_blank"&gt;http://www4.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000066581312&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;US&lt;BR /&gt;&lt;A href="http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000066581312" target="_blank"&gt;http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000066581312&lt;/A&gt;</description>
      <pubDate>Fri, 18 Feb 2005 09:23:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/corrupted-mirrored-disk-in-logical-volume/m-p/3488796#M214575</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2005-02-18T09:23:00Z</dc:date>
    </item>
    <item>
      <title>Re: corrupted mirrored disk in logical volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/corrupted-mirrored-disk-in-logical-volume/m-p/3488797#M214576</link>
      <description>Try re-activating the vg:&lt;BR /&gt;vgchange -a y vg01&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Trond</description>
      <pubDate>Fri, 18 Feb 2005 09:23:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/corrupted-mirrored-disk-in-logical-volume/m-p/3488797#M214576</guid>
      <dc:creator>Trond Haugen</dc:creator>
      <dc:date>2005-02-18T09:23:57Z</dc:date>
    </item>
    <item>
      <title>Re: corrupted mirrored disk in logical volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/corrupted-mirrored-disk-in-logical-volume/m-p/3488798#M214577</link>
      <description>see if the disk is still recorded in /etc/lvmtab - but I've got a few points still unclear:&lt;BR /&gt;&lt;BR /&gt;I don't see a single line of output that shows the disk as available. maybe it's the time of day, or maybe the disk is not available.&lt;BR /&gt;&lt;BR /&gt;is c6t13d0 seen in ioscan -fnCdisk or is it really missing? how can it be missing - was the replacement done to another slot/scsi id?&lt;BR /&gt;&lt;BR /&gt;can You access the disk using dd?&lt;BR /&gt;&lt;BR /&gt;You won't be able to do the lvreduce as long as this disk sits :)&lt;BR /&gt;&lt;BR /&gt;I think You'd have to either vgreduce -f, which won't work for the mirror le's, or pvcreate and vgcfgbackup and vgsync.</description>
      <pubDate>Fri, 18 Feb 2005 19:58:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/corrupted-mirrored-disk-in-logical-volume/m-p/3488798#M214577</guid>
      <dc:creator>Florian Heigl (new acc)</dc:creator>
      <dc:date>2005-02-18T19:58:14Z</dc:date>
    </item>
    <item>
      <title>Re: corrupted mirrored disk in logical volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/corrupted-mirrored-disk-in-logical-volume/m-p/3488799#M214578</link>
      <description>Ok this is a triggy one.&lt;BR /&gt;&lt;BR /&gt;First of all take out the faulted disk and don't put in a new. make sure the volume are running:&lt;BR /&gt;vgdisplay and lvdisplay.&lt;BR /&gt;&lt;BR /&gt;Now remove the missing pv:&lt;BR /&gt;# vgreduce -f /dev/vg01&lt;BR /&gt;PV with key 1 sucessfully deleted from vg /dev/vg01&lt;BR /&gt;&lt;BR /&gt;Move the existing lvmtab:&lt;BR /&gt;mv /etc/lvmtab /etc/lvmtab.old&lt;BR /&gt;&lt;BR /&gt;Now create a new lvmtab:&lt;BR /&gt;# vgscan -v&lt;BR /&gt;&lt;BR /&gt;Create a new vg01.conf&lt;BR /&gt;# vgcfgbackup vg01&lt;BR /&gt;&lt;BR /&gt;Now you Volume consists of only one mirror and you need to remirror it agiain. So but i the new disk and do:&lt;BR /&gt;ioscan&lt;BR /&gt;insf&lt;BR /&gt;find the new disk and add it to the vg01&lt;BR /&gt;pvcreate&lt;BR /&gt;vgextend&lt;BR /&gt;lvextend -m 1 ...&lt;BR /&gt;&lt;BR /&gt;look for more details at this link:&lt;BR /&gt;&lt;A href="http://www5.itrc.hp.com/service/iv/node.do?admit=552267591+1108810758895+28353475&amp;amp;node=prodITRC%2FWW_Start%2FN1%7C16%7C11" target="_blank"&gt;http://www5.itrc.hp.com/service/iv/node.do?admit=552267591+1108810758895+28353475&amp;amp;node=prodITRC%2FWW_Start%2FN1%7C16%7C11&lt;/A&gt;</description>
      <pubDate>Sat, 19 Feb 2005 06:00:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/corrupted-mirrored-disk-in-logical-volume/m-p/3488799#M214578</guid>
      <dc:creator>Jannik</dc:creator>
      <dc:date>2005-02-19T06:00:00Z</dc:date>
    </item>
  </channel>
</rss>

