<?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: system hanging while creating a vg in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/system-hanging-while-creating-a-vg/m-p/4128449#M315944</link>
    <description>Hello,&lt;BR /&gt;&lt;BR /&gt;Are you, by any chance, running HP-UX 11.23?&lt;BR /&gt;This was documented in the past.&lt;BR /&gt;&lt;BR /&gt;Basically, the VGRA (volume group reserved&lt;BR /&gt;area, an area of data defining the layout of&lt;BR /&gt;the VG and replicated across all physical&lt;BR /&gt;volumes in the VG) must fit within a single&lt;BR /&gt;LVM logical (and physical) extent.&lt;BR /&gt;&lt;BR /&gt;You have not specified an extent size, so&lt;BR /&gt;LVM will default to 4 MB. If the VGRA needed&lt;BR /&gt;to satisfy the size of disk you are dealing&lt;BR /&gt;with exceeds this size, you will experience&lt;BR /&gt;a hung vgcreate session with HP-UX 11.23.&lt;BR /&gt;&lt;BR /&gt;Prior to 11.23, the vgcreate command would&lt;BR /&gt;simply have failed with an error suggesting&lt;BR /&gt;insufficient space.&lt;BR /&gt;&lt;BR /&gt;I believe there are patches to fix this problem. So, you could either decide&lt;BR /&gt;to patch your server or use workaround:&lt;BR /&gt;increase the size of the extent space.&lt;BR /&gt;&lt;BR /&gt;LVM already granted a "Max PE per PV" of&lt;BR /&gt;35003 at 4 MB. Try the following commands:&lt;BR /&gt;&lt;BR /&gt;# pvcreate -f /dev/rdsk/c2t1d0&lt;BR /&gt;# mkdir /dev/vg01&lt;BR /&gt;# mknod /dev/vg01/group c 64 0x030000&lt;BR /&gt;# vgcreate -s 8 -e XXX /dev/vg01 /dev/dsk/c2t1d0&lt;BR /&gt;&lt;BR /&gt;Use "-e XXX" to define number of available extents on the disk. For example,&lt;BR /&gt;140 GB disk would have around 17501 extents&lt;BR /&gt;of size 8 MB.&lt;BR /&gt;&lt;BR /&gt;I often use even larger extents - 16 and 32 MB.&lt;BR /&gt;&lt;BR /&gt;This will set up your VG with an extend size of 8 MB, which should be enough to cope with&lt;BR /&gt;the size of your disk. If not, try 16 MB with the max PEs reduced accordingly:&lt;BR /&gt;&lt;BR /&gt;# vgcreate -s 16 -e 8750 /dev/vg01 /dev/dsk/c2t1d0&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;VK2COT</description>
    <pubDate>Sun, 13 Jan 2008 09:21:53 GMT</pubDate>
    <dc:creator>VK2COT</dc:creator>
    <dc:date>2008-01-13T09:21:53Z</dc:date>
    <item>
      <title>system hanging while creating a vg</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/system-hanging-while-creating-a-vg/m-p/4128448#M315943</link>
      <description>Guys , I'm having some problem here with creating the vg . everytimes when i created a vg , its seems to be hung while i run the vgcreate .&lt;BR /&gt;&lt;BR /&gt;# vgcreate /dev/vg01 /dev/dsk/c2t1d0&lt;BR /&gt;Increased the number of physical extents per physical volume to 35003.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;What i did was , run pvcreate -f , then make directory /dev/vg01 , then mknod /dev/vg01/group c 64 0x030000 . And then after that I will run the vgcreate . Is there any steps missing ? Thanks .&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 13 Jan 2008 08:16:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/system-hanging-while-creating-a-vg/m-p/4128448#M315943</guid>
      <dc:creator>n00body</dc:creator>
      <dc:date>2008-01-13T08:16:49Z</dc:date>
    </item>
    <item>
      <title>Re: system hanging while creating a vg</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/system-hanging-while-creating-a-vg/m-p/4128449#M315944</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;Are you, by any chance, running HP-UX 11.23?&lt;BR /&gt;This was documented in the past.&lt;BR /&gt;&lt;BR /&gt;Basically, the VGRA (volume group reserved&lt;BR /&gt;area, an area of data defining the layout of&lt;BR /&gt;the VG and replicated across all physical&lt;BR /&gt;volumes in the VG) must fit within a single&lt;BR /&gt;LVM logical (and physical) extent.&lt;BR /&gt;&lt;BR /&gt;You have not specified an extent size, so&lt;BR /&gt;LVM will default to 4 MB. If the VGRA needed&lt;BR /&gt;to satisfy the size of disk you are dealing&lt;BR /&gt;with exceeds this size, you will experience&lt;BR /&gt;a hung vgcreate session with HP-UX 11.23.&lt;BR /&gt;&lt;BR /&gt;Prior to 11.23, the vgcreate command would&lt;BR /&gt;simply have failed with an error suggesting&lt;BR /&gt;insufficient space.&lt;BR /&gt;&lt;BR /&gt;I believe there are patches to fix this problem. So, you could either decide&lt;BR /&gt;to patch your server or use workaround:&lt;BR /&gt;increase the size of the extent space.&lt;BR /&gt;&lt;BR /&gt;LVM already granted a "Max PE per PV" of&lt;BR /&gt;35003 at 4 MB. Try the following commands:&lt;BR /&gt;&lt;BR /&gt;# pvcreate -f /dev/rdsk/c2t1d0&lt;BR /&gt;# mkdir /dev/vg01&lt;BR /&gt;# mknod /dev/vg01/group c 64 0x030000&lt;BR /&gt;# vgcreate -s 8 -e XXX /dev/vg01 /dev/dsk/c2t1d0&lt;BR /&gt;&lt;BR /&gt;Use "-e XXX" to define number of available extents on the disk. For example,&lt;BR /&gt;140 GB disk would have around 17501 extents&lt;BR /&gt;of size 8 MB.&lt;BR /&gt;&lt;BR /&gt;I often use even larger extents - 16 and 32 MB.&lt;BR /&gt;&lt;BR /&gt;This will set up your VG with an extend size of 8 MB, which should be enough to cope with&lt;BR /&gt;the size of your disk. If not, try 16 MB with the max PEs reduced accordingly:&lt;BR /&gt;&lt;BR /&gt;# vgcreate -s 16 -e 8750 /dev/vg01 /dev/dsk/c2t1d0&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;VK2COT</description>
      <pubDate>Sun, 13 Jan 2008 09:21:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/system-hanging-while-creating-a-vg/m-p/4128449#M315944</guid>
      <dc:creator>VK2COT</dc:creator>
      <dc:date>2008-01-13T09:21:53Z</dc:date>
    </item>
    <item>
      <title>Re: system hanging while creating a vg</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/system-hanging-while-creating-a-vg/m-p/4128450#M315945</link>
      <description>dude .. seems that vgcreate is not hanging now .. Thanks a lot pals .. &lt;BR /&gt;&lt;BR /&gt;# vgcreate -s 16 -e 8750 /dev/vg01 /dev/dsk/c2t1d0&lt;BR /&gt;Volume group "/dev/vg01" has been successfully created.&lt;BR /&gt;Volume Group configuration for /dev/vg01 has been saved in /etc/lvmconf/vg01.conf&lt;BR /&gt;[rx260-01]/&lt;BR /&gt;</description>
      <pubDate>Sun, 13 Jan 2008 09:57:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/system-hanging-while-creating-a-vg/m-p/4128450#M315945</guid>
      <dc:creator>n00body</dc:creator>
      <dc:date>2008-01-13T09:57:25Z</dc:date>
    </item>
  </channel>
</rss>

