<?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: How to find public region of a disk in MB in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-find-public-region-of-a-disk-in-mb/m-p/5063500#M600557</link>
    <description>you can use &lt;BR /&gt;lvcreate -L SIZE in MB -n lvolname&lt;BR /&gt;</description>
    <pubDate>Fri, 17 Aug 2007 05:11:33 GMT</pubDate>
    <dc:creator>AwadheshPandey</dc:creator>
    <dc:date>2007-08-17T05:11:33Z</dc:date>
    <item>
      <title>How to find public region of a disk in MB</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-find-public-region-of-a-disk-in-mb/m-p/5063497#M600554</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;how can i find the public region of a disk in &lt;BR /&gt;megabytes ?&lt;BR /&gt;&lt;BR /&gt;i'm trying to create logical volumes dynamically.&lt;BR /&gt;excerpt from the man pages of lvcreate:&lt;BR /&gt;&lt;BR /&gt;            -L lv_size               Allocate space to the logical volume,specified in megabytes.&lt;BR /&gt;&lt;BR /&gt;The disk was previously under VxVM control and doing vxdisk list &lt;DISK&gt; gives infomation about the private and public region.&lt;BR /&gt;snip:&lt;BR /&gt;root@hpia7/ $ vxdisk list c7t1d1|egrep "^private|^public"&lt;BR /&gt;public:    slice=0 offset=32896 len=5193600 disk_offset=0&lt;BR /&gt;private:   slice=0 offset=128 len=32768 disk_offset=0&lt;BR /&gt;&lt;BR /&gt;The len attribute for private region seems to be declared in megabytes.&lt;BR /&gt;&lt;BR /&gt;snip from VM admin guide:&lt;BR /&gt;The default private region size is 32 megabytes &lt;BR /&gt;&lt;BR /&gt;But it seems that the len attribute for public region is not in Megabytes,as while trying to create a logical volume having size obtained from the public region len(5193600 here) failed.&lt;BR /&gt;&lt;BR /&gt;snip:&lt;BR /&gt;&lt;BR /&gt;root@hpia7/$ pvcreate -f /dev/rdsk/c7t1d1&lt;BR /&gt;Physical volume "/dev/rdsk/c7t1d1" has been successfully created.&lt;BR /&gt;root@hpia7/$ mkdir /dev/testdg&lt;BR /&gt;root@hpia7/$ mknod /dev/testdg/group c 64 0x020000&lt;BR /&gt;root@hpia7/$ vgcreate /dev/testdg/ /dev/dsk/c7t1d1&lt;BR /&gt;Increased the number of physical extents per physical volume to 1279.&lt;BR /&gt;Volume group "/dev/testdg" has been successfully created.&lt;BR /&gt;Volume Group configuration for /dev/testdg has been saved in /etc/lvmconf/testdg.conf&lt;BR /&gt;root@hpia7/vmtest/tc/config/ $ lvcreate -L 5193600 /dev/testdg&lt;BR /&gt;lvcreate: Specified LogicalVolumeSize is too large for the PhysicalExtentSize&lt;BR /&gt;of the Volume Group. Resulting number of extents is out of the range&lt;BR /&gt;1 to 65535 (1298400).&lt;BR /&gt;&lt;BR /&gt;i read some docs,but couldn't find the information on the type of length provided here for public region length.Is it in blocks,sectors,Kb ?&lt;BR /&gt;&lt;BR /&gt;And as i'm using -L option with lvcreate so i need this size to be converted into Megabytes.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;~amit &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/DISK&gt;</description>
      <pubDate>Fri, 17 Aug 2007 04:47:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-find-public-region-of-a-disk-in-mb/m-p/5063497#M600554</guid>
      <dc:creator>amit mehta_2</dc:creator>
      <dc:date>2007-08-17T04:47:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to find public region of a disk in MB</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-find-public-region-of-a-disk-in-mb/m-p/5063498#M600555</link>
      <description>have you installed PHCO_34421 patch, this patch has fix for error&lt;BR /&gt;&lt;BR /&gt;( SR:8606430519 CR:JAGaf89978 )&lt;BR /&gt; If lvcreate(1M) is invoked where the size of the requested&lt;BR /&gt; logical volume is smaller than the physical extent size&lt;BR /&gt; then lvcreate(1M) will fail with the following error&lt;BR /&gt; message:&lt;BR /&gt;&lt;BR /&gt; "lvcreate: Specified LogicalVolumeSize is too large for&lt;BR /&gt; the PhysicalExtentSize of the Volume Group. Resulting&lt;BR /&gt; number of extents is out of the range 1 to 65535 (0)."&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 17 Aug 2007 05:01:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-find-public-region-of-a-disk-in-mb/m-p/5063498#M600555</guid>
      <dc:creator>AwadheshPandey</dc:creator>
      <dc:date>2007-08-17T05:01:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to find public region of a disk in MB</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-find-public-region-of-a-disk-in-mb/m-p/5063499#M600556</link>
      <description>got little confused,&lt;BR /&gt;this value needed to be converted into Mb,&lt;BR /&gt;&lt;BR /&gt;32768/1024&lt;BR /&gt;32&lt;BR /&gt;&lt;BR /&gt;root@hpia7/$ bc&lt;BR /&gt;5193600/1024&lt;BR /&gt;5071&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;root@hpia7/$ lvcreate -L 5071 /dev/testdg&lt;BR /&gt;Warning: rounding up logical volume size to extent boundary at size "5072" MB.&lt;BR /&gt;Logical volume "/dev/testdg/lvol1" has been successfully created with&lt;BR /&gt;character device "/dev/testdg/rlvol1".&lt;BR /&gt;Logical volume "/dev/testdg/lvol1" has been successfully extended.&lt;BR /&gt;Volume Group configuration for /dev/testdg has been saved in /etc/lvmconf/testdg.conf&lt;BR /&gt;&lt;BR /&gt;~amit</description>
      <pubDate>Fri, 17 Aug 2007 05:07:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-find-public-region-of-a-disk-in-mb/m-p/5063499#M600556</guid>
      <dc:creator>amit mehta_2</dc:creator>
      <dc:date>2007-08-17T05:07:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to find public region of a disk in MB</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-find-public-region-of-a-disk-in-mb/m-p/5063500#M600557</link>
      <description>you can use &lt;BR /&gt;lvcreate -L SIZE in MB -n lvolname&lt;BR /&gt;</description>
      <pubDate>Fri, 17 Aug 2007 05:11:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-find-public-region-of-a-disk-in-mb/m-p/5063500#M600557</guid>
      <dc:creator>AwadheshPandey</dc:creator>
      <dc:date>2007-08-17T05:11:33Z</dc:date>
    </item>
  </channel>
</rss>

