- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Cannot lock "/etc/lvmconf//lvm_lock" still trying....
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-23-2006 07:48 AM
тАО10-23-2006 07:48 AM
Cannot lock "/etc/lvmconf//lvm_lock" still trying...
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=17315&admit=-682735245+1161631721362+28353475
and
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=135162
However, I don't think they answer my question... hopefully I'm not repeating work here.
I run a nightly clone script that mounts the clone on the same host as the source luns, as a different set of VGs.
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.
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.
The step in question is a script that cleans up the previous night's work running, in a loop,
vgchange -a n vg1* (where * increments)
vgexport vg1*
both times the vgexport command of the final vg failed...
By the time we log onto the system, the /etc/lvmconf/lvm_lock file is no longer locked.
I know it's only twice, but it's a little annoying...
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?
Thanks in advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-23-2006 08:19 AM
тАО10-23-2006 08:19 AM
Re: Cannot lock "/etc/lvmconf//lvm_lock" still trying...
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-23-2006 08:36 AM
тАО10-23-2006 08:36 AM
Re: Cannot lock "/etc/lvmconf//lvm_lock" still trying...
Thanks for the quick response...
And yes, I am running many commands... but the error doesn't always occur...
I agree with you completely... but I was wondering if I should be putting some form of delay between the commands...
and if so, how much of one?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-23-2006 08:39 AM
тАО10-23-2006 08:39 AM
Re: Cannot lock "/etc/lvmconf//lvm_lock" still trying...
Its possible you are dealing with a bug. We've seen some odd behavior on unpatched machines with this kind of setup.
Perhaps the place to look is patching.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-23-2006 09:36 AM
тАО10-23-2006 09:36 AM
Re: Cannot lock "/etc/lvmconf//lvm_lock" still trying...
Shalom,
Its possible you are dealing with a bug. We've seen some odd behavior on unpatched machines with this kind of setup.
Perhaps the place to look is patching.
SEP
[/quote]
Yeah... thought of that... in fact we had a fairly big issue in September, with what I was told were "known & undocumented LVM issues" :(
Anyway we've applied patches recently... the error has occurred both before and after the last round of patching...
My sysadmin applied a "custom patch bundle" which he thinks put us to the September maintenance... he's checking on that...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-23-2006 10:24 PM
тАО10-23-2006 10:24 PM
Re: Cannot lock "/etc/lvmconf//lvm_lock" still trying...
I know in the script unless the command is completed it does not go to other one but I still prefer using some delay.
Thx,
Pradeep.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-25-2006 05:00 AM
тАО10-25-2006 05:00 AM
Re: Cannot lock "/etc/lvmconf//lvm_lock" still trying...
Wish there was something more "official"...
:)
Dave