<?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 Unable To Extend the Size of a  Logical Volume File System in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-extend-the-size-of-a-logical-volume-file-system/m-p/4781054#M391002</link>
    <description>Background:&lt;BR /&gt;&lt;BR /&gt;# uname -a&lt;BR /&gt;HP-UX deedee B.11.23 U ia64 4294967295 unlimited-user license&lt;BR /&gt;deedee.rsn.hp.com:/&lt;BR /&gt;&lt;BR /&gt;# bdf /opt&lt;BR /&gt;Filesystem          kbytes    used   avail %used Mounted on&lt;BR /&gt;/dev/vg00/lvol6    6553600 6394216  158144   98% /opt&lt;BR /&gt;&lt;BR /&gt;/opt is almost full and so lvol6 needs to be&lt;BR /&gt;extended in size&lt;BR /&gt;&lt;BR /&gt;When I try to extend lvol6 from 400 PE's to&lt;BR /&gt;a new size of 493 PE's, I get the following:&lt;BR /&gt;&lt;BR /&gt;# lvextend -l 493 /dev/vg00/lvol6&lt;BR /&gt;lvextend: Not enough free physical extents available.&lt;BR /&gt;Logical volume "/dev/vg00/lvol6" could not be extended.&lt;BR /&gt;&lt;BR /&gt;I did a "pvdisplay -v" and discovered that&lt;BR /&gt;all of the PE's in lvol6 are located on disk&lt;BR /&gt;/dev/dsk/c8t0d1s2  /dev/dsk/c8t0d1s2 is part of&lt;BR /&gt;a SAN environment.&lt;BR /&gt;&lt;BR /&gt;Running "pvdisplay -v /dev/dsk/c8t0d1s2"&lt;BR /&gt;shows that there are now zero Free PE available. &lt;BR /&gt;&lt;BR /&gt;My question is this: Is it somehow possible to free up the extents shown for&lt;BR /&gt;one of the other file systems, specifically&lt;BR /&gt;/dev/vg00/lvol9, and make them available&lt;BR /&gt;for /dev/vg00/lvol6?  &lt;BR /&gt;&lt;BR /&gt;# pvdisplay -v /dev/dsk/c8t0d1s2 | more&lt;BR /&gt;&lt;BR /&gt;--- Physical volumes ---&lt;BR /&gt;PV Name                     /dev/dsk/c8t0d1s2&lt;BR /&gt;PV Name                     /dev/dsk/c10t0d1s2  Alternate Link&lt;BR /&gt;VG Name                     /dev/vg00&lt;BR /&gt;PV Status                   available&lt;BR /&gt;Allocatable                 yes&lt;BR /&gt;VGDA                        2&lt;BR /&gt;Cur LV                      9&lt;BR /&gt;PE Size (Mbytes)            16&lt;BR /&gt;Total PE                    3463&lt;BR /&gt;Free PE                     0&lt;BR /&gt;Allocated PE                3463&lt;BR /&gt;Stale PE                    0&lt;BR /&gt;IO Timeout (Seconds)        default&lt;BR /&gt;Autoswitch                  On&lt;BR /&gt;Proactive Polling           On&lt;BR /&gt;&lt;BR /&gt;   --- Distribution of physical volume ---&lt;BR /&gt;   LV Name                 LE of LV  PE for LV&lt;BR /&gt;   /dev/vg00/lvol1         19        19&lt;BR /&gt;   /dev/vg00/lvol2         256       256&lt;BR /&gt;   /dev/vg00/lvol3         33        33&lt;BR /&gt;   /dev/vg00/lvol4         32        32&lt;BR /&gt;   /dev/vg00/lvol5         2         2&lt;BR /&gt;   /dev/vg00/lvol6         400       400&lt;BR /&gt;   /dev/vg00/lvol7         384       384&lt;BR /&gt;   /dev/vg00/lvol8         288       288&lt;BR /&gt;   /dev/vg00/lvol9         2049      2049&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Mon, 25 Apr 2011 22:22:17 GMT</pubDate>
    <dc:creator>Rob Sandifer58</dc:creator>
    <dc:date>2011-04-25T22:22:17Z</dc:date>
    <item>
      <title>Unable To Extend the Size of a  Logical Volume File System</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-extend-the-size-of-a-logical-volume-file-system/m-p/4781054#M391002</link>
      <description>Background:&lt;BR /&gt;&lt;BR /&gt;# uname -a&lt;BR /&gt;HP-UX deedee B.11.23 U ia64 4294967295 unlimited-user license&lt;BR /&gt;deedee.rsn.hp.com:/&lt;BR /&gt;&lt;BR /&gt;# bdf /opt&lt;BR /&gt;Filesystem          kbytes    used   avail %used Mounted on&lt;BR /&gt;/dev/vg00/lvol6    6553600 6394216  158144   98% /opt&lt;BR /&gt;&lt;BR /&gt;/opt is almost full and so lvol6 needs to be&lt;BR /&gt;extended in size&lt;BR /&gt;&lt;BR /&gt;When I try to extend lvol6 from 400 PE's to&lt;BR /&gt;a new size of 493 PE's, I get the following:&lt;BR /&gt;&lt;BR /&gt;# lvextend -l 493 /dev/vg00/lvol6&lt;BR /&gt;lvextend: Not enough free physical extents available.&lt;BR /&gt;Logical volume "/dev/vg00/lvol6" could not be extended.&lt;BR /&gt;&lt;BR /&gt;I did a "pvdisplay -v" and discovered that&lt;BR /&gt;all of the PE's in lvol6 are located on disk&lt;BR /&gt;/dev/dsk/c8t0d1s2  /dev/dsk/c8t0d1s2 is part of&lt;BR /&gt;a SAN environment.&lt;BR /&gt;&lt;BR /&gt;Running "pvdisplay -v /dev/dsk/c8t0d1s2"&lt;BR /&gt;shows that there are now zero Free PE available. &lt;BR /&gt;&lt;BR /&gt;My question is this: Is it somehow possible to free up the extents shown for&lt;BR /&gt;one of the other file systems, specifically&lt;BR /&gt;/dev/vg00/lvol9, and make them available&lt;BR /&gt;for /dev/vg00/lvol6?  &lt;BR /&gt;&lt;BR /&gt;# pvdisplay -v /dev/dsk/c8t0d1s2 | more&lt;BR /&gt;&lt;BR /&gt;--- Physical volumes ---&lt;BR /&gt;PV Name                     /dev/dsk/c8t0d1s2&lt;BR /&gt;PV Name                     /dev/dsk/c10t0d1s2  Alternate Link&lt;BR /&gt;VG Name                     /dev/vg00&lt;BR /&gt;PV Status                   available&lt;BR /&gt;Allocatable                 yes&lt;BR /&gt;VGDA                        2&lt;BR /&gt;Cur LV                      9&lt;BR /&gt;PE Size (Mbytes)            16&lt;BR /&gt;Total PE                    3463&lt;BR /&gt;Free PE                     0&lt;BR /&gt;Allocated PE                3463&lt;BR /&gt;Stale PE                    0&lt;BR /&gt;IO Timeout (Seconds)        default&lt;BR /&gt;Autoswitch                  On&lt;BR /&gt;Proactive Polling           On&lt;BR /&gt;&lt;BR /&gt;   --- Distribution of physical volume ---&lt;BR /&gt;   LV Name                 LE of LV  PE for LV&lt;BR /&gt;   /dev/vg00/lvol1         19        19&lt;BR /&gt;   /dev/vg00/lvol2         256       256&lt;BR /&gt;   /dev/vg00/lvol3         33        33&lt;BR /&gt;   /dev/vg00/lvol4         32        32&lt;BR /&gt;   /dev/vg00/lvol5         2         2&lt;BR /&gt;   /dev/vg00/lvol6         400       400&lt;BR /&gt;   /dev/vg00/lvol7         384       384&lt;BR /&gt;   /dev/vg00/lvol8         288       288&lt;BR /&gt;   /dev/vg00/lvol9         2049      2049&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 25 Apr 2011 22:22:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-extend-the-size-of-a-logical-volume-file-system/m-p/4781054#M391002</guid>
      <dc:creator>Rob Sandifer58</dc:creator>
      <dc:date>2011-04-25T22:22:17Z</dc:date>
    </item>
    <item>
      <title>Re: Unable To Extend the Size of a  Logical Volume File System</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-extend-the-size-of-a-logical-volume-file-system/m-p/4781055#M391003</link>
      <description>Assuming that lvol9 (whatever might be on that volume) has free space. What does this report in the Avail column?:&lt;BR /&gt; &lt;BR /&gt;bdf /dev/vg00/lvol9&lt;BR /&gt; &lt;BR /&gt;If there is available space, you can reduce lvol9 and now vg00 will have Free Extents. However, how you reduce lvol9 depends on whether you have Online JFS installed. If true, then the man page for fsadm_vxfs will show a -b option. In that case, you can resize lvol9 with fsadm (be sure you use the badly documented "m" suffix to show megabytes (rather than the undefined default called 'sectors'). Once the filesystem has been reduced with fsadm, reduce the lvol9 size with lvreduce. Use -L (MB) rather than -l (PE) to match fsadm.&lt;BR /&gt; &lt;BR /&gt;On the other hand, if you do not have the -b option for fsadm, you must backup the entire lvol9 volume, then umount the filesystem, use lvreduce to make lvol9 smaller, then run newfs, mount the volume and then restore lvol9 from your backup tape.&lt;BR /&gt; &lt;BR /&gt;Now you can lvextend lvol6. Note: If you have Online JFS, fsadm -b will then extend the filesystem. If not, you must umount /opt (which will be very difficult while running multiuser mode) to run extendfs to extend the lvol6 filesystem.</description>
      <pubDate>Mon, 25 Apr 2011 23:11:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-extend-the-size-of-a-logical-volume-file-system/m-p/4781055#M391003</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2011-04-25T23:11:11Z</dc:date>
    </item>
    <item>
      <title>Re: Unable To Extend the Size of a  Logical Volume File System</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-extend-the-size-of-a-logical-volume-file-system/m-p/4781056#M391004</link>
      <description>If you have onlineJFS product, then you can reduce the file system &amp;amp; extend the FS which require.&lt;BR /&gt;Or, even, you can take a backup of lvol9 mount point. Delete &amp;amp; re-create it with required sizes.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Vivek</description>
      <pubDate>Tue, 26 Apr 2011 09:27:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-extend-the-size-of-a-logical-volume-file-system/m-p/4781056#M391004</guid>
      <dc:creator>Vivek_Pendse</dc:creator>
      <dc:date>2011-04-26T09:27:33Z</dc:date>
    </item>
  </channel>
</rss>

