<?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: Lvreduce command in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce-command/m-p/2899953#M633747</link>
    <description>Hi,&lt;BR /&gt;You have reduced the logical volume but not the filesystem yet. i.e. you have to use "fsadm" to resize the filesystem after you have done lvreduce.&lt;BR /&gt;Do&lt;BR /&gt;fsadm -b newsize /mountpoint &lt;BR /&gt;&lt;BR /&gt;I recomend you go through this document which will help you know the process more better.&lt;BR /&gt;&lt;A href="http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000063231654" target="_blank"&gt;http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000063231654&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Let me know if you can access this.&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;Rajeev</description>
    <pubDate>Fri, 07 Feb 2003 22:59:05 GMT</pubDate>
    <dc:creator>Rajeev  Shukla</dc:creator>
    <dc:date>2003-02-07T22:59:05Z</dc:date>
    <item>
      <title>Lvreduce command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce-command/m-p/2899952#M633746</link>
      <description>Hi, &lt;BR /&gt;I tested lvreduce cmd on test machine before to perform it on production machine....I don't need rush response but I will appreciate your help&lt;BR /&gt;&lt;BR /&gt;I have online JFS, and I performed lvreduce, I received msg that's everything was ok.  When I checked in SAM, I saw the new size, but when I did bdf, I saw an old size...&lt;BR /&gt;I did these steps:&lt;BR /&gt;umount file system&lt;BR /&gt;lvreduce&lt;BR /&gt;mount file system&lt;BR /&gt;&lt;BR /&gt;Could you tell me what's wrong.  &lt;BR /&gt;&lt;BR /&gt;Thank you</description>
      <pubDate>Fri, 07 Feb 2003 22:46:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce-command/m-p/2899952#M633746</guid>
      <dc:creator>Sylvie Vezina</dc:creator>
      <dc:date>2003-02-07T22:46:22Z</dc:date>
    </item>
    <item>
      <title>Re: Lvreduce command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce-command/m-p/2899953#M633747</link>
      <description>Hi,&lt;BR /&gt;You have reduced the logical volume but not the filesystem yet. i.e. you have to use "fsadm" to resize the filesystem after you have done lvreduce.&lt;BR /&gt;Do&lt;BR /&gt;fsadm -b newsize /mountpoint &lt;BR /&gt;&lt;BR /&gt;I recomend you go through this document which will help you know the process more better.&lt;BR /&gt;&lt;A href="http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000063231654" target="_blank"&gt;http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000063231654&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Let me know if you can access this.&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;Rajeev</description>
      <pubDate>Fri, 07 Feb 2003 22:59:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce-command/m-p/2899953#M633747</guid>
      <dc:creator>Rajeev  Shukla</dc:creator>
      <dc:date>2003-02-07T22:59:05Z</dc:date>
    </item>
    <item>
      <title>Re: Lvreduce command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce-command/m-p/2899954#M633748</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You need to take backup of your filesystem before you attempt to reduce even with onlinejfs.&lt;BR /&gt;&lt;BR /&gt;If you have onlineJFS, you wouldn't need to unmount and lvreduce. Your steps would be the&lt;BR /&gt;following. Let us say you had 1000MB and you want to reduce it by 500MB. So, the new size is 500MB.&lt;BR /&gt;Size_in_blocks = 500*1024= 512000&lt;BR /&gt;&lt;BR /&gt;1. fsadm -b 512000 /mount_point&lt;BR /&gt;&lt;BR /&gt;If the above is successful, then&lt;BR /&gt;&lt;BR /&gt;2. lvreduce -L 500 /dev/vg01/your_lv&lt;BR /&gt;&lt;BR /&gt;If you do a bdf /mount_point, you should see &lt;BR /&gt;only 500MB.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Fri, 07 Feb 2003 23:02:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce-command/m-p/2899954#M633748</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2003-02-07T23:02:39Z</dc:date>
    </item>
    <item>
      <title>Re: Lvreduce command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce-command/m-p/2899955#M633749</link>
      <description>You have done a bad thing!!!&lt;BR /&gt;&lt;BR /&gt;The correct order was&lt;BR /&gt;1) fsadm -F vxfs -b newsize&lt;BR /&gt;2) lvreduce&lt;BR /&gt;&lt;BR /&gt;You didn't need to unmount with OnlineJFS.&lt;BR /&gt;&lt;BR /&gt;The problem is that LV commands have nothing to do with the filesystems. You now have a filesystem that is bigger than its LVOL. I would immediately do an lvextend to at least the previous size. If you have already allocated other LVOL's then it's probably too late.&lt;BR /&gt;</description>
      <pubDate>Fri, 07 Feb 2003 23:02:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce-command/m-p/2899955#M633749</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2003-02-07T23:02:58Z</dc:date>
    </item>
    <item>
      <title>Re: Lvreduce command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce-command/m-p/2899956#M633750</link>
      <description>you've changed the logical volume size with lvreduce but not the file system size. this type of situation can lead to loss of data/corruption.&lt;BR /&gt;&lt;BR /&gt;you want to:&lt;BR /&gt;(1) do a backup&lt;BR /&gt;(2) fsadm -b &lt;BR /&gt;(3) lvreduce newsize /mountpoint &lt;BR /&gt;&lt;BR /&gt;Keep in mind that you can still have data loss, so you may also want to restore the data as a possible step 4.&lt;BR /&gt;&lt;BR /&gt;I'm glad you mentioned that this is a test box!&lt;BR /&gt;&lt;BR /&gt;Check out this thread:&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x312c8ffa98a2d5118ff10090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x312c8ffa98a2d5118ff10090279cd0f9,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 07 Feb 2003 23:08:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce-command/m-p/2899956#M633750</guid>
      <dc:creator>Ian Kidd_1</dc:creator>
      <dc:date>2003-02-07T23:08:04Z</dc:date>
    </item>
    <item>
      <title>Re: Lvreduce command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce-command/m-p/2899957#M633751</link>
      <description>oops should be :&lt;BR /&gt;&lt;BR /&gt;(1) do a backup &lt;BR /&gt;(2) fsadm -b newsize /mountpoint&lt;BR /&gt;(3) lvreduce  &lt;BR /&gt;&lt;BR /&gt;copy/paste error on my part&lt;BR /&gt;&lt;BR /&gt;(no points for this second entry please!)</description>
      <pubDate>Fri, 07 Feb 2003 23:09:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce-command/m-p/2899957#M633751</guid>
      <dc:creator>Ian Kidd_1</dc:creator>
      <dc:date>2003-02-07T23:09:30Z</dc:date>
    </item>
  </channel>
</rss>

