<?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: Extending LUNS in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/extending-luns/m-p/4025260#M605482</link>
    <description>Actually you *can* now change the LUN size in LVM on 11iv2 as well as 11iv3.&lt;BR /&gt;&lt;BR /&gt;You need the following patches:&lt;BR /&gt;&lt;BR /&gt;PHCO_35524&lt;BR /&gt;PHKL_36244&lt;BR /&gt;&lt;BR /&gt;Then have a read of the whitepaper that describes how to do it (and learn a lot about LVM in the process)&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://h20000.www2.hp.com/bc/docs/support/SupportManual/c01920387/c01920387.pdf" target="_blank"&gt;http://h20000.www2.hp.com/bc/docs/support/SupportManual/c01920387/c01920387.pdf&lt;/A&gt; (BSC link updated by admin)&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;Duncan</description>
    <pubDate>Sat, 23 Jun 2007 02:54:54 GMT</pubDate>
    <dc:creator>Duncan Edmonstone</dc:creator>
    <dc:date>2007-06-23T02:54:54Z</dc:date>
    <item>
      <title>Extending LUNS</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extending-luns/m-p/4025254#M605476</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;I ran out space on one my VGs but managed to add some LUNs as metaLuns on a CX7000.&lt;BR /&gt;&lt;BR /&gt;HP-UX 11iv2 SAM disk devices show:&lt;BR /&gt;&lt;BR /&gt;Hardware  path: 0/1/0/0.3.0.0.0.0&lt;BR /&gt;# of   paths:  8&lt;BR /&gt;Use:      LVM&lt;BR /&gt;Volume group:  vgfn&lt;BR /&gt;Total megabytes: 302080&lt;BR /&gt;Description:  DGC CX700WDR5&lt;BR /&gt;&lt;BR /&gt;vgdisplay -v vgfn   ------- output&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;--- Volume groups ---&lt;BR /&gt;VG Name                     /dev/vgfn&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                      3      &lt;BR /&gt;Open LV                     3      &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               46080        &lt;BR /&gt;VGDA                        2   &lt;BR /&gt;PE Size (Mbytes)            16              &lt;BR /&gt;Total PE                    11518   &lt;BR /&gt;Alloc PE                    11514   &lt;BR /&gt;Free PE                     4       &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/vgfn/oralv1&lt;BR /&gt;   LV Status                   available/syncd           &lt;BR /&gt;   LV Size (Mbytes)            30000           &lt;BR /&gt;   Current LE                  1875      &lt;BR /&gt;   Allocated PE                1875        &lt;BR /&gt;   Used PV                     1       &lt;BR /&gt;&lt;BR /&gt;   LV Name                     /dev/vgfn/oralv2&lt;BR /&gt;   LV Status                   available/syncd           &lt;BR /&gt;   LV Size (Mbytes)            20480           &lt;BR /&gt;   Current LE                  1280      &lt;BR /&gt;   Allocated PE                1280        &lt;BR /&gt;   Used PV                     1       &lt;BR /&gt;&lt;BR /&gt;   LV Name                     /dev/vgfn/fnlv1&lt;BR /&gt;   LV Status                   available/syncd           &lt;BR /&gt;   LV Size (Mbytes)            133744          &lt;BR /&gt;   Current LE                  8359      &lt;BR /&gt;   Allocated PE                8359        &lt;BR /&gt;   Used PV                     1       &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;   --- Physical volumes ---&lt;BR /&gt;   PV Name                     /dev/dsk/c32t0d0&lt;BR /&gt;   PV Name                     /dev/dsk/c34t0d0 Alternate Link&lt;BR /&gt;   PV Name                     /dev/dsk/c36t0d0 Alternate Link&lt;BR /&gt;   PV Name                     /dev/dsk/c38t0d0 Alternate Link&lt;BR /&gt;   PV Status                   available                &lt;BR /&gt;   Total PE                    11518   &lt;BR /&gt;   Free PE                     4       &lt;BR /&gt;   Autoswitch                  On        &lt;BR /&gt;&lt;BR /&gt;I am new to LVM and wondering how I should proceed to add the newly created space to LV fnlv1 or am restricted by the max PE business.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 22 Jun 2007 16:15:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extending-luns/m-p/4025254#M605476</guid>
      <dc:creator>Kwahae_1</dc:creator>
      <dc:date>2007-06-22T16:15:56Z</dc:date>
    </item>
    <item>
      <title>Re: Extending LUNS</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extending-luns/m-p/4025255#M605477</link>
      <description>I only see one device in this volume group.&lt;BR /&gt;&lt;BR /&gt;Did you extend the LUN cooresponding to c32t0d0 or are you looking to add another LUN, have two devices and then extend the LVOLs to the next device ?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 22 Jun 2007 16:21:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extending-luns/m-p/4025255#M605477</guid>
      <dc:creator>Tim Nelson</dc:creator>
      <dc:date>2007-06-22T16:21:49Z</dc:date>
    </item>
    <item>
      <title>Re: Extending LUNS</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extending-luns/m-p/4025256#M605478</link>
      <description>The LUNs created on the DGC CX700WDR5 need to be pvcreate'd; added into the VG with vgextend and lvextend fnlv1 viz.,&lt;BR /&gt;&lt;BR /&gt;# pvcreate /dev/rdsk/c#t#d#&lt;BR /&gt;# vgextend vgfn /dev/dsk/c#t#d#&lt;BR /&gt;# lvextend -L &lt;DESIRED_SIZE_IN_MB&gt; /dev/vgfn/fnlv1&lt;/DESIRED_SIZE_IN_MB&gt;</description>
      <pubDate>Fri, 22 Jun 2007 16:25:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extending-luns/m-p/4025256#M605478</guid>
      <dc:creator>Sandman!</dc:creator>
      <dc:date>2007-06-22T16:25:34Z</dc:date>
    </item>
    <item>
      <title>Re: Extending LUNS</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extending-luns/m-p/4025257#M605479</link>
      <description>Hi Tim,&lt;BR /&gt;&lt;BR /&gt;The extension was made to /dev/dsk/c32t0d0 and it shows the new value of ~300GB as in the SAM output. Now how do I add the extra space to lvol fnlv1 because as you rightly said there is only one device.</description>
      <pubDate>Fri, 22 Jun 2007 16:42:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extending-luns/m-p/4025257#M605479</guid>
      <dc:creator>Kwahae_1</dc:creator>
      <dc:date>2007-06-22T16:42:06Z</dc:date>
    </item>
    <item>
      <title>Re: Extending LUNS</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extending-luns/m-p/4025258#M605480</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Are you expanding the size on the same LUN? As far as I know, HPUX is not support this. You cannot use the expanded disk.&lt;BR /&gt;&lt;BR /&gt;What you should do is adding another LUN and assign the LUN for the server. It will be recognized as a new disk. And then do vgextend, lvextend and extendfs.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Sandy</description>
      <pubDate>Fri, 22 Jun 2007 22:14:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extending-luns/m-p/4025258#M605480</guid>
      <dc:creator>Sandy Chen</dc:creator>
      <dc:date>2007-06-22T22:14:49Z</dc:date>
    </item>
    <item>
      <title>Re: Extending LUNS</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extending-luns/m-p/4025259#M605481</link>
      <description>Increasing the LUN size on the storage array will not make it visible to the LVM of HP-UX. Atleast not the HP-UX version that you are currently running. To have that feature you would need HP-UX version 11.31.&lt;BR /&gt;&lt;BR /&gt;~hope it helps</description>
      <pubDate>Fri, 22 Jun 2007 23:07:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extending-luns/m-p/4025259#M605481</guid>
      <dc:creator>Sandman!</dc:creator>
      <dc:date>2007-06-22T23:07:08Z</dc:date>
    </item>
    <item>
      <title>Re: Extending LUNS</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extending-luns/m-p/4025260#M605482</link>
      <description>Actually you *can* now change the LUN size in LVM on 11iv2 as well as 11iv3.&lt;BR /&gt;&lt;BR /&gt;You need the following patches:&lt;BR /&gt;&lt;BR /&gt;PHCO_35524&lt;BR /&gt;PHKL_36244&lt;BR /&gt;&lt;BR /&gt;Then have a read of the whitepaper that describes how to do it (and learn a lot about LVM in the process)&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://h20000.www2.hp.com/bc/docs/support/SupportManual/c01920387/c01920387.pdf" target="_blank"&gt;http://h20000.www2.hp.com/bc/docs/support/SupportManual/c01920387/c01920387.pdf&lt;/A&gt; (BSC link updated by admin)&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;Duncan</description>
      <pubDate>Sat, 23 Jun 2007 02:54:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extending-luns/m-p/4025260#M605482</guid>
      <dc:creator>Duncan Edmonstone</dc:creator>
      <dc:date>2007-06-23T02:54:54Z</dc:date>
    </item>
    <item>
      <title>Re: Extending LUNS</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extending-luns/m-p/4025261#M605483</link>
      <description>Thanks guys. Before I go Duncan's way, I believe Sandy and Sandman are suggesting that since SAM can see the expanded LUN, the only way I can get to it via LVM is backup my current vg, recreate it with the bigger size and then restore?&lt;BR /&gt;&lt;BR /&gt;Duncan's way is neat but I have had nasty patch experiences before and hence preference for other solution. Hereunder is my ioscan and would appreciate if I could have the full comand set for the backup and restore solution.&lt;BR /&gt;&lt;BR /&gt;Thanks again.Class     I  H/W Path        Driver   S/W State   H/W Type     Description&lt;BR /&gt;===========================================================================&lt;BR /&gt;disk      0  0/0/1/1.2.0     sdisk    CLAIMED     DEVICE       HP 36.4GATLAS10K3_36_SCA&lt;BR /&gt;                            /dev/dsk/c1t2d0   /dev/rdsk/c1t2d0&lt;BR /&gt;disk      1  0/0/2/0.2.0     sdisk    CLAIMED     DEVICE       HP 36.4GATLAS10K3_36_SCA&lt;BR /&gt;                            /dev/dsk/c2t2d0   /dev/rdsk/c2t2d0&lt;BR /&gt;disk      2  0/0/2/1.2.0     sdisk    CLAIMED     DEVICE       HP      DVD-ROM 305&lt;BR /&gt;                            /dev/dsk/c3t2d0   /dev/rdsk/c3t2d0&lt;BR /&gt;disk     85  0/1/0/0.3.0.0.0.0.0   sdisk    CLAIMED     DEVICE       DGC     CX700WDR5&lt;BR /&gt;                            /dev/dsk/c32t0d0   /dev/rdsk/c32t0d0&lt;BR /&gt;disk     86  0/1/0/0.3.0.0.0.0.2   sdisk    CLAIMED     DEVICE       DGC     CX700WDR5&lt;BR /&gt;                            /dev/dsk/c32t0d2   /dev/rdsk/c32t0d2&lt;BR /&gt;disk     87  0/1/0/0.3.1.0.0.0.0   sdisk    CLAIMED     DEVICE       DGC     CX700WDR5&lt;BR /&gt;                            /dev/dsk/c34t0d0   /dev/rdsk/c34t0d0&lt;BR /&gt;disk     88  0/1/0/0.3.1.0.0.0.2   sdisk    CLAIMED     DEVICE       DGC     CX700WDR5&lt;BR /&gt;                            /dev/dsk/c34t0d2   /dev/rdsk/c34t0d2&lt;BR /&gt;disk     89  0/10/0/0.4.0.0.0.0.0  sdisk    CLAIMED     DEVICE       DGC     CX700WDR5&lt;BR /&gt;                            /dev/dsk/c36t0d0   /dev/rdsk/c36t0d0&lt;BR /&gt;disk     90  0/10/0/0.4.0.0.0.0.2  sdisk    CLAIMED     DEVICE       DGC     CX700WDR5&lt;BR /&gt;                            /dev/dsk/c36t0d2   /dev/rdsk/c36t0d2&lt;BR /&gt;disk     91  0/10/0/0.4.1.0.0.0.0  sdisk    CLAIMED     DEVICE       DGC     CX700WDR5&lt;BR /&gt;                            /dev/dsk/c38t0d0   /dev/rdsk/c38t0d0&lt;BR /&gt;disk     92  0/10/0/0.4.1.0.0.0.2  sdisk    CLAIMED     DEVICE       DGC     CX700WDR5&lt;BR /&gt;                            /dev/dsk/c38t0d2   /dev/rdsk/c38t0d2&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 23 Jun 2007 12:22:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extending-luns/m-p/4025261#M605483</guid>
      <dc:creator>Kwahae_1</dc:creator>
      <dc:date>2007-06-23T12:22:36Z</dc:date>
    </item>
    <item>
      <title>Re: Extending LUNS</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extending-luns/m-p/4025262#M605484</link>
      <description>From the ioscan output it looks like you have another LUN, /dev/dsk/c32t0d2, available onto which lvol fnlv1 can be extended. Verify that /dev/dsk/c32t0d2 is empty or not in use and then do steps below:&lt;BR /&gt;&lt;BR /&gt;# pvcreate /dev/rdsk/c32t0d2 &lt;BR /&gt;# vgextend /dev/vgfn /dev/dsk/c32t0d2 &lt;BR /&gt;# lvextend -L &lt;NEW lvol="" size="" in="" mbytes=""&gt; /dev/vgfn/fnlv1&lt;/NEW&gt;</description>
      <pubDate>Sat, 23 Jun 2007 19:13:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extending-luns/m-p/4025262#M605484</guid>
      <dc:creator>Sandman!</dc:creator>
      <dc:date>2007-06-23T19:13:30Z</dc:date>
    </item>
    <item>
      <title>Re: Extending LUNS</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extending-luns/m-p/4025263#M605485</link>
      <description>Hi Sandman,&lt;BR /&gt;I suspected there was something like that but how do I find out this LUN or disk is empty or not in use? Sorry for the bother. Newbie!&lt;BR /&gt;Thanks.</description>
      <pubDate>Sun, 24 Jun 2007 04:13:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extending-luns/m-p/4025263#M605485</guid>
      <dc:creator>Kwahae_1</dc:creator>
      <dc:date>2007-06-24T04:13:34Z</dc:date>
    </item>
    <item>
      <title>Re: Extending LUNS</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extending-luns/m-p/4025264#M605486</link>
      <description>pvdisplay&lt;BR /&gt;strings /etc/lvmtab|grep cxtydz&lt;BR /&gt;This will help to identify if the disk is in use or NOT on that particular server.</description>
      <pubDate>Sun, 24 Jun 2007 16:10:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extending-luns/m-p/4025264#M605486</guid>
      <dc:creator>skt_skt</dc:creator>
      <dc:date>2007-06-24T16:10:48Z</dc:date>
    </item>
    <item>
      <title>Re: Extending LUNS</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extending-luns/m-p/4025265#M605487</link>
      <description>&lt;!--!*#--&gt;The device /dev/dsk/c32t0d2 maybe in use by any server which is zoned to access it since your storage is on a SAN. One way to ascertain that is to see if this PV has a VGID assuming that you are using HP's LVM and not VxVM as your volume manager. The command below will display the VGID stamped on the PV. &lt;BR /&gt;&lt;BR /&gt;# echo '0x2010?2X' | adb /dev/dsk/c32t0d2&lt;BR /&gt;&lt;BR /&gt;If the output of the above command is&lt;BR /&gt;&lt;BR /&gt;2010:           0               0&lt;BR /&gt;&lt;BR /&gt;then the PV is not part of any VG and does not contain any data unless it is being used for raw storage by a database. Ask your DBA whether that is the case or not? Once these two scenarios are clarified you can proceed with the steps mentioned in the previous post.&lt;BR /&gt;&lt;BR /&gt;~hope it helps</description>
      <pubDate>Sun, 24 Jun 2007 21:14:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extending-luns/m-p/4025265#M605487</guid>
      <dc:creator>Sandman!</dc:creator>
      <dc:date>2007-06-24T21:14:39Z</dc:date>
    </item>
  </channel>
</rss>

