<?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: Creating PVs in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-pvs/m-p/4006923#M298232</link>
    <description>Hello Dasn,&lt;BR /&gt;&lt;BR /&gt;I still dont understand what do you need.&lt;BR /&gt;&lt;BR /&gt;My understanding&amp;gt;&lt;BR /&gt;&lt;BR /&gt;vg01 have 1 disk the size 3 GB with 3 logical volume. Now you have 1 new disk the size 3 GB. You want to cretae new volume group so the result:&lt;BR /&gt;vg01 only have 1 logical volume ( lvol size 3 GB ) &amp;lt;-- existing disk&lt;BR /&gt;vg02 only have 1 logical volume ( lvol size 3 GB ) &amp;lt;-- new disk &lt;BR /&gt;&lt;BR /&gt;thanks&lt;BR /&gt;freddy</description>
    <pubDate>Thu, 24 May 2007 21:59:11 GMT</pubDate>
    <dc:creator>freddy_21</dc:creator>
    <dc:date>2007-05-24T21:59:11Z</dc:date>
    <item>
      <title>Creating PVs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-pvs/m-p/4006918#M298227</link>
      <description>Hi Guys,&lt;BR /&gt;I have two LUNs mapped to my HP-UX host from Hitachi array connected in a fabric. Following is the ioscan output...&lt;BR /&gt;&lt;BR /&gt;# ioscan -fnC disk&lt;BR /&gt;Class     I  H/W Path      Driver S/W State   H/W Type     Description&lt;BR /&gt;=======================================================================&lt;BR /&gt;disk      1  0/0/1/1.15.0  sdisk  CLAIMED     DEVICE       SEAGATE ST318404LC&lt;BR /&gt;                          /dev/dsk/c1t15d0   /dev/rdsk/c1t15d0&lt;BR /&gt;disk      5  0/2/0/0.2.0.255.0.0.0  sdisk  CLAIMED     DEVICE       HITACHI DF500&lt;BR /&gt;                          /dev/dsk/c6t0d0   /dev/rdsk/c6t0d0&lt;BR /&gt;disk     12  0/2/0/0.2.0.255.0.0.1  sdisk  CLAIMED     DEVICE       HITACHI DF500&lt;BR /&gt;                          /dev/dsk/c6t0d1   /dev/rdsk/c6t0d1&lt;BR /&gt;disk     17  0/4/0/0.1.0.255.0.0.0  sdisk  CLAIMED     DEVICE       HITACHI DF500&lt;BR /&gt;                          /dev/dsk/c4t0d0   /dev/rdsk/c4t0d0&lt;BR /&gt;disk     18  0/4/0/0.1.0.255.0.0.1  sdisk  CLAIMED     DEVICE       HITACHI DF500&lt;BR /&gt;                          /dev/dsk/c4t0d1   /dev/rdsk/c4t0d1&lt;BR /&gt;#&lt;BR /&gt;&lt;BR /&gt;Both the LUNs are of 3 Gig size. I want to create one logical volumes of 3Gig size in each lun and also add pvlink into it. Would some one give me the steps ? &lt;BR /&gt;&lt;BR /&gt;Also, previously i had created some volumes in one of these luns, &lt;BR /&gt;&lt;BR /&gt;VG Name                     /dev/vg01&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               1016&lt;BR /&gt;VGDA                        2&lt;BR /&gt;PE Size (Mbytes)            4&lt;BR /&gt;Total PE                    767&lt;BR /&gt;Alloc PE                    750&lt;BR /&gt;Free PE                     17&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;How do i delete it and start a fresh ?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance for the reply.</description>
      <pubDate>Thu, 24 May 2007 20:03:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creating-pvs/m-p/4006918#M298227</guid>
      <dc:creator>dasn</dc:creator>
      <dc:date>2007-05-24T20:03:24Z</dc:date>
    </item>
    <item>
      <title>Re: Creating PVs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-pvs/m-p/4006919#M298228</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;could you give me vgdisplay -v vg01? because i dont know your disk already configure. &lt;BR /&gt;&lt;BR /&gt;if you send the output. i will write step by step.&lt;BR /&gt;&lt;BR /&gt;thank&lt;BR /&gt;freddy</description>
      <pubDate>Thu, 24 May 2007 21:27:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creating-pvs/m-p/4006919#M298228</guid>
      <dc:creator>freddy_21</dc:creator>
      <dc:date>2007-05-24T21:27:45Z</dc:date>
    </item>
    <item>
      <title>Re: Creating PVs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-pvs/m-p/4006920#M298229</link>
      <description>&lt;!--!*#--&gt;Here is the output...&lt;BR /&gt;&lt;BR /&gt;# vgdisplay -v vg01&lt;BR /&gt;--- Volume groups ---&lt;BR /&gt;VG Name                     /dev/vg01&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               1016&lt;BR /&gt;VGDA                        2&lt;BR /&gt;PE Size (Mbytes)            4&lt;BR /&gt;Total PE                    767&lt;BR /&gt;Alloc PE                    750&lt;BR /&gt;Free PE                     17&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/vg01/pvlink_test_vol_01&lt;BR /&gt;   LV Status                   available/syncd&lt;BR /&gt;   LV Size (Mbytes)            1000&lt;BR /&gt;   Current LE                  250&lt;BR /&gt;   Allocated PE                250&lt;BR /&gt;   Used PV                     1&lt;BR /&gt;&lt;BR /&gt;   LV Name                     /dev/vg01/pvlink_test_vol_02&lt;BR /&gt;   LV Status                   available/syncd&lt;BR /&gt;   LV Size (Mbytes)            2000&lt;BR /&gt;   Current LE                  500&lt;BR /&gt;   Allocated PE                500&lt;BR /&gt;   Used PV                     1&lt;BR /&gt;&lt;BR /&gt;   LV Name                     /dev/vg01/pvlink_test_vol_03&lt;BR /&gt;   LV Status                   available/syncd&lt;BR /&gt;   LV Size (Mbytes)            0&lt;BR /&gt;   Current LE                  0&lt;BR /&gt;   Allocated PE                0&lt;BR /&gt;   Used PV                     0&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;   --- Physical volumes ---&lt;BR /&gt;   PV Name                     /dev/dsk/c6t0d0&lt;BR /&gt;   PV Name                     /dev/dsk/c4t0d0  Alternate Link&lt;BR /&gt;   PV Status                   available&lt;BR /&gt;   Total PE                    767&lt;BR /&gt;   Free PE                     17&lt;BR /&gt;   Autoswitch                  On&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;#&lt;BR /&gt;&lt;BR /&gt;Thanks for the response</description>
      <pubDate>Thu, 24 May 2007 21:31:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creating-pvs/m-p/4006920#M298229</guid>
      <dc:creator>dasn</dc:creator>
      <dc:date>2007-05-24T21:31:31Z</dc:date>
    </item>
    <item>
      <title>Re: Creating PVs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-pvs/m-p/4006921#M298230</link>
      <description>c4t0d1 and c6t0d1 is one new disk ( alternate )&lt;BR /&gt;&lt;BR /&gt;check with pvdisplay -v /dev/dsk/c6t0d1&lt;BR /&gt;have any lvol configuration? if no it means this is new disk.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;the command are:&lt;BR /&gt;1. format new disk&lt;BR /&gt;   #pvcreate -f /dev/rdsk/c6t0d1&lt;BR /&gt;2. extend new disk at vg01 configuration&lt;BR /&gt;vgextend /dev/vg01 /dev/dsk/c6t0d1 /dev/dsk/c4t0d1&lt;BR /&gt;3. please used sam for configure lvol. more easier because no need write fstab file or other.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;thanks&lt;BR /&gt;freddy&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 24 May 2007 21:43:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creating-pvs/m-p/4006921#M298230</guid>
      <dc:creator>freddy_21</dc:creator>
      <dc:date>2007-05-24T21:43:27Z</dc:date>
    </item>
    <item>
      <title>Re: Creating PVs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-pvs/m-p/4006922#M298231</link>
      <description>&lt;!--!*#--&gt;Yes that is right. c4t0d1 and c6t0d1 is a new disk. I am sorry, actually i want to re-create LV using lun d0 only, which already have some LVs created which i want to delete and freshly create a sinlge volume using entire 3gig. I dont want to create any LVs in d1 lun. Thanks,&lt;BR /&gt;NKD&lt;BR /&gt;</description>
      <pubDate>Thu, 24 May 2007 21:48:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creating-pvs/m-p/4006922#M298231</guid>
      <dc:creator>dasn</dc:creator>
      <dc:date>2007-05-24T21:48:46Z</dc:date>
    </item>
    <item>
      <title>Re: Creating PVs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-pvs/m-p/4006923#M298232</link>
      <description>Hello Dasn,&lt;BR /&gt;&lt;BR /&gt;I still dont understand what do you need.&lt;BR /&gt;&lt;BR /&gt;My understanding&amp;gt;&lt;BR /&gt;&lt;BR /&gt;vg01 have 1 disk the size 3 GB with 3 logical volume. Now you have 1 new disk the size 3 GB. You want to cretae new volume group so the result:&lt;BR /&gt;vg01 only have 1 logical volume ( lvol size 3 GB ) &amp;lt;-- existing disk&lt;BR /&gt;vg02 only have 1 logical volume ( lvol size 3 GB ) &amp;lt;-- new disk &lt;BR /&gt;&lt;BR /&gt;thanks&lt;BR /&gt;freddy</description>
      <pubDate>Thu, 24 May 2007 21:59:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creating-pvs/m-p/4006923#M298232</guid>
      <dc:creator>freddy_21</dc:creator>
      <dc:date>2007-05-24T21:59:11Z</dc:date>
    </item>
    <item>
      <title>Re: Creating PVs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-pvs/m-p/4006924#M298233</link>
      <description>vg01 only have 1 logical volume ( lvol size 3 GB ) &amp;lt;-- existing disk &lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;I want to the above opeartion only. I dont want to create any lvol in the new disk. I dont want to touch it. Hope its more clear now ?</description>
      <pubDate>Thu, 24 May 2007 22:02:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creating-pvs/m-p/4006924#M298233</guid>
      <dc:creator>dasn</dc:creator>
      <dc:date>2007-05-24T22:02:49Z</dc:date>
    </item>
    <item>
      <title>Re: Creating PVs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-pvs/m-p/4006925#M298234</link>
      <description>hello dasn&lt;BR /&gt;&lt;BR /&gt;you must care about your data.&lt;BR /&gt;vg01 have 3 lvol but only 2 lvols have size.&lt;BR /&gt; &lt;BR /&gt;LV Name                     /dev/vg01/pvlink_test_vol_01&lt;BR /&gt;   LV Status                   available/syncd&lt;BR /&gt;   LV Size (Mbytes)            1000&lt;BR /&gt;   Current LE                  250&lt;BR /&gt;   Allocated PE                250&lt;BR /&gt;   Used PV                     1&lt;BR /&gt;&lt;BR /&gt;   LV Name                     /dev/vg01/pvlink_test_vol_02&lt;BR /&gt;   LV Status                   available/syncd&lt;BR /&gt;   LV Size (Mbytes)            2000&lt;BR /&gt;   Current LE                  500&lt;BR /&gt;   Allocated PE                500&lt;BR /&gt;   Used PV                     1&lt;BR /&gt;&lt;BR /&gt;   LV Name                     /dev/vg01/pvlink_test_vol_03&lt;BR /&gt;   LV Status                   available/syncd&lt;BR /&gt;   LV Size (Mbytes)            0&lt;BR /&gt;   Current LE                  0&lt;BR /&gt;   Allocated PE                0&lt;BR /&gt;   Used PV                     0&lt;BR /&gt;&lt;BR /&gt;how about data at&lt;BR /&gt;/dev/vg01/pvlink_test_vol_01 &amp;lt;- 1 GB&lt;BR /&gt;/dev/vg01/pvlink_test_vol_02 &amp;lt;- 2 GB&lt;BR /&gt;/dev/vg01/pvlink_test_vol_03 &amp;lt;- 0 GB&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;are you ok with your data at both lvol?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;freddy&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 24 May 2007 22:08:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creating-pvs/m-p/4006925#M298234</guid>
      <dc:creator>freddy_21</dc:creator>
      <dc:date>2007-05-24T22:08:39Z</dc:date>
    </item>
    <item>
      <title>Re: Creating PVs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-pvs/m-p/4006926#M298235</link>
      <description>Ok, you have VG01 with one lun (c4t0d0) and 3 test lvols. you want to remove the 3 test lvols and create one lvol using all of c4t0d0. You don't want to touch the other lun c4t0d1. Is this right? If so, here's what you can do.&lt;BR /&gt;&lt;BR /&gt;1) unmount the 3 test lvols if they are, then remove the lvols.&lt;BR /&gt;&lt;BR /&gt;   umount /dev/vg01/pvlink_test_vol_01&lt;BR /&gt;   umount /dev/vg01/pvlink_test_vol_02&lt;BR /&gt;   umount /dev/vg01/pvlink_test_vol_03&lt;BR /&gt;&lt;BR /&gt;   lvremove /dev/vg01/pvlink_test_vol_01&lt;BR /&gt;   lvremove /dev/vg01/pvlink_test_vol_02&lt;BR /&gt;   lvremove /dev/vg01/pvlink_test_vol_03&lt;BR /&gt;&lt;BR /&gt;2) now that the test lvols are removed, create your new lvol.&lt;BR /&gt;&lt;BR /&gt;   lvcreate -n lvol_name -l 767 /dev/vg01&lt;BR /&gt;&lt;BR /&gt;That's it. You can create the filesystem or do whatever you had planned for it.&lt;BR /&gt;&lt;BR /&gt;If you intended on adding the new lun c4t0d1 to the volume group, you will need to pvcreate then vgextend to add c4t0d1 to vg01.&lt;BR /&gt;&lt;BR /&gt;-denver</description>
      <pubDate>Thu, 24 May 2007 22:10:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creating-pvs/m-p/4006926#M298235</guid>
      <dc:creator>Denver Osborn</dc:creator>
      <dc:date>2007-05-24T22:10:53Z</dc:date>
    </item>
    <item>
      <title>Re: Creating PVs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-pvs/m-p/4006927#M298236</link>
      <description>Yes very much. These are tests luns and does not contain any valuable data. I am doing some test with it. &lt;BR /&gt;&lt;BR /&gt;Thanks for reply.</description>
      <pubDate>Thu, 24 May 2007 22:11:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creating-pvs/m-p/4006927#M298236</guid>
      <dc:creator>dasn</dc:creator>
      <dc:date>2007-05-24T22:11:52Z</dc:date>
    </item>
    <item>
      <title>Re: Creating PVs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-pvs/m-p/4006928#M298237</link>
      <description>i think denver way is right. Sorry i cant understand what you want. need more explanation. before make wrong with your data and configuration.&lt;BR /&gt;&lt;BR /&gt;dont forget newfs for new lvol.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;thanks&lt;BR /&gt;freddy</description>
      <pubDate>Thu, 24 May 2007 22:15:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creating-pvs/m-p/4006928#M298237</guid>
      <dc:creator>freddy_21</dc:creator>
      <dc:date>2007-05-24T22:15:04Z</dc:date>
    </item>
    <item>
      <title>Re: Creating PVs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-pvs/m-p/4006929#M298238</link>
      <description>Denever,&lt;BR /&gt;Your understanding is right. Could you please explain the command,&lt;BR /&gt;&lt;BR /&gt;lvcreate -n lvol_name -l 767 /dev/vg01 ? what it will do ?? Will it automatically calculate the size for the vol from /dev/vg01 or it would spread itself in the entire size ??&lt;BR /&gt;&lt;BR /&gt;Thanks for the response.&lt;BR /&gt;- Niranjan</description>
      <pubDate>Thu, 24 May 2007 22:16:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creating-pvs/m-p/4006929#M298238</guid>
      <dc:creator>dasn</dc:creator>
      <dc:date>2007-05-24T22:16:28Z</dc:date>
    </item>
    <item>
      <title>Re: Creating PVs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-pvs/m-p/4006930#M298239</link>
      <description>lvcreate -n lvol_name -l 767 /dev/vg01&lt;BR /&gt;&lt;BR /&gt;"-n" so you can provide a non-default name for the volume.&lt;BR /&gt;&lt;BR /&gt;"-l" is the number of extents to allocate to the lvol. Using 767 for this value tells LVM you'll use the entire disk for your lvol. As per the vgdisplay -v output, the disk has 767 extents (Total PE).&lt;BR /&gt;&lt;BR /&gt;You could also use "-L" to specify the size of the lvol in MB. With 767 PE at 4MB, using "-L 3068" should also use all of the available space for the lvol.&lt;BR /&gt;&lt;BR /&gt;-denver&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 24 May 2007 22:27:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creating-pvs/m-p/4006930#M298239</guid>
      <dc:creator>Denver Osborn</dc:creator>
      <dc:date>2007-05-24T22:27:35Z</dc:date>
    </item>
  </channel>
</rss>

