<?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: reduce volume in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/reduce-volume/m-p/3083940#M143304</link>
    <description>The command should be 'lvreduce'. But remember these things when you do it:&lt;BR /&gt;&lt;BR /&gt;1) Backup your data on this file system&lt;BR /&gt;2) If you have OnlineJFS, you can do it 'on the fly'&lt;BR /&gt;3) I would recommend doing 'backup first, lvremove second, lvcreate third and restore last' option. This will be more safe.</description>
    <pubDate>Thu, 02 Oct 2003 10:29:25 GMT</pubDate>
    <dc:creator>Helen French</dc:creator>
    <dc:date>2003-10-02T10:29:25Z</dc:date>
    <item>
      <title>reduce volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reduce-volume/m-p/3083934#M143298</link>
      <description>I need to reduce the following oracle mount point:&lt;BR /&gt;&lt;BR /&gt;/dev/vg09/lvol1    59523072 21802080 37426344   37% /u08 &lt;BR /&gt;&lt;BR /&gt;what command would I use, vgreduce ot lvreduce?</description>
      <pubDate>Thu, 02 Oct 2003 10:15:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reduce-volume/m-p/3083934#M143298</guid>
      <dc:creator>Nobody's Hero</dc:creator>
      <dc:date>2003-10-02T10:15:56Z</dc:date>
    </item>
    <item>
      <title>Re: reduce volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reduce-volume/m-p/3083935#M143299</link>
      <description>Unmount the filesystem and use lvreduce.</description>
      <pubDate>Thu, 02 Oct 2003 10:18:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reduce-volume/m-p/3083935#M143299</guid>
      <dc:creator>Vitek Pepas</dc:creator>
      <dc:date>2003-10-02T10:18:08Z</dc:date>
    </item>
    <item>
      <title>Re: reduce volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reduce-volume/m-p/3083936#M143300</link>
      <description>Hi,&lt;BR /&gt; &lt;BR /&gt;You'll be looking for 'lvreduce'.  The 'vgreduce' command is for removing physical volumes from your volume group. &lt;BR /&gt; &lt;BR /&gt;I've never successfully done an lvreduce and had the filesystem survive it.  I read here on the forum once that it can work but the poster suggested using 'fsadm' to defrag the filesystem first.  I would most certainly get a good backup copy of the data before trying it.&lt;BR /&gt; &lt;BR /&gt;The only way I've been able to do it before is to backup the data, remove the logical volume, recreate the logical volume at the smaller size, recreate the filesystem, and restore the data.&lt;BR /&gt; &lt;BR /&gt;JP&lt;BR /&gt;</description>
      <pubDate>Thu, 02 Oct 2003 10:24:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reduce-volume/m-p/3083936#M143300</guid>
      <dc:creator>John Poff</dc:creator>
      <dc:date>2003-10-02T10:24:26Z</dc:date>
    </item>
    <item>
      <title>Re: reduce volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reduce-volume/m-p/3083937#M143301</link>
      <description>Robert,&lt;BR /&gt; &lt;BR /&gt;As JP mentioned, I've not had much success with lvreduce.  If you have the space, I would make another logical volume of the desired size and copy the contents of /u08 into it, then blow /u08 away.&lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt;Pete&lt;BR /&gt; &lt;BR /&gt;</description>
      <pubDate>Thu, 02 Oct 2003 10:28:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reduce-volume/m-p/3083937#M143301</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2003-10-02T10:28:23Z</dc:date>
    </item>
    <item>
      <title>Re: reduce volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reduce-volume/m-p/3083938#M143302</link>
      <description>Hi,&lt;BR /&gt;  &lt;BR /&gt;  As said, only in very rare cases lvreduce succeed.&lt;BR /&gt;&lt;BR /&gt;  Two things&lt;BR /&gt;&lt;BR /&gt;1) Defragment the filesyetm&lt;BR /&gt;&lt;BR /&gt;   fsadm -dDeE /mountpoint&lt;BR /&gt;&lt;BR /&gt;2) Backup it up to the tapes or to an alternate location.&lt;BR /&gt;&lt;BR /&gt;3) use fsadm to reduce the size and lvreduce.&lt;BR /&gt;&lt;BR /&gt;   if lvreduce is not successful then recreate the LV, newfs and restore from backup.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Sundar.&lt;BR /&gt;  &lt;BR /&gt;</description>
      <pubDate>Thu, 02 Oct 2003 10:28:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reduce-volume/m-p/3083938#M143302</guid>
      <dc:creator>Sundar_7</dc:creator>
      <dc:date>2003-10-02T10:28:31Z</dc:date>
    </item>
    <item>
      <title>Re: reduce volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reduce-volume/m-p/3083939#M143303</link>
      <description>Hey Robert,&lt;BR /&gt;&lt;BR /&gt;Unmount and use lvreduce. If the lvreduce frees up enough extents to free up an entire physical volume in the volume group, then you can do a vgreduce. The vgreduce will remove the designated physical volume from the volume group.&lt;BR /&gt;&lt;BR /&gt;I would definately heed John's words though. I have performed a couple of lvreduce commands, but never in a production environment. I would most definately have a good backup. That safety net is a must.&lt;BR /&gt;&lt;BR /&gt;-Bryan</description>
      <pubDate>Thu, 02 Oct 2003 10:28:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reduce-volume/m-p/3083939#M143303</guid>
      <dc:creator>Bryan D. Quinn</dc:creator>
      <dc:date>2003-10-02T10:28:42Z</dc:date>
    </item>
    <item>
      <title>Re: reduce volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reduce-volume/m-p/3083940#M143304</link>
      <description>The command should be 'lvreduce'. But remember these things when you do it:&lt;BR /&gt;&lt;BR /&gt;1) Backup your data on this file system&lt;BR /&gt;2) If you have OnlineJFS, you can do it 'on the fly'&lt;BR /&gt;3) I would recommend doing 'backup first, lvremove second, lvcreate third and restore last' option. This will be more safe.</description>
      <pubDate>Thu, 02 Oct 2003 10:29:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reduce-volume/m-p/3083940#M143304</guid>
      <dc:creator>Helen French</dc:creator>
      <dc:date>2003-10-02T10:29:25Z</dc:date>
    </item>
    <item>
      <title>Re: reduce volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reduce-volume/m-p/3083941#M143305</link>
      <description>The safest way to do is&lt;BR /&gt;1. Create new volume of desired size - Copy data to new volume - Remove original volume&lt;BR /&gt;Or&lt;BR /&gt;2. Backup the data - Remove original volume - Create new volume with desired size - Restore data.&lt;BR /&gt;&lt;BR /&gt;-GK-</description>
      <pubDate>Thu, 02 Oct 2003 11:28:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reduce-volume/m-p/3083941#M143305</guid>
      <dc:creator>GK_5</dc:creator>
      <dc:date>2003-10-02T11:28:49Z</dc:date>
    </item>
  </channel>
</rss>

