- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- vgcreate hanging, lvm now locked and unable to kil...
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
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
тАО05-31-2005 10:08 PM
тАО05-31-2005 10:08 PM
vgcreate hanging, lvm now locked and unable to kill process
I am using an Itanium system and trying to create a new vg. The vgcreate command is now just hanging (have left over 24hrs to see if the process would abort but it hasn't).
From reading some other threads in the Forum this does appear to be a know problem on Itanium system.
The problem is that the lock file has been created and I am unable to use any other LVM commands (msg "Cannot lock "/etc/lvmconf//lvm_lock" still trying ...
" appears).
I have been unable to kill the process in any way. Probably because it is hanging on i/o.
The only option I have left is to reboot the server. The question is will this remove the lvm_lock and kill the process on shutdown.
Also looking at lvmtab file it does not contain the new vg and accosiated disk. Is this going to cause an issue ?
Any advice would be helpful.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-31-2005 10:12 PM
тАО05-31-2005 10:12 PM
Re: vgcreate hanging, lvm now locked and unable to kill process
Also looking at lvmtab file it DOES contain the new vg and accosiated disk. Is this going to cause an issue ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-31-2005 10:22 PM
тАО05-31-2005 10:22 PM
Re: vgcreate hanging, lvm now locked and unable to kill process
Read this DOC to understand the message before going further:
http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000063200620
Best Regards,
Eric Antunes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-31-2005 10:34 PM
тАО05-31-2005 10:34 PM
Re: vgcreate hanging, lvm now locked and unable to kill process
http://www5.itrc.hp.com/service/cki/search.do?category=c0&mode=id&searchString=KBRC00002639&searchCrit=allwords&docType=Security&docType=Patch&docType=EngineerNotes&docType=BugReports&docType=Hardware&docType=ReferenceMaterials&docType=ThirdParty&search.x=24&search.y=12
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-31-2005 11:24 PM
тАО05-31-2005 11:24 PM
Re: vgcreate hanging, lvm now locked and unable to kill process
The most easy way is rebooting your server to solve the problem. Check if there are no other vg or lv process are running before you reexecute it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-01-2005 01:58 AM
тАО06-01-2005 01:58 AM
Re: vgcreate hanging, lvm now locked and unable to kill process
look like you are hitting this known problem with 11.23:
( SR:8606326791 CR:JAGae89066 )
On some larger disks, the vgcreate(1M) command fails and
may lead to a hang. For example, on a 146GB disk:
$ mkdir /dev/vg01
$ mknod /dev/vg01/group c 64 0x010000
$pvcreate -f /dev/rdsk/c2t0d0
Physical volume "/dev/rdsk/c2t0d0" has been
successfully created.
$ vgcreate vg01 /dev/dsk/c2t0d0
Increased the number of physical extents per
physical volume to 35003.
The process then hangs and cannot be killed. It may even
block a reboot. Manually adjusting the pe_size to 8MB will
workaround the problem.
This is fixed with PHKL_31500. At this point a reboot is the only way out. Later, you may use the -e option of vgcreate(1M) to workaround that issue (see above). However, I would urge you to install this LVM kernel patch asap.
Best regards..
Dietmar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-01-2005 02:04 PM
тАО06-01-2005 02:04 PM
Re: vgcreate hanging, lvm now locked and unable to kill process
This is a know problem in Itanium.
For Disks more than certain capacity (not sure exactly how much, approx 3 digit GB)..When u just simply give "vgcreate /dev/vgxx" it will hang as the Metadata structure can't be accomodated in 4MB LE/PE. As the vgcreate uses 4 MB by default. Try using higher number with "-s" option which determines the PE size.
ex : vgcreate -s 16 /dev/vgxx.
This is a temp solution, to get going with your vg creation. Usaully it souldn't take more than a few seconds as a thumb rule for this process.
As Dietmar Konermann suggested you can patch this issue..as you will never know, you might forget this point in future.. and may involke the command vgcrete without "-s" option.
regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-01-2005 05:19 PM
тАО06-01-2005 05:19 PM
Re: vgcreate hanging, lvm now locked and unable to kill process
The same problem has been faced by me...what I did is rebooted the server...no other way...
after reboot i could find the newvg name in /etc/lvmtab and I exported the vg using vgexport /dev/vgxx.
then
# mkdir /dev/vg01
# mknod /dev/vg01/group c 64 0x010000
# pvcreate -f /dev/rdsk/c3t2d0
Physical volume "/dev/rdsk/c3t2d0" has been
successfully created.
# vgcreate -s 32 /dev/vg01 /dev/dsk/c3t2d0
the (-s) option will change the PE Size to 32 and now it will create the vg.
note: if you are adding another disk and extending the vg, no need to give -s option.
just give...
#vgextend /dev/vg01 /dev/dsk/c3t3d0.
hope this should solve your problem...eventhough try for installing the patch also...
regds,
Venkatesan.