<?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: vgcreate hangs in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/vgcreate-hangs/m-p/3156814#M629381</link>
    <description>Todd, &lt;BR /&gt; &lt;BR /&gt;Looks like JAGae89066 is only internally viewable... so I'm afraid the answer is currently 'no'.&lt;BR /&gt; &lt;BR /&gt;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.&lt;BR /&gt; &lt;BR /&gt;Best regards...&lt;BR /&gt;Dietmar.</description>
    <pubDate>Mon, 19 Jan 2004 12:14:40 GMT</pubDate>
    <dc:creator>Dietmar Konermann</dc:creator>
    <dc:date>2004-01-19T12:14:40Z</dc:date>
    <item>
      <title>vgcreate hangs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgcreate-hangs/m-p/3156807#M629374</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;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. &lt;BR /&gt;&lt;BR /&gt;From other session I tried vgdisplay or something else I got Cannot lock "/etc/lvmconf//lvm_lock" still trying ..............&lt;BR /&gt;&lt;BR /&gt;I tried rebooted and using another SCSI disk with the another SCSI path, nothing changed.&lt;BR /&gt;&lt;BR /&gt;Really strange. Any solutions?&lt;BR /&gt;&lt;BR /&gt;Thx. &lt;BR /&gt;                   Tommy&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 06 Jan 2004 01:22:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgcreate-hangs/m-p/3156807#M629374</guid>
      <dc:creator>tommy_28</dc:creator>
      <dc:date>2004-01-06T01:22:30Z</dc:date>
    </item>
    <item>
      <title>Re: vgcreate hangs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgcreate-hangs/m-p/3156808#M629375</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I think some other LVM command like lvsync or vgsync is running on same VG.&lt;BR /&gt;&lt;BR /&gt;Please look at this thread for more info..&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/bizsupport/parseCurl.do?CURL=%2Fcm%2FQuestionAnswer%2F1%2C%2C0xf7687bb04b5cd611abdb0090277a778c%2C00.html&amp;amp;forumId=2&amp;amp;admit=716493758+1073370666010+28353475" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/bizsupport/parseCurl.do?CURL=%2Fcm%2FQuestionAnswer%2F1%2C%2C0xf7687bb04b5cd611abdb0090277a778c%2C00.html&amp;amp;forumId=2&amp;amp;admit=716493758+1073370666010+28353475&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Sunil</description>
      <pubDate>Tue, 06 Jan 2004 01:33:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgcreate-hangs/m-p/3156808#M629375</guid>
      <dc:creator>Sunil Sharma_1</dc:creator>
      <dc:date>2004-01-06T01:33:22Z</dc:date>
    </item>
    <item>
      <title>Re: vgcreate hangs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgcreate-hangs/m-p/3156809#M629376</link>
      <description>I could recall following steps:&lt;BR /&gt;&lt;BR /&gt;Steps&lt;BR /&gt;1. Use ioscan to find device file name for the new disk: #ioscan -funC Disk&lt;BR /&gt;2. May initialize the disk: #mediainit -v /dev/rdsk/c0t3d0&lt;BR /&gt;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: &lt;BR /&gt;&lt;BR /&gt;#pvcreate -f /dev/rdsk/c0t3d0&lt;BR /&gt;&lt;BR /&gt;The disk is now ready to be added to a new or existing volume group.&lt;BR /&gt;&lt;BR /&gt;4. Create a directory /dev/vgnn for the volume group. &lt;BR /&gt;&lt;BR /&gt;5. Create control file /dev/vgnn/group. This file provides the means by which LVM kernel and LVM commands communicate within the volume group. &lt;BR /&gt;&lt;BR /&gt;#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. &lt;BR /&gt;&lt;BR /&gt;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 &lt;BR /&gt;&lt;BR /&gt;sks</description>
      <pubDate>Tue, 06 Jan 2004 01:37:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgcreate-hangs/m-p/3156809#M629376</guid>
      <dc:creator>Sanjay Kumar Suri</dc:creator>
      <dc:date>2004-01-06T01:37:51Z</dc:date>
    </item>
    <item>
      <title>Re: vgcreate hangs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgcreate-hangs/m-p/3156810#M629377</link>
      <description>Thommy,&lt;BR /&gt; &lt;BR /&gt;obviously one of the LVM commands SAM is using hangs while holding a lock on the lvm_lock file.&lt;BR /&gt; &lt;BR /&gt;Check with fuser(1M) what process has that file open. Is it a vgcreate? Or a pvcreate?&lt;BR /&gt; &lt;BR /&gt;# fuser /etc/lvmconf/lvm_lock&lt;BR /&gt; &lt;BR /&gt;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?&lt;BR /&gt; &lt;BR /&gt;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.&lt;BR /&gt; &lt;BR /&gt;Best regards...&lt;BR /&gt;Dietmar.&lt;BR /&gt; &lt;BR /&gt;</description>
      <pubDate>Tue, 06 Jan 2004 02:55:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgcreate-hangs/m-p/3156810#M629377</guid>
      <dc:creator>Dietmar Konermann</dc:creator>
      <dc:date>2004-01-06T02:55:14Z</dc:date>
    </item>
    <item>
      <title>Re: vgcreate hangs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgcreate-hangs/m-p/3156811#M629378</link>
      <description>I have a customer with the same problem of vgcreate hanging on 11.23:&lt;BR /&gt;&lt;BR /&gt;# fuser /etc/lvmconf/lvm_lock&lt;BR /&gt;/etc/lvmconf/lvm_lock:    25048&lt;BR /&gt;&lt;BR /&gt;# ps -fp 25048&lt;BR /&gt;     UID   PID  PPID  C    STIME TTY       TIME COMMAND&lt;BR /&gt;    root 25048 25047  0  Dec 29  pts/0     0:00 /sbin/vgcreate -e 35004 -l&lt;BR /&gt;255 -p 16 -s 4 /dev/vgdata /dev/dsk/&lt;BR /&gt;&lt;BR /&gt;The customer has tried rebooting but this doesn't resolve the problem. Any suggestions?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;  John</description>
      <pubDate>Mon, 19 Jan 2004 07:32:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgcreate-hangs/m-p/3156811#M629378</guid>
      <dc:creator>John Wood_4</dc:creator>
      <dc:date>2004-01-19T07:32:14Z</dc:date>
    </item>
    <item>
      <title>Re: vgcreate hangs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgcreate-hangs/m-p/3156812#M629379</link>
      <description>John,&lt;BR /&gt; &lt;BR /&gt;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!).&lt;BR /&gt; &lt;BR /&gt;A simple workaround for this problem is to choose a larger extent size using the -s option of vgcreate.&lt;BR /&gt; &lt;BR /&gt;The 1st LVM kernel patch for 11.23 is shuld include a fix for this defect.&lt;BR /&gt; &lt;BR /&gt;Best regards...&lt;BR /&gt;Dietmar.&lt;BR /&gt;</description>
      <pubDate>Mon, 19 Jan 2004 09:53:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgcreate-hangs/m-p/3156812#M629379</guid>
      <dc:creator>Dietmar Konermann</dc:creator>
      <dc:date>2004-01-19T09:53:18Z</dc:date>
    </item>
    <item>
      <title>Re: vgcreate hangs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgcreate-hangs/m-p/3156813#M629380</link>
      <description>Dietmar,&lt;BR /&gt;&lt;BR /&gt;Is there a paper we can download on that known problem?</description>
      <pubDate>Mon, 19 Jan 2004 11:17:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgcreate-hangs/m-p/3156813#M629380</guid>
      <dc:creator>Todd McDaniel_1</dc:creator>
      <dc:date>2004-01-19T11:17:54Z</dc:date>
    </item>
    <item>
      <title>Re: vgcreate hangs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgcreate-hangs/m-p/3156814#M629381</link>
      <description>Todd, &lt;BR /&gt; &lt;BR /&gt;Looks like JAGae89066 is only internally viewable... so I'm afraid the answer is currently 'no'.&lt;BR /&gt; &lt;BR /&gt;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.&lt;BR /&gt; &lt;BR /&gt;Best regards...&lt;BR /&gt;Dietmar.</description>
      <pubDate>Mon, 19 Jan 2004 12:14:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgcreate-hangs/m-p/3156814#M629381</guid>
      <dc:creator>Dietmar Konermann</dc:creator>
      <dc:date>2004-01-19T12:14:40Z</dc:date>
    </item>
    <item>
      <title>Re: vgcreate hangs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgcreate-hangs/m-p/3156815#M629382</link>
      <description>Just to say that my customer rebooted (to get rid of the hung vgcreate) and then re-tried vgcreate but with "-s 32" to specify a 32 MB physical extent, and it worked fine.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;  John</description>
      <pubDate>Thu, 22 Jan 2004 10:34:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgcreate-hangs/m-p/3156815#M629382</guid>
      <dc:creator>John Wood_4</dc:creator>
      <dc:date>2004-01-22T10:34:39Z</dc:date>
    </item>
  </channel>
</rss>

