<?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: lvextend says 'lvol too large' in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-says-lvol-too-large/m-p/2642537#M646404</link>
    <description>I would normally remove the lvol and recreate it.  Gives me the warm fuzzy to newfs.  However, you should not have a problem.  Use the -f option.&lt;BR /&gt;&lt;BR /&gt;...jcd...</description>
    <pubDate>Thu, 10 Jan 2002 19:40:55 GMT</pubDate>
    <dc:creator>Joseph C. Denman</dc:creator>
    <dc:date>2002-01-10T19:40:55Z</dc:date>
    <item>
      <title>lvextend says 'lvol too large'</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-says-lvol-too-large/m-p/2642533#M646400</link>
      <description>Howdy guys 'n' gals,&lt;BR /&gt;I'm trying to reduce the size of /dev/vg00/lvol9 from 1gb. 100mb. Here's what it looks like via bdf: /dev/vg00/lvol9    1024000   28297  933533    3% /usr2&lt;BR /&gt;&lt;BR /&gt;When I execute "lvreduce -L 100 /dev/vg00/lvol9" I get the following error msg: "Warning: The Logical Volume has a file system larger than the reduced size.&lt;BR /&gt;Reducing the Logical Volume will cause filesystem corruption.&lt;BR /&gt;When a logical volume is reduced useful data might get lost"&lt;BR /&gt;Since I've a backup of the lvol, can I safely ignore this erroneous error?&lt;BR /&gt;&lt;BR /&gt;Thanx in advance,&lt;BR /&gt;Brad</description>
      <pubDate>Thu, 10 Jan 2002 19:33:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-says-lvol-too-large/m-p/2642533#M646400</guid>
      <dc:creator>Brad Marks</dc:creator>
      <dc:date>2002-01-10T19:33:21Z</dc:date>
    </item>
    <item>
      <title>Re: lvextend says 'lvol too large'</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-says-lvol-too-large/m-p/2642534#M646401</link>
      <description>By the way, I meant to say that I'm reducing from 1g. TO 100mb.  &lt;BR /&gt;Thanx</description>
      <pubDate>Thu, 10 Jan 2002 19:36:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-says-lvol-too-large/m-p/2642534#M646401</guid>
      <dc:creator>Brad Marks</dc:creator>
      <dc:date>2002-01-10T19:36:46Z</dc:date>
    </item>
    <item>
      <title>Re: lvextend says 'lvol too large'</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-says-lvol-too-large/m-p/2642535#M646402</link>
      <description>Hi Brad,&lt;BR /&gt;&lt;BR /&gt;If you have backed up the existing data on the lv, it would be good for you to remove the lv complete using "lvremove" and then add another lv using "lvcreate" rather than reducing the size of an existing LV. We normally use lvreduce to reduce the mirror and such and not to reduce the lv size.&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regds&lt;BR /&gt;</description>
      <pubDate>Thu, 10 Jan 2002 19:38:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-says-lvol-too-large/m-p/2642535#M646402</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2002-01-10T19:38:47Z</dc:date>
    </item>
    <item>
      <title>Re: lvextend says 'lvol too large'</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-says-lvol-too-large/m-p/2642536#M646403</link>
      <description>Hi Brad,&lt;BR /&gt;&lt;BR /&gt;Though the used up space is on 28MB, lvreduce always warns us due to the fragmentation of the file system.&lt;BR /&gt;&lt;BR /&gt;**It is not advised to reduce the file system without using OnlineJFS****&lt;BR /&gt;&lt;BR /&gt;If you have OnlineJFS, you can do&lt;BR /&gt;&lt;BR /&gt;#fsadm -b 102400 /usr1&lt;BR /&gt;#lvreduce -L 100 /dev/vg00/lvol9&lt;BR /&gt;&lt;BR /&gt;will take care of your business&lt;BR /&gt;&lt;BR /&gt;If you don't have OnlineJFS, I would suggest to backup the 28MB to another file system temporarly, destroy lvol9 and recreate it with 100MB and then copy the data back. This is the safest procedure.&lt;BR /&gt;&lt;BR /&gt;-Sri&lt;BR /&gt;</description>
      <pubDate>Thu, 10 Jan 2002 19:39:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-says-lvol-too-large/m-p/2642536#M646403</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2002-01-10T19:39:02Z</dc:date>
    </item>
    <item>
      <title>Re: lvextend says 'lvol too large'</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-says-lvol-too-large/m-p/2642537#M646404</link>
      <description>I would normally remove the lvol and recreate it.  Gives me the warm fuzzy to newfs.  However, you should not have a problem.  Use the -f option.&lt;BR /&gt;&lt;BR /&gt;...jcd...</description>
      <pubDate>Thu, 10 Jan 2002 19:40:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-says-lvol-too-large/m-p/2642537#M646404</guid>
      <dc:creator>Joseph C. Denman</dc:creator>
      <dc:date>2002-01-10T19:40:55Z</dc:date>
    </item>
    <item>
      <title>Re: lvextend says 'lvol too large'</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-says-lvol-too-large/m-p/2642538#M646405</link>
      <description>Hi Brad,&lt;BR /&gt;&lt;BR /&gt;you should still be able to reduce the size of the LV if you want. If you are getting errors check the patch level on your system. you may be in need of some LVM patches.&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regds&lt;BR /&gt;</description>
      <pubDate>Thu, 10 Jan 2002 19:40:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-says-lvol-too-large/m-p/2642538#M646405</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2002-01-10T19:40:56Z</dc:date>
    </item>
    <item>
      <title>Re: lvextend says 'lvol too large'</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-says-lvol-too-large/m-p/2642539#M646406</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;As far as you have the data backup, you can reduce the LV. You need to create file system after you reduce the LV and then copy back the data.&lt;BR /&gt;&lt;BR /&gt;My suggestion is to remove the entire LV (lvremove) and recreate the new LV with 100 MB, create new FS and copy back the data.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Shiju</description>
      <pubDate>Thu, 10 Jan 2002 19:41:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-says-lvol-too-large/m-p/2642539#M646406</guid>
      <dc:creator>Helen French</dc:creator>
      <dc:date>2002-01-10T19:41:47Z</dc:date>
    </item>
    <item>
      <title>Re: lvextend says 'lvol too large'</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-says-lvol-too-large/m-p/2642540#M646407</link>
      <description>Hi Brad:&lt;BR /&gt;&lt;BR /&gt;You need to restore the filesystem's data on the logical volume you 'lvreduce'.  The warning message is meant as a reminder to you!&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 10 Jan 2002 19:42:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-says-lvol-too-large/m-p/2642540#M646407</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2002-01-10T19:42:13Z</dc:date>
    </item>
    <item>
      <title>Re: lvextend says 'lvol too large'</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-says-lvol-too-large/m-p/2642541#M646408</link>
      <description>Hi (again) Brad:&lt;BR /&gt;&lt;BR /&gt;I should hasten to add that (having backed up the data you wish to keep), 'lvreduce' the logical volume and *then* create a new smaller filesystem with 'newfs' before reloading your data.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 10 Jan 2002 19:46:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-says-lvol-too-large/m-p/2642541#M646408</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2002-01-10T19:46:49Z</dc:date>
    </item>
    <item>
      <title>Re: lvextend says 'lvol too large'</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-says-lvol-too-large/m-p/2642542#M646409</link>
      <description>Hi&lt;BR /&gt;If you have online JFS then below is the step for Lvreduce&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Reducing an HP OnlineJFS File System&lt;BR /&gt;&lt;BR /&gt; fsadm -F vxfs -b [lv_size_MB]M /mountdirectory&lt;BR /&gt;&lt;BR /&gt;NOTE: You need to add  M directly to the lv_size_MB.&lt;BR /&gt;&lt;BR /&gt;Reduce the logical volume to the needed size:&lt;BR /&gt;&lt;BR /&gt;    # lvreduce -L [lv_size_MB] /dev/vg01/lvol5&lt;BR /&gt;&lt;BR /&gt;Check the size of the reduced file system:&lt;BR /&gt;&lt;BR /&gt;    # bdf&lt;BR /&gt;&lt;BR /&gt;To reduce the size of a logical volume without online JFS (advanced JFS)&lt;BR /&gt;      Note: the following example is using the volume group vg01 and the  logical volume lvhome &lt;BR /&gt;     1) Backup all user data&lt;BR /&gt;     2) Umount the filesystem&lt;BR /&gt;            umount /home&lt;BR /&gt;      3) Reduce the size&lt;BR /&gt;            lvreduce -L 60 /dev/vg01/lvhome&lt;BR /&gt;            Note: the new total size will be 60M.&lt;BR /&gt;      4) Re-create the filesystem&lt;BR /&gt;            newfs -F vxfs /dev/vg01/rlvhome&lt;BR /&gt;            Note: to create an hfs filesystem change vxfs by&lt;BR /&gt;            hfs in the previous command.&lt;BR /&gt;      5) Mount the Logical Volume:&lt;BR /&gt;            mount /dev/vg01/lvhome /home&lt;BR /&gt;      6) Restore the user data&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;-USA..</description>
      <pubDate>Thu, 10 Jan 2002 19:49:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvextend-says-lvol-too-large/m-p/2642542#M646409</guid>
      <dc:creator>Uday_S_Ankolekar</dc:creator>
      <dc:date>2002-01-10T19:49:01Z</dc:date>
    </item>
  </channel>
</rss>

