<?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: adding new disk in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-new-disk/m-p/4238985#M329699</link>
    <description>Hi:&lt;BR /&gt;&lt;BR /&gt;1)  ioscan -fnk (* same as your 'insf -e'.  Will make new device files.&lt;BR /&gt;&lt;BR /&gt;2)  ioscan -funC disk  (* make sure you can see the new disks and that their state is CLAIMED *)&lt;BR /&gt;&lt;BR /&gt;3) vgextend /dev/vg01 /dev/dsk/c#t#d1 /dev/dsk/c#d#d2  (* ONly need one vgextend command, not two *)&lt;BR /&gt;&lt;BR /&gt;4) vgdisplay -v /dev/vg01  (* verify disks have been added *)&lt;BR /&gt;&lt;BR /&gt;5) Note the logical volume from the file system, i.e., /dev/vg01/lvol4&lt;BR /&gt;&lt;BR /&gt;6) lvextend -L 400 /dev/vg01/lvol4  (* add 400 MG to lvol4 *)&lt;BR /&gt;&lt;BR /&gt;7) use 'pvdisplay -v /dev/c%t#d1 &amp;amp; 'pvdisplay -v /dev/c#t#d2 in order to verify lvol4 has been added to 1, but is not currently on 2.&lt;BR /&gt;&lt;BR /&gt;8) lvextend -m 1 /dev/vg01 /dev/vg01/c#t#d2&lt;BR /&gt;&lt;BR /&gt;9)  pvdisplay -v /dev/dsk/c#t#d2.  (* verify lvol4 is now on 2nd pv *)&lt;BR /&gt;Unmount the file system.&lt;BR /&gt;&lt;BR /&gt;10) umount /dev/vg01/lvol4&lt;BR /&gt;&lt;BR /&gt;11)  extendfs /dev/vg06/rlvol3 (* Extend the file system to occupy the entire (larger) logical volume.*)&lt;BR /&gt;&lt;BR /&gt;12) mount /dev/vg06/lvol3 /mnt (* Remount the file system.*)&lt;BR /&gt;</description>
    <pubDate>Wed, 23 Jul 2008 19:01:47 GMT</pubDate>
    <dc:creator>Michael Steele_2</dc:creator>
    <dc:date>2008-07-23T19:01:47Z</dc:date>
    <item>
      <title>adding new disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-new-disk/m-p/4238979#M329693</link>
      <description>Hi&lt;BR /&gt;We need to add some space to a filesystem.The online jfs product is not installed.&lt;BR /&gt;Also there is no free space available.&lt;BR /&gt;Below are the outputs.&lt;BR /&gt;&lt;BR /&gt;Could someone please list the steps i need to perform after adding the disks physically.&lt;BR /&gt;-----------------------------&lt;BR /&gt;vgdisplay 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                      7&lt;BR /&gt;Open LV                     7&lt;BR /&gt;Max PV                      16&lt;BR /&gt;Cur PV                      8&lt;BR /&gt;Act PV                      8&lt;BR /&gt;Max PE per PV               8683&lt;BR /&gt;VGDA                        16&lt;BR /&gt;PE Size (Mbytes)            4&lt;BR /&gt;Total PE                    69448&lt;BR /&gt;Alloc PE                    69448&lt;BR /&gt;Free PE                     0&lt;BR /&gt;Total PVG                   2&lt;BR /&gt;Total Spare PVs             0&lt;BR /&gt;Total Spare PVs in use      0&lt;BR /&gt;===============================================================================&lt;BR /&gt;lvdisplay /dev/vg01/lvdata5&lt;BR /&gt;--- Logical volumes ---&lt;BR /&gt;LV Name                     /dev/vg01/lvdata5&lt;BR /&gt;VG Name                     /dev/vg01&lt;BR /&gt;LV Permission               read/write&lt;BR /&gt;LV Status                   available/syncd&lt;BR /&gt;Mirror copies               1&lt;BR /&gt;Consistency Recovery        MWC&lt;BR /&gt;Schedule                    parallel&lt;BR /&gt;LV Size (Mbytes)            44440&lt;BR /&gt;Current LE                  11110&lt;BR /&gt;Allocated PE                22220&lt;BR /&gt;Stripes                     0&lt;BR /&gt;Stripe Size (Kbytes)        0&lt;BR /&gt;Bad block                   on&lt;BR /&gt;Allocation                  PVG-strict/distributed&lt;BR /&gt;IO Timeout (Seconds)        default&lt;BR /&gt;</description>
      <pubDate>Wed, 23 Jul 2008 09:54:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-new-disk/m-p/4238979#M329693</guid>
      <dc:creator>shrikant 1</dc:creator>
      <dc:date>2008-07-23T09:54:46Z</dc:date>
    </item>
    <item>
      <title>Re: adding new disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-new-disk/m-p/4238980#M329694</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;General process&lt;BR /&gt;&lt;BR /&gt;pvcreate the new disk&lt;BR /&gt;vgextend an existing volume group to include this disk or vgcreate a new volume group&lt;BR /&gt;lvextend a logical volume oonto his disk&lt;BR /&gt;umount the filesystem involved&lt;BR /&gt;extendfs logical volume&lt;BR /&gt;mount the filesystem involved.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Wed, 23 Jul 2008 10:24:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-new-disk/m-p/4238980#M329694</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2008-07-23T10:24:42Z</dc:date>
    </item>
    <item>
      <title>Re: adding new disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-new-disk/m-p/4238981#M329695</link>
      <description>In addition to this, note:&lt;BR /&gt;&lt;BR /&gt;"Total PVG 2"&lt;BR /&gt;"Mirror copies 1"&lt;BR /&gt;&lt;BR /&gt;- add the 2 new disks to the /etc/lvmpvg file&lt;BR /&gt;- they will be mirrored while extending&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;But now look at this:&lt;BR /&gt;&lt;BR /&gt;"Act PV 8"&lt;BR /&gt;"Allocation PVG-strict/distributed"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;If your LVOL resides on all disks, you hit a problem while extending.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 23 Jul 2008 10:40:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-new-disk/m-p/4238981#M329695</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2008-07-23T10:40:21Z</dc:date>
    </item>
    <item>
      <title>Re: adding new disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-new-disk/m-p/4238982#M329696</link>
      <description>Hi Shrikant,&lt;BR /&gt;&lt;BR /&gt;Here PVG funda you need to understand first before extending the FS.&lt;BR /&gt;&lt;BR /&gt;Here we have two PVG, you need to check how many disks you have in each PVG. Then same number of disks you need to add in both PVG first. Then you can extend your LVOL.&lt;BR /&gt;&lt;BR /&gt;First umount the FS&lt;BR /&gt;lvextend command&lt;BR /&gt;extendfs command&lt;BR /&gt;mount FS&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;SKR</description>
      <pubDate>Wed, 23 Jul 2008 10:55:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-new-disk/m-p/4238982#M329696</guid>
      <dc:creator>SKR_1</dc:creator>
      <dc:date>2008-07-23T10:55:00Z</dc:date>
    </item>
    <item>
      <title>Re: adding new disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-new-disk/m-p/4238983#M329697</link>
      <description>I have listed few commands.Kindly confirm&lt;BR /&gt;--------------------------&lt;BR /&gt;1.Insf&lt;BR /&gt;&lt;BR /&gt;2.Pvcreate /dev/rdsk/cxtxdx  (if needed use â  f)&lt;BR /&gt;&lt;BR /&gt;3.Vgextend â  g PVGA  /dev/vg01 /dev/dsk/cxtxdx (1st disk)&lt;BR /&gt;&lt;BR /&gt;4.Vgextend â  g PVGB  /dev/vg01 /dev/dsk/cxtxdx(2nd disk)&lt;BR /&gt;&lt;BR /&gt;5.lvextend ----here i have a doubt. how to use the -m option and should i use pvg name directly&lt;BR /&gt;</description>
      <pubDate>Wed, 23 Jul 2008 14:56:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-new-disk/m-p/4238983#M329697</guid>
      <dc:creator>shrikant 1</dc:creator>
      <dc:date>2008-07-23T14:56:31Z</dc:date>
    </item>
    <item>
      <title>Re: adding new disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-new-disk/m-p/4238984#M329698</link>
      <description>Dear Shirkant&lt;BR /&gt;these are steps u have to follow up &lt;BR /&gt;while extending file system also if  u don't have space in volume group&lt;BR /&gt;first present disk from storage&lt;BR /&gt;present the disk by using insf -C disk&lt;BR /&gt;check the disk ioscan -fnC disk&lt;BR /&gt;then use pvcreate command for creating physical volume&lt;BR /&gt;&lt;BR /&gt;then extend volume group by using vgextend&lt;BR /&gt;then umount the file system&lt;BR /&gt;extend the logical volume&lt;BR /&gt;then extend the file system &lt;BR /&gt;mount it again.&lt;BR /&gt;</description>
      <pubDate>Wed, 23 Jul 2008 17:59:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-new-disk/m-p/4238984#M329698</guid>
      <dc:creator>Sajjad Sahir</dc:creator>
      <dc:date>2008-07-23T17:59:45Z</dc:date>
    </item>
    <item>
      <title>Re: adding new disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-new-disk/m-p/4238985#M329699</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;1)  ioscan -fnk (* same as your 'insf -e'.  Will make new device files.&lt;BR /&gt;&lt;BR /&gt;2)  ioscan -funC disk  (* make sure you can see the new disks and that their state is CLAIMED *)&lt;BR /&gt;&lt;BR /&gt;3) vgextend /dev/vg01 /dev/dsk/c#t#d1 /dev/dsk/c#d#d2  (* ONly need one vgextend command, not two *)&lt;BR /&gt;&lt;BR /&gt;4) vgdisplay -v /dev/vg01  (* verify disks have been added *)&lt;BR /&gt;&lt;BR /&gt;5) Note the logical volume from the file system, i.e., /dev/vg01/lvol4&lt;BR /&gt;&lt;BR /&gt;6) lvextend -L 400 /dev/vg01/lvol4  (* add 400 MG to lvol4 *)&lt;BR /&gt;&lt;BR /&gt;7) use 'pvdisplay -v /dev/c%t#d1 &amp;amp; 'pvdisplay -v /dev/c#t#d2 in order to verify lvol4 has been added to 1, but is not currently on 2.&lt;BR /&gt;&lt;BR /&gt;8) lvextend -m 1 /dev/vg01 /dev/vg01/c#t#d2&lt;BR /&gt;&lt;BR /&gt;9)  pvdisplay -v /dev/dsk/c#t#d2.  (* verify lvol4 is now on 2nd pv *)&lt;BR /&gt;Unmount the file system.&lt;BR /&gt;&lt;BR /&gt;10) umount /dev/vg01/lvol4&lt;BR /&gt;&lt;BR /&gt;11)  extendfs /dev/vg06/rlvol3 (* Extend the file system to occupy the entire (larger) logical volume.*)&lt;BR /&gt;&lt;BR /&gt;12) mount /dev/vg06/lvol3 /mnt (* Remount the file system.*)&lt;BR /&gt;</description>
      <pubDate>Wed, 23 Jul 2008 19:01:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-new-disk/m-p/4238985#M329699</guid>
      <dc:creator>Michael Steele_2</dc:creator>
      <dc:date>2008-07-23T19:01:47Z</dc:date>
    </item>
    <item>
      <title>Re: adding new disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-new-disk/m-p/4238986#M329700</link>
      <description>Geez that's wrong.  8) should read&lt;BR /&gt;&lt;BR /&gt;8)  lvextend -m 1 /dev/vg01/lvol4 /dev/vg01/c#t#d2</description>
      <pubDate>Wed, 23 Jul 2008 19:03:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-new-disk/m-p/4238986#M329700</guid>
      <dc:creator>Michael Steele_2</dc:creator>
      <dc:date>2008-07-23T19:03:46Z</dc:date>
    </item>
  </channel>
</rss>

