<?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: Increase and decrease the LVM in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/increase-and-decrease-the-lvm/m-p/2439351#M6728</link>
    <description>First take the backup of (/dev/vg01/lvol12) /data file system. and umount the file system. remove the /dev/vg01/lvol12.&lt;BR /&gt;Create /dev/vg01/lvol12 with 2Gb space and create the file system. Mount the file system and restore the data. If things are working, then unmount the (/dev/vg01/lvol11) /archive file system. extend the logical volume /dev/vg01/lvol11 and extend the file system.&lt;BR /&gt;&lt;BR /&gt;the steps are like this.&lt;BR /&gt;1. Backup&lt;BR /&gt;2. Umount /data0&lt;BR /&gt;3. lvremove /dev/vg01/lvol12&lt;BR /&gt;4. lvcreate -n lvol12 -L 2000 /dev/vg01&lt;BR /&gt;5. newfs -F vxfs /dev/vg01/rlvol12&lt;BR /&gt;6. mount /data0&lt;BR /&gt;7. restore and check&lt;BR /&gt;8. umount /archive&lt;BR /&gt;9. lvextend -L 6000 /dev/vg01/lvol11&lt;BR /&gt;10. extendfs -F vxfs /dev/vg01/rlvol11&lt;BR /&gt;11. mount /archive&lt;BR /&gt;&lt;BR /&gt;hope this helps you</description>
    <pubDate>Thu, 24 Aug 2000 09:40:14 GMT</pubDate>
    <dc:creator>Manju Kampli</dc:creator>
    <dc:date>2000-08-24T09:40:14Z</dc:date>
    <item>
      <title>Increase and decrease the LVM</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/increase-and-decrease-the-lvm/m-p/2439348#M6725</link>
      <description>Good Day,&lt;BR /&gt;&lt;BR /&gt;I have a disk with the below information:&lt;BR /&gt;&lt;BR /&gt;#lvdisplay -v&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                      2      &lt;BR /&gt;Open LV                     2      &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               2171         &lt;BR /&gt;VGDA                        2   &lt;BR /&gt;PE Size (Mbytes)            4               &lt;BR /&gt;Total PE                    2170    &lt;BR /&gt;Alloc PE                    2048    &lt;BR /&gt;Free PE                     122     &lt;BR /&gt;Total PVG                   0        &lt;BR /&gt;&lt;BR /&gt;   --- Logical volumes ---&lt;BR /&gt;   LV Name                     /dev/vg01/lvol11&lt;BR /&gt;   LV Status                   available/syncd           &lt;BR /&gt;   LV Size (Mbytes)            4096            &lt;BR /&gt;   Current LE                  1024      &lt;BR /&gt;   Allocated PE                1024        &lt;BR /&gt;   Used PV                     1       &lt;BR /&gt;&lt;BR /&gt;   LV Name                     /dev/vg01/lvol12&lt;BR /&gt;   LV Status                   available/syncd           &lt;BR /&gt;   LV Size (Mbytes)            4096            &lt;BR /&gt;   Current LE                  1024      &lt;BR /&gt;   Allocated PE                1024        &lt;BR /&gt;   Used PV                     1       &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;   --- Physical volumes ---&lt;BR /&gt;   PV Name                     /dev/dsk/c0t12d0&lt;BR /&gt;   PV Status                   available    &lt;BR /&gt;   Total PE                    2170    &lt;BR /&gt;   Free PE                     122&lt;BR /&gt;&lt;BR /&gt;#bdf&lt;BR /&gt;/dev/vg01/lvol12   4103345  798241 2894769   22% /data0&lt;BR /&gt;/dev/vg01/lvol11   4103345  194876 3498134    5% /archive&lt;BR /&gt;&lt;BR /&gt;what I need is to change the size of /dev/vg01/lvol12 to 2GB and add it to /dev/vg01/lvol11.&lt;BR /&gt;&lt;BR /&gt;Help on it please.&lt;BR /&gt;Thanks,&lt;BR /&gt;Augusto&lt;BR /&gt;</description>
      <pubDate>Thu, 24 Aug 2000 05:52:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/increase-and-decrease-the-lvm/m-p/2439348#M6725</guid>
      <dc:creator>augusto cossa</dc:creator>
      <dc:date>2000-08-24T05:52:14Z</dc:date>
    </item>
    <item>
      <title>Re: Increase and decrease the LVM</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/increase-and-decrease-the-lvm/m-p/2439349#M6726</link>
      <description>Unfortunately, you can't reduce logical volume size without recreating it.&lt;BR /&gt;At first, backup data of directory /data0 and /archive. And then unmount those directories. After this, you can delete those lvols with command lvremove.&lt;BR /&gt;Recreate lvol as the size what you want.</description>
      <pubDate>Thu, 24 Aug 2000 06:01:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/increase-and-decrease-the-lvm/m-p/2439349#M6726</guid>
      <dc:creator>KwangHee Yi</dc:creator>
      <dc:date>2000-08-24T06:01:41Z</dc:date>
    </item>
    <item>
      <title>Re: Increase and decrease the LVM</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/increase-and-decrease-the-lvm/m-p/2439350#M6727</link>
      <description>&lt;BR /&gt;The only way to achieve what you want on-the-fly (without having to backup your data, recreate the lvols to the desired size and reload) is by purchasing and installing OnlineJFS 3.3 This allows you to resize on-the-fly, but, if any data is on the 2Gb part of the filesystem you are trying to freeup it will move the data to part of the disk which you are keeping, which is nice and safe. Ive used it here, works fine.&lt;BR /&gt; Using the normal OnlineJFS (not ver 3.3) when you try to reduce your 4Gb lvol to 2Gb on-the-fly it may not be able to if any data is on the 2Gb you are trying to freeup, so this may not work.&lt;BR /&gt;  If you unmount the lvols and try to do lvreduce it will warn you that if data is on the 2Gb you are tying to free up you will lose it - so this is not safe either.&lt;BR /&gt;</description>
      <pubDate>Thu, 24 Aug 2000 06:14:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/increase-and-decrease-the-lvm/m-p/2439350#M6727</guid>
      <dc:creator>Stefan Farrelly</dc:creator>
      <dc:date>2000-08-24T06:14:15Z</dc:date>
    </item>
    <item>
      <title>Re: Increase and decrease the LVM</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/increase-and-decrease-the-lvm/m-p/2439351#M6728</link>
      <description>First take the backup of (/dev/vg01/lvol12) /data file system. and umount the file system. remove the /dev/vg01/lvol12.&lt;BR /&gt;Create /dev/vg01/lvol12 with 2Gb space and create the file system. Mount the file system and restore the data. If things are working, then unmount the (/dev/vg01/lvol11) /archive file system. extend the logical volume /dev/vg01/lvol11 and extend the file system.&lt;BR /&gt;&lt;BR /&gt;the steps are like this.&lt;BR /&gt;1. Backup&lt;BR /&gt;2. Umount /data0&lt;BR /&gt;3. lvremove /dev/vg01/lvol12&lt;BR /&gt;4. lvcreate -n lvol12 -L 2000 /dev/vg01&lt;BR /&gt;5. newfs -F vxfs /dev/vg01/rlvol12&lt;BR /&gt;6. mount /data0&lt;BR /&gt;7. restore and check&lt;BR /&gt;8. umount /archive&lt;BR /&gt;9. lvextend -L 6000 /dev/vg01/lvol11&lt;BR /&gt;10. extendfs -F vxfs /dev/vg01/rlvol11&lt;BR /&gt;11. mount /archive&lt;BR /&gt;&lt;BR /&gt;hope this helps you</description>
      <pubDate>Thu, 24 Aug 2000 09:40:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/increase-and-decrease-the-lvm/m-p/2439351#M6728</guid>
      <dc:creator>Manju Kampli</dc:creator>
      <dc:date>2000-08-24T09:40:14Z</dc:date>
    </item>
    <item>
      <title>Re: Increase and decrease the LVM</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/increase-and-decrease-the-lvm/m-p/2439352#M6729</link>
      <description>If the amount of system down time is important and you do not have OnlineJFS and you have enough disk space to create additional logical volumes to meet your needs, create new lvs of the size you want on new mount points.  Copy the original data to the new mount points, unmount the original lvs and the newly created lvs.  Mount the newly created lvs to the "original" mount points.&lt;BR /&gt;&lt;BR /&gt;Richard</description>
      <pubDate>Thu, 24 Aug 2000 11:13:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/increase-and-decrease-the-lvm/m-p/2439352#M6729</guid>
      <dc:creator>Richard Mertz</dc:creator>
      <dc:date>2000-08-24T11:13:20Z</dc:date>
    </item>
    <item>
      <title>Re: Increase and decrease the LVM</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/increase-and-decrease-the-lvm/m-p/2439353#M6730</link>
      <description>Augusto:&lt;BR /&gt;&lt;BR /&gt;If you have online JFS you MAY be able to dynamically reduce the size of your logical volume.  The fsadm command is used for this purpose.  This is not guarenteed to work if the file system is heavily fragmented.  It is sometimes possible to defragment extents and directories first and then consolidate space when consolidation alone doesn't work.  See man pages for fsadm.&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 24 Aug 2000 11:27:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/increase-and-decrease-the-lvm/m-p/2439353#M6730</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2000-08-24T11:27:26Z</dc:date>
    </item>
  </channel>
</rss>

