<?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 Cannot lock &amp;quot;/etc/lvmconf//lvm_lock&amp;quot; still trying... in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-lock-quot-etc-lvmconf-lvm-lock-quot-still-trying/m-p/3885184#M613011</link>
    <description>I've seen the following threads &lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=17315&amp;amp;admit=-682735245+1161631721362+28353475" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=17315&amp;amp;admit=-682735245+1161631721362+28353475&lt;/A&gt;&lt;BR /&gt;and &lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=135162" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=135162&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;However, I don't think they answer my question... hopefully I'm not repeating work here.&lt;BR /&gt;&lt;BR /&gt;I run a nightly clone script that mounts the clone on the same host as the source luns, as a different set of VGs.&lt;BR /&gt;&lt;BR /&gt;I clone vgs 01, 02, 03, 04 and mount them as 11, 12, 13, 14, using an export of the source luns that is created nightly.&lt;BR /&gt;&lt;BR /&gt;Twice now, in the last 4 months, we have had the job fail due to the /etc/lvmconf/lvm_lock being locked. Both times it occurred at the same step. &lt;BR /&gt;&lt;BR /&gt;The step in question is a script that cleans up the previous night's work running, in a loop, &lt;BR /&gt;&lt;BR /&gt;vgchange -a n vg1* (where * increments)&lt;BR /&gt;vgexport vg1*&lt;BR /&gt;&lt;BR /&gt;both times the vgexport command of the final vg failed...&lt;BR /&gt;&lt;BR /&gt;By the time we log onto the system, the /etc/lvmconf/lvm_lock file is no longer locked.&lt;BR /&gt;&lt;BR /&gt;I know it's only twice, but it's a little annoying...&lt;BR /&gt;&lt;BR /&gt;Is there a max number of concurrent commands that can be queued up for lvmconf? Should I be putting a delay in each of lopps?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance</description>
    <pubDate>Mon, 23 Oct 2006 14:48:26 GMT</pubDate>
    <dc:creator>David Silvestri</dc:creator>
    <dc:date>2006-10-23T14:48:26Z</dc:date>
    <item>
      <title>Cannot lock "/etc/lvmconf//lvm_lock" still trying...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-lock-quot-etc-lvmconf-lvm-lock-quot-still-trying/m-p/3885184#M613011</link>
      <description>I've seen the following threads &lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=17315&amp;amp;admit=-682735245+1161631721362+28353475" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=17315&amp;amp;admit=-682735245+1161631721362+28353475&lt;/A&gt;&lt;BR /&gt;and &lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=135162" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=135162&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;However, I don't think they answer my question... hopefully I'm not repeating work here.&lt;BR /&gt;&lt;BR /&gt;I run a nightly clone script that mounts the clone on the same host as the source luns, as a different set of VGs.&lt;BR /&gt;&lt;BR /&gt;I clone vgs 01, 02, 03, 04 and mount them as 11, 12, 13, 14, using an export of the source luns that is created nightly.&lt;BR /&gt;&lt;BR /&gt;Twice now, in the last 4 months, we have had the job fail due to the /etc/lvmconf/lvm_lock being locked. Both times it occurred at the same step. &lt;BR /&gt;&lt;BR /&gt;The step in question is a script that cleans up the previous night's work running, in a loop, &lt;BR /&gt;&lt;BR /&gt;vgchange -a n vg1* (where * increments)&lt;BR /&gt;vgexport vg1*&lt;BR /&gt;&lt;BR /&gt;both times the vgexport command of the final vg failed...&lt;BR /&gt;&lt;BR /&gt;By the time we log onto the system, the /etc/lvmconf/lvm_lock file is no longer locked.&lt;BR /&gt;&lt;BR /&gt;I know it's only twice, but it's a little annoying...&lt;BR /&gt;&lt;BR /&gt;Is there a max number of concurrent commands that can be queued up for lvmconf? Should I be putting a delay in each of lopps?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance</description>
      <pubDate>Mon, 23 Oct 2006 14:48:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-lock-quot-etc-lvmconf-lvm-lock-quot-still-trying/m-p/3885184#M613011</guid>
      <dc:creator>David Silvestri</dc:creator>
      <dc:date>2006-10-23T14:48:26Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot lock "/etc/lvmconf//lvm_lock" still trying...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-lock-quot-etc-lvmconf-lvm-lock-quot-still-trying/m-p/3885185#M613012</link>
      <description>friend &lt;BR /&gt;normally when this happens and because ja exists some command using the LVM function that you this using, then it effects a Lock so that no error of sincronysmo does not exist. ef tries ps - |grep vgchange and verifies if some command in imprisoned air exists.</description>
      <pubDate>Mon, 23 Oct 2006 15:19:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-lock-quot-etc-lvmconf-lvm-lock-quot-still-trying/m-p/3885185#M613012</guid>
      <dc:creator>Calandrello</dc:creator>
      <dc:date>2006-10-23T15:19:39Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot lock "/etc/lvmconf//lvm_lock" still trying...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-lock-quot-etc-lvmconf-lvm-lock-quot-still-trying/m-p/3885186#M613013</link>
      <description>Calandrello,&lt;BR /&gt;&lt;BR /&gt;Thanks for the quick response... &lt;BR /&gt;&lt;BR /&gt;And yes, I am running many commands... but the error doesn't always occur...&lt;BR /&gt;&lt;BR /&gt;I agree with you completely... but I was wondering if I should be putting some form of delay between the commands...&lt;BR /&gt;&lt;BR /&gt;and if so, how much of one?</description>
      <pubDate>Mon, 23 Oct 2006 15:36:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-lock-quot-etc-lvmconf-lvm-lock-quot-still-trying/m-p/3885186#M613013</guid>
      <dc:creator>David Silvestri</dc:creator>
      <dc:date>2006-10-23T15:36:28Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot lock "/etc/lvmconf//lvm_lock" still trying...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-lock-quot-etc-lvmconf-lvm-lock-quot-still-trying/m-p/3885187#M613014</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;Its possible you are dealing with a bug. We've seen some odd behavior on unpatched machines with this kind of setup.&lt;BR /&gt;&lt;BR /&gt;Perhaps the place to look is patching.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 23 Oct 2006 15:39:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-lock-quot-etc-lvmconf-lvm-lock-quot-still-trying/m-p/3885187#M613014</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-10-23T15:39:09Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot lock "/etc/lvmconf//lvm_lock" still trying...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-lock-quot-etc-lvmconf-lvm-lock-quot-still-trying/m-p/3885188#M613015</link>
      <description>[quote]&lt;BR /&gt;Shalom,&lt;BR /&gt;&lt;BR /&gt;Its possible you are dealing with a bug. We've seen some odd behavior on unpatched machines with this kind of setup.&lt;BR /&gt;&lt;BR /&gt;Perhaps the place to look is patching.&lt;BR /&gt;&lt;BR /&gt;SEP &lt;BR /&gt;&lt;BR /&gt;[/quote]&lt;BR /&gt;&lt;BR /&gt;Yeah... thought of that... in fact we had a fairly big issue in September, with what I was told were "known &amp;amp; undocumented LVM issues" :(&lt;BR /&gt;&lt;BR /&gt;Anyway we've applied patches recently... the error has occurred both before and after the last round of patching... &lt;BR /&gt;&lt;BR /&gt;My sysadmin applied a "custom patch bundle" which he thinks put us to the September maintenance... he's checking on that...</description>
      <pubDate>Mon, 23 Oct 2006 16:36:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-lock-quot-etc-lvmconf-lvm-lock-quot-still-trying/m-p/3885188#M613015</guid>
      <dc:creator>David Silvestri</dc:creator>
      <dc:date>2006-10-23T16:36:16Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot lock "/etc/lvmconf//lvm_lock" still trying...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-lock-quot-etc-lvmconf-lvm-lock-quot-still-trying/m-p/3885189#M613016</link>
      <description>May be it is a known bug but I recommend using some delay of atleast 5 seconds.&lt;BR /&gt;I know in the script unless the command is completed it does not go to other one but I still prefer using some delay.&lt;BR /&gt;&lt;BR /&gt;Thx,&lt;BR /&gt;Pradeep.</description>
      <pubDate>Tue, 24 Oct 2006 05:24:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-lock-quot-etc-lvmconf-lvm-lock-quot-still-trying/m-p/3885189#M613016</guid>
      <dc:creator>Pradeep_29</dc:creator>
      <dc:date>2006-10-24T05:24:55Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot lock "/etc/lvmconf//lvm_lock" still trying...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-lock-quot-etc-lvmconf-lvm-lock-quot-still-trying/m-p/3885190#M613017</link>
      <description>Thanks Pradeep... I have added the sleep command (I was originally going to use 2 seconds... but 5 is fine)&lt;BR /&gt;&lt;BR /&gt;Wish there was something more "official"...&lt;BR /&gt;&lt;BR /&gt;:)&lt;BR /&gt;&lt;BR /&gt;Dave</description>
      <pubDate>Wed, 25 Oct 2006 12:00:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-lock-quot-etc-lvmconf-lvm-lock-quot-still-trying/m-p/3885190#M613017</guid>
      <dc:creator>David Silvestri</dc:creator>
      <dc:date>2006-10-25T12:00:24Z</dc:date>
    </item>
  </channel>
</rss>

