- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: vgcreate hangs
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
Forums
Discussions
Discussions
Discussions
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
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
01-05-2004 05:22 PM
01-05-2004 05:22 PM
vgcreate hangs
In hpux 11.23 when I use SAM or vgcreate creating a new VG containing one disk the system hangs there and cannot finish. No message come out from this session screen or other syslog.
From other session I tried vgdisplay or something else I got Cannot lock "/etc/lvmconf//lvm_lock" still trying ..............
I tried rebooted and using another SCSI disk with the another SCSI path, nothing changed.
Really strange. Any solutions?
Thx.
Tommy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2004 05:33 PM
01-05-2004 05:33 PM
Re: vgcreate hangs
I think some other LVM command like lvsync or vgsync is running on same VG.
Please look at this thread for more info..
http://forums1.itrc.hp.com/service/forums/bizsupport/parseCurl.do?CURL=%2Fcm%2FQuestionAnswer%2F1%2C%2C0xf7687bb04b5cd611abdb0090277a778c%2C00.html&forumId=2&admit=716493758+1073370666010+28353475
Sunil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2004 05:37 PM
01-05-2004 05:37 PM
Re: vgcreate hangs
Steps
1. Use ioscan to find device file name for the new disk: #ioscan -funC Disk
2. May initialize the disk: #mediainit -v /dev/rdsk/c0t3d0
3. Use pvcreate command to create LVM data structures needed by LVM to begin using the disk as a physical volume. If the disk was previously part of another group, you may need to use the -f option on pvcreate:
#pvcreate -f /dev/rdsk/c0t3d0
The disk is now ready to be added to a new or existing volume group.
4. Create a directory /dev/vgnn for the volume group.
5. Create control file /dev/vgnn/group. This file provides the means by which LVM kernel and LVM commands communicate within the volume group.
#mknod /dev/vg01/group 64 0x010000 Where 64 is major number (Always). 0x010000 is minor number (Always ends in 0000). hh is the hexadecimal representation of the volume group number. The group files should be owner by root, with rw-r----- permissions.
6. Create the volume group and specify the physical volumes it will contain. You can assign several volumes to a group at one time. #vgcreate /dev/vg01
sks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2004 06:55 PM
01-05-2004 06:55 PM
Re: vgcreate hangs
obviously one of the LVM commands SAM is using hangs while holding a lock on the lvm_lock file.
Check with fuser(1M) what process has that file open. Is it a vgcreate? Or a pvcreate?
# fuser /etc/lvmconf/lvm_lock
What worries me is the fact that you see the same problem with other disks on other paths also. Hardware problems seem to be ruled out though. But what about the root VG? Do you see messages in dmesg/syslog.log?
In the case that vgcreate hangs.... what VG parameters are you using and how long do you wait? The VGRA on disk can get quite large if you choose certain combinations of paramters... so the vgcreate and the following vgcfgbackup could take really long.
Best regards...
Dietmar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2004 11:32 PM
01-18-2004 11:32 PM
Re: vgcreate hangs
# fuser /etc/lvmconf/lvm_lock
/etc/lvmconf/lvm_lock: 25048
# ps -fp 25048
UID PID PPID C STIME TTY TIME COMMAND
root 25048 25047 0 Dec 29 pts/0 0:00 /sbin/vgcreate -e 35004 -l
255 -p 16 -s 4 /dev/vgdata /dev/dsk/
The customer has tried rebooting but this doesn't resolve the problem. Any suggestions?
Thanks,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2004 01:53 AM
01-19-2004 01:53 AM
Re: vgcreate hangs
I just found that there's a known problem (JAGae89066) that may cause a vgcreate command to hang on 11.23, if the VGRA gets larger than a single physical extent (error code path!).
A simple workaround for this problem is to choose a larger extent size using the -s option of vgcreate.
The 1st LVM kernel patch for 11.23 is shuld include a fix for this defect.
Best regards...
Dietmar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2004 03:17 AM
01-19-2004 03:17 AM
Re: vgcreate hangs
Is there a paper we can download on that known problem?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2004 04:14 AM
01-19-2004 04:14 AM
Re: vgcreate hangs
Looks like JAGae89066 is only internally viewable... so I'm afraid the answer is currently 'no'.
Please note that the problem is only in the error handling code path. Instead of hanging the vgcreate command should print the well known "File too large" error.
Best regards...
Dietmar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2004 02:34 AM
01-22-2004 02:34 AM
Re: vgcreate hangs
Thanks,
John