<?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: EVA 300 -LVM Extend in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/eva-300-lvm-extend/m-p/3899027#M613496</link>
    <description>Did you increase the size of the existing LUN on the EVA?  Or did you add a new LUN?&lt;BR /&gt;&lt;BR /&gt;If you increase the size of the existing LUN, then you just wasted space.  HP-UX does NOT support increasing the size of a  LUN, and then increasing the disk size in LVM.  That doesn't work.&lt;BR /&gt;&lt;BR /&gt;The way to do it is to add a NEW LUN to the EVA, present it to the HP-UX server, extend the VG and then increase the size of the LV.</description>
    <pubDate>Thu, 16 Nov 2006 10:50:32 GMT</pubDate>
    <dc:creator>Patrick Wallek</dc:creator>
    <dc:date>2006-11-16T10:50:32Z</dc:date>
    <item>
      <title>EVA 300 -LVM Extend</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/eva-300-lvm-extend/m-p/3899024#M613493</link>
      <description>Hello all,&lt;BR /&gt;&lt;BR /&gt;Please help me clarify the steps to follow before i'll do someting wrong.&lt;BR /&gt;At our site we need to extend one logical volume.&lt;BR /&gt;The scenario is as follow:&lt;BR /&gt;-We have a EVA, which we administer using HP Storage Works. We have been allocated some space - 100 Gb, but after some time we need more space. We need to increase the space for our database.&lt;BR /&gt;Using Storage Works we have been alocated the space, restarted HP-Ux server. Using SAM,  "Disks and File Systems"  &amp;gt; "Disk Devices" we see now the correct, increased  size for disk device:&lt;BR /&gt;255/255/0/0.0 1 LVM vgbd 300496 hp StorageWorks&lt;BR /&gt;I need to know, what is the corect order of things to do for increasing my logical volume, as my volome group is stil on old size -100Gb.&lt;BR /&gt;&lt;BR /&gt;I think following commands will help:&lt;BR /&gt;&lt;BR /&gt; vgdisplay -v /dev/vgbd&lt;BR /&gt;--- Volume groups ---&lt;BR /&gt;VG Name                     /dev/vgbd&lt;BR /&gt;VG Write Access             read/write&lt;BR /&gt;VG Status                   available&lt;BR /&gt;Max LV                      255&lt;BR /&gt;Cur LV                      1&lt;BR /&gt;Open LV                     1&lt;BR /&gt;Max PV                      16&lt;BR /&gt;Cur PV                      1&lt;BR /&gt;Act PV                      1&lt;BR /&gt;Max PE per PV               3275&lt;BR /&gt;VGDA                        2&lt;BR /&gt;PE Size (Mbytes)            32&lt;BR /&gt;Total PE                    3275&lt;BR /&gt;Alloc PE                    3125&lt;BR /&gt;Free PE                     150&lt;BR /&gt;Total PVG                   0&lt;BR /&gt;Total Spare PVs             0&lt;BR /&gt;Total Spare PVs in use      0&lt;BR /&gt;&lt;BR /&gt;   --- Logical volumes ---&lt;BR /&gt;   LV Name                     /dev/vgdb/lvbd&lt;BR /&gt;   LV Status                   available/syncd&lt;BR /&gt;   LV Size (Mbytes)            100000&lt;BR /&gt;   Current LE                  3125&lt;BR /&gt;   Allocated PE                3125&lt;BR /&gt;   Used PV                     1&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;   --- Physical volumes ---&lt;BR /&gt;   PV Name                     /dev/dsk/c10t0d0&lt;BR /&gt;   PV Status                   available&lt;BR /&gt;   Total PE                    3275&lt;BR /&gt;   Free PE                     150&lt;BR /&gt;   Autoswitch                  On&lt;BR /&gt;&lt;BR /&gt;ioscan -fnkC disk&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Class     I  H/W Path       Driver   S/W State   H/W Type     Description&lt;BR /&gt;==========================================================================&lt;BR /&gt;disk      1  1/0/0/3/0.6.0  sdisk    CLAIMED     DEVICE       HP 146 GMAW3147NC&lt;BR /&gt;                           /dev/dsk/c0t6d0   /dev/rdsk/c0t6d0&lt;BR /&gt;disk      0  1/0/0/3/1.2.0  sdisk    CLAIMED     DEVICE       _NEC    DVD_RW ND-3550A&lt;BR /&gt;                           /dev/dsk/c1t2d0   /dev/rdsk/c1t2d0&lt;BR /&gt;disk      2  1/0/1/1/0/1/1.6.0  sdisk    CLAIMED     DEVICE       HP 146 GMAW3147NC&lt;BR /&gt;                           /dev/dsk/c3t6d0   /dev/rdsk/c3t6d0&lt;BR /&gt;disk      3  255/255/0/0.0  sdisk    CLAIMED     DEVICE       HSV100 HP&lt;BR /&gt;                           /dev/dsk/c10t0d0   /dev/rdsk/c10t0d0&lt;BR /&gt;disk      4  255/255/0/0.1  sdisk    CLAIMED     DEVICE       HSV100 HP&lt;BR /&gt;                           /dev/dsk/c10t0d1   /dev/rdsk/c10t0d1&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks. Best regards,</description>
      <pubDate>Wed, 15 Nov 2006 18:46:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/eva-300-lvm-extend/m-p/3899024#M613493</guid>
      <dc:creator>dunefremen</dc:creator>
      <dc:date>2006-11-15T18:46:19Z</dc:date>
    </item>
    <item>
      <title>Re: EVA 300 -LVM Extend</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/eva-300-lvm-extend/m-p/3899025#M613494</link>
      <description>You have a limitation "Max PE per PV 3275" that is 32MB x 3275 = 104800 MB. So with current VG configuration, you cannot extend lvbd to 300 GB. To change "Max PE per PV" you need to recreate you VG with -p option.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Yang</description>
      <pubDate>Thu, 16 Nov 2006 03:32:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/eva-300-lvm-extend/m-p/3899025#M613494</guid>
      <dc:creator>Yang Qin_1</dc:creator>
      <dc:date>2006-11-16T03:32:31Z</dc:date>
    </item>
    <item>
      <title>Re: EVA 300 -LVM Extend</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/eva-300-lvm-extend/m-p/3899026#M613495</link>
      <description>hi buddy!&lt;BR /&gt;&lt;BR /&gt;you certainly have the restriction with respect to "Max PE per PV 3275" for this VG. Hence as mentioned you cannot increase the size of your VG more than ~100GB.&lt;BR /&gt;&lt;BR /&gt;To avoid this situtions in future create VG with higher values (refer man pages) on options '-e' and '-s' i.e., ('e' max_pe) &amp;amp; ('s'= pe_size).&lt;BR /&gt;&lt;BR /&gt;But you need not recreate this VG as it could be time consuming (taking backup &amp;amp; restoring).&lt;BR /&gt;&lt;BR /&gt;Better way would be as below. &lt;BR /&gt;&lt;BR /&gt;1)since the restriction is per PV only,&lt;BR /&gt;create TWO new V-disks in EVA 3000 &amp;amp; present to this host. &lt;BR /&gt;&lt;BR /&gt;2)use pvcreate on this new disk devices.&lt;BR /&gt;#pvcreate /dev/rdsk/cXtYdZ ( use the ur dev file)&lt;BR /&gt;&lt;BR /&gt;3)Then extend the VG using this TWO PVs.&lt;BR /&gt;#vgextend /dev/vgbd /dev/dsk/c9t0d1 /dev/dsk/c9t0d2  ... (example)&lt;BR /&gt;&lt;BR /&gt;4)next extend the LV (lvdb)&lt;BR /&gt;#lvextend -L 300000 /dev/vgdb/lvbd&lt;BR /&gt;&lt;BR /&gt;5)Last extend the filesystem.&lt;BR /&gt;# umount /filesystem&lt;BR /&gt;#extendfs -F vxfs /dev/vgdb/lvbd&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;regds,&lt;BR /&gt;nishith</description>
      <pubDate>Thu, 16 Nov 2006 10:43:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/eva-300-lvm-extend/m-p/3899026#M613495</guid>
      <dc:creator>nishith</dc:creator>
      <dc:date>2006-11-16T10:43:30Z</dc:date>
    </item>
    <item>
      <title>Re: EVA 300 -LVM Extend</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/eva-300-lvm-extend/m-p/3899027#M613496</link>
      <description>Did you increase the size of the existing LUN on the EVA?  Or did you add a new LUN?&lt;BR /&gt;&lt;BR /&gt;If you increase the size of the existing LUN, then you just wasted space.  HP-UX does NOT support increasing the size of a  LUN, and then increasing the disk size in LVM.  That doesn't work.&lt;BR /&gt;&lt;BR /&gt;The way to do it is to add a NEW LUN to the EVA, present it to the HP-UX server, extend the VG and then increase the size of the LV.</description>
      <pubDate>Thu, 16 Nov 2006 10:50:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/eva-300-lvm-extend/m-p/3899027#M613496</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2006-11-16T10:50:32Z</dc:date>
    </item>
  </channel>
</rss>

