<?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: reducing fs size. in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/reducing-fs-size/m-p/3188184#M796255</link>
    <description>Thank you all for all your information. I'm noticing that the commands are reversed from if you want to increase it. Does it matter which order I do the commands?&lt;BR /&gt;&lt;BR /&gt;Thanks again,&lt;BR /&gt;Remy</description>
    <pubDate>Tue, 10 Feb 2004 14:41:34 GMT</pubDate>
    <dc:creator>Remy_1</dc:creator>
    <dc:date>2004-02-10T14:41:34Z</dc:date>
    <item>
      <title>reducing fs size.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reducing-fs-size/m-p/3188180#M796251</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Is it possible to reduce the size of a filesystem without having to recreate it?&lt;BR /&gt;I know that it's possible to increase it on the fly with online JFS, but never reduce it.&lt;BR /&gt;If possible, please include instructions.&lt;BR /&gt;&lt;BR /&gt;Thanks again,&lt;BR /&gt;Remy</description>
      <pubDate>Tue, 10 Feb 2004 14:26:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reducing-fs-size/m-p/3188180#M796251</guid>
      <dc:creator>Remy_1</dc:creator>
      <dc:date>2004-02-10T14:26:29Z</dc:date>
    </item>
    <item>
      <title>Re: reducing fs size.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reducing-fs-size/m-p/3188181#M796252</link>
      <description>Hi Remy,&lt;BR /&gt;&lt;BR /&gt;Yes - with OnLine JFS &amp;amp; the proper vxfs version you can reduce FS size. But make sure you back it up first - just in case.&lt;BR /&gt;&lt;BR /&gt;1) Defrag/Reorg the FS - twice&lt;BR /&gt;fsadm -F vxfs -D -d -E -e /mnt_point&lt;BR /&gt;&lt;BR /&gt;2) Resize the FS&lt;BR /&gt;fsadm -F vxfs -b XXXXM /mnt_point&lt;BR /&gt;where XXXX = the new smaller size in MB - the M is to denote MB&lt;BR /&gt;&lt;BR /&gt;3) Reduce the LV&lt;BR /&gt;lvreduce -L XXXX /dev/vg_name/lv_name&lt;BR /&gt;where XXXX = the *same* MB size as the fsadm command.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Jeff&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 10 Feb 2004 14:31:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reducing-fs-size/m-p/3188181#M796252</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2004-02-10T14:31:41Z</dc:date>
    </item>
    <item>
      <title>Re: reducing fs size.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reducing-fs-size/m-p/3188182#M796253</link>
      <description>you need to run the lvreduce command&lt;BR /&gt;&lt;BR /&gt;You can reduce the logical volume the filesystem is sitting on.&lt;BR /&gt;&lt;BR /&gt;Be careful if you squeeze it too much data will be damaged.&lt;BR /&gt;&lt;BR /&gt;Instructions:&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=235198" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=235198&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;My search:&lt;BR /&gt;&lt;A href="http://us-support.external.hp.com/emse/bin/doc.pl/sid=d4445c3d10f1a66dcb?todo=search&amp;amp;searchtext=lvreduce+&amp;amp;x=2&amp;amp;y=11&amp;amp;searchcriteria=allwords&amp;amp;searchtype=SEARCH_FORUMS&amp;amp;searchcategory=ALL&amp;amp;rn=25&amp;amp;presort=rank" target="_blank"&gt;http://us-support.external.hp.com/emse/bin/doc.pl/sid=d4445c3d10f1a66dcb?todo=search&amp;amp;searchtext=lvreduce+&amp;amp;x=2&amp;amp;y=11&amp;amp;searchcriteria=allwords&amp;amp;searchtype=SEARCH_FORUMS&amp;amp;searchcategory=ALL&amp;amp;rn=25&amp;amp;presort=rank&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Tue, 10 Feb 2004 14:34:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reducing-fs-size/m-p/3188182#M796253</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-02-10T14:34:12Z</dc:date>
    </item>
    <item>
      <title>Re: reducing fs size.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reducing-fs-size/m-p/3188183#M796254</link>
      <description>Hi Remy,&lt;BR /&gt;&lt;BR /&gt;Have a good backup (verified) of your data before you attempt to reduce.&lt;BR /&gt;&lt;BR /&gt;It is possible to reduce the filesystem with OnlineJFS. Following are the instructions. Say /mount and /dev/vg01/lvol1 are the filesystem and the logical volumes respectively. You want to reduce /mount from 1000 MB to 900MB. &lt;BR /&gt;&lt;BR /&gt;#fsadm -b 900m /mount&lt;BR /&gt;(make sure it is successful)&lt;BR /&gt;#bdf /mount&lt;BR /&gt;#lvreduce -L 900 /dev/vg01/lvol1&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;You can try defragment the filesystem if it doesn't work, but there isn't much guarantee though.&lt;BR /&gt;&lt;BR /&gt;If this is to work best, you will need to have latest patches. It will work almost 100% on all Version 4 filesystems.&lt;BR /&gt;&lt;BR /&gt;Without OnlineJFS, you cannot reduce the filesystem. You will need to backup the data, recreate the logical volume and then restore.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Tue, 10 Feb 2004 14:36:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reducing-fs-size/m-p/3188183#M796254</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-02-10T14:36:16Z</dc:date>
    </item>
    <item>
      <title>Re: reducing fs size.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reducing-fs-size/m-p/3188184#M796255</link>
      <description>Thank you all for all your information. I'm noticing that the commands are reversed from if you want to increase it. Does it matter which order I do the commands?&lt;BR /&gt;&lt;BR /&gt;Thanks again,&lt;BR /&gt;Remy</description>
      <pubDate>Tue, 10 Feb 2004 14:41:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reducing-fs-size/m-p/3188184#M796255</guid>
      <dc:creator>Remy_1</dc:creator>
      <dc:date>2004-02-10T14:41:34Z</dc:date>
    </item>
    <item>
      <title>Re: reducing fs size.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reducing-fs-size/m-p/3188185#M796256</link>
      <description>Hi Remy,&lt;BR /&gt;&lt;BR /&gt;Absolutely.&lt;BR /&gt;The FS can *never* be larger than the LV or corruption is certain.&lt;BR /&gt;That's why you grow the LV first, but shrink the FS first.&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Jeff&lt;BR /&gt;</description>
      <pubDate>Tue, 10 Feb 2004 14:43:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reducing-fs-size/m-p/3188185#M796256</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2004-02-10T14:43:33Z</dc:date>
    </item>
    <item>
      <title>Re: reducing fs size.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reducing-fs-size/m-p/3188186#M796257</link>
      <description>Hi Remy,&lt;BR /&gt;&lt;BR /&gt;Filesystem is always on 'top' of the logical volume. So to extend, we extend the logical volume first and then the filesystem. To reduce, we reduce the filesystem and then the logical volume.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Tue, 10 Feb 2004 14:59:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reducing-fs-size/m-p/3188186#M796257</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-02-10T14:59:04Z</dc:date>
    </item>
  </channel>
</rss>

