<?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: lvmerge error in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/lvmerge-error/m-p/4924827#M619397</link>
    <description>You can kill lvmerge. but chances are that it &lt;BR /&gt;is waiting on i/o and will not be killed.&lt;BR /&gt;&lt;BR /&gt;By any chance, if it gets killed, do vgreduce for that disk, replace (if not hot swappable, you will have to do reboot),&lt;BR /&gt;vgcfgrestore on disk and lvmerge.&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Fri, 09 Sep 2005 06:27:35 GMT</pubDate>
    <dc:creator>RAC_1</dc:creator>
    <dc:date>2005-09-09T06:27:35Z</dc:date>
    <item>
      <title>lvmerge error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvmerge-error/m-p/4924826#M619396</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;We have got a failed disk as part of a mirrored LVM set.&lt;BR /&gt;&lt;BR /&gt;the disk that has failed contains lvol7 and 8 in vg00.  The failure occured during our backup window and so a variety of other lvms have not merged back.  I am lvmerging them now and all have worked so far except for one that lives in vg00.  it has merged but the conf data has not written out to /etc/lvmconf/vg00.conf - it has just hung!&lt;BR /&gt;&lt;BR /&gt;commands and output below:&lt;BR /&gt;&lt;BR /&gt;root/jobs $umount /dev/vg00/usersbackup&lt;BR /&gt;/root/jobs $lvmerge /dev/vg00/usersbackup /dev/vg00/users&lt;BR /&gt;Logical volume "/dev/vg00/usersbackup" has been successfully merged&lt;BR /&gt;with logical volume "/dev/vg00/users".&lt;BR /&gt;Logical volume "/dev/vg00/usersbackup" has been successfully removed.&lt;BR /&gt;&lt;BR /&gt;**shell is hung - flashing cursor**&lt;BR /&gt;&lt;BR /&gt;Can I kill the lvmerge process?&lt;BR /&gt;Do I need to do anything with my vg00.conf file?&lt;BR /&gt;&lt;BR /&gt;I don't want to wipe out the whole of vg00 for obvious reasons!!!&lt;BR /&gt;&lt;BR /&gt;cheers &lt;BR /&gt;Guy</description>
      <pubDate>Fri, 09 Sep 2005 06:19:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvmerge-error/m-p/4924826#M619396</guid>
      <dc:creator>Guy Humphreys</dc:creator>
      <dc:date>2005-09-09T06:19:37Z</dc:date>
    </item>
    <item>
      <title>Re: lvmerge error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvmerge-error/m-p/4924827#M619397</link>
      <description>You can kill lvmerge. but chances are that it &lt;BR /&gt;is waiting on i/o and will not be killed.&lt;BR /&gt;&lt;BR /&gt;By any chance, if it gets killed, do vgreduce for that disk, replace (if not hot swappable, you will have to do reboot),&lt;BR /&gt;vgcfgrestore on disk and lvmerge.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 09 Sep 2005 06:27:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvmerge-error/m-p/4924827#M619397</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2005-09-09T06:27:35Z</dc:date>
    </item>
    <item>
      <title>Re: lvmerge error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvmerge-error/m-p/4924828#M619398</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;It is clear that the command is waiting for a I/O from the failed disk and will probably never complete unless it is timed out. In this case after waiting for a substiantial time if the process do not come out you can try killing it and removing the lock file /etc/lvmconf//lvm_lock.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Devender</description>
      <pubDate>Fri, 09 Sep 2005 07:40:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvmerge-error/m-p/4924828#M619398</guid>
      <dc:creator>Devender Khatana</dc:creator>
      <dc:date>2005-09-09T07:40:36Z</dc:date>
    </item>
    <item>
      <title>Re: lvmerge error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvmerge-error/m-p/4924829#M619399</link>
      <description>OK, I can kill the lvmerge process after about 10 mins and I have managed to merge most of the other lvms back so at least we have some redundancy.&lt;BR /&gt;&lt;BR /&gt;however, now I am trying to vgreduce the faulty disk and am getting another error.&lt;BR /&gt;&lt;BR /&gt;I broke the mirrors from the disk with lvreduce -m 0 but the lvol8 lvm was not mirrored anyway as it was still in a split state.  so I try and lvremove /dev/vg00/lvol8backup and cannot it says device busy.  so I do a ps -ef and see this little beastie!&lt;BR /&gt;&lt;BR /&gt;/sbin/fs/hfs/umount /dev/vg00/lvol8backup /backup/var&lt;BR /&gt;&lt;BR /&gt;I try and kill it and nothing, not even a -9 does the job.&lt;BR /&gt;&lt;BR /&gt;So it looks like I need a reboot, my question is how can I check that all my vg00 lvms come up after the reboot.  I am not confident that some corruption or other has affected them with all the problems/mucking about that has been done.  Can I save the vg00 config anywhere safe to recover from if needed?&lt;BR /&gt;&lt;BR /&gt;thanks as ever guys&lt;BR /&gt;&lt;BR /&gt;Guy</description>
      <pubDate>Fri, 09 Sep 2005 10:01:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvmerge-error/m-p/4924829#M619399</guid>
      <dc:creator>Guy Humphreys</dc:creator>
      <dc:date>2005-09-09T10:01:37Z</dc:date>
    </item>
    <item>
      <title>Re: lvmerge error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvmerge-error/m-p/4924830#M619400</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You can check using bdf command wheather everything is mounted or not to ensure that all file systems are available.&lt;BR /&gt;&lt;BR /&gt;Also there should not be any problem since your LVOLs have a copy on the good disk which was used for only reading while syncing the faulty disk. &lt;BR /&gt;&lt;BR /&gt;/dev/vg00/vg00.conf should be the file enough to restore vg configuration. You can also recreate it anytime but currently system with a failed disk would probably not do that function as it involves scanning all the disks.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Just see the pvdisplay output of the good disk to ensure you have all the extents in current state and all splitted extents were from the faulty disk only.&lt;BR /&gt;&lt;BR /&gt;#pvdisplay -v /dev/dsk/cxtydz |grep -i stale(Cxtydz is the good disk)&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Devender</description>
      <pubDate>Sat, 10 Sep 2005 00:06:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvmerge-error/m-p/4924830#M619400</guid>
      <dc:creator>Devender Khatana</dc:creator>
      <dc:date>2005-09-10T00:06:11Z</dc:date>
    </item>
    <item>
      <title>Re: lvmerge error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvmerge-error/m-p/4924831#M619401</link>
      <description>reboot did the trick, the disk was in a worse state than before, could even read it this time.&lt;BR /&gt;&lt;BR /&gt;did a vgreduce -f&lt;BR /&gt;swapped the disk and then remirrored the lvms&lt;BR /&gt;&lt;BR /&gt;cheers all&lt;BR /&gt;Guy</description>
      <pubDate>Mon, 12 Sep 2005 03:30:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvmerge-error/m-p/4924831#M619401</guid>
      <dc:creator>Guy Humphreys</dc:creator>
      <dc:date>2005-09-12T03:30:04Z</dc:date>
    </item>
  </channel>
</rss>

