<?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: resize /opt in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/resize-opt/m-p/5280916#M474283</link>
    <description>&amp;gt;&amp;gt;sangliak .&lt;BR /&gt;&lt;BR /&gt;same logic for each of them you need to tell&lt;BR /&gt;the fsadm the final count to eat up !!&lt;BR /&gt;yes defrag is good thing to do to reduce.&lt;BR /&gt;&lt;BR /&gt;Looks what  quoted for each of them reduce/extend.&lt;BR /&gt;1) lvreduce / lventend @ lvol level&lt;BR /&gt;2) fsadm -F vxfs -b &amp;lt;&amp;gt;M /opt @ fs level.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Manix</description>
    <pubDate>Sun, 01 May 2011 11:56:41 GMT</pubDate>
    <dc:creator>Manix</dc:creator>
    <dc:date>2011-05-01T11:56:41Z</dc:date>
    <item>
      <title>resize /opt</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/resize-opt/m-p/5280912#M474279</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;i am using hpux11iv3 DC OE with online jfs. i have resize (reduce) /opt using smh. but i see its only reduce file system not actual size. how can reduce size as well. even now if i try to increase file system as before. showing error.&lt;BR /&gt;&lt;BR /&gt;help.&lt;BR /&gt;&lt;BR /&gt;mrmo07</description>
      <pubDate>Sun, 01 May 2011 08:46:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/resize-opt/m-p/5280912#M474279</guid>
      <dc:creator>mrmo07</dc:creator>
      <dc:date>2011-05-01T08:46:58Z</dc:date>
    </item>
    <item>
      <title>Re: resize /opt</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/resize-opt/m-p/5280913#M474280</link>
      <description>not sure what exactly you have done.&lt;BR /&gt;but there are two operations 1) lvreduce /lventend @ lvol level&lt;BR /&gt;&lt;BR /&gt;2) fsadm -F vxfs -b &amp;lt;&amp;gt;M /opt @ fs level.&lt;BR /&gt;&lt;BR /&gt;to effect the bdf output.&lt;BR /&gt;&lt;BR /&gt;Just check what you have done.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Manix</description>
      <pubDate>Sun, 01 May 2011 10:19:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/resize-opt/m-p/5280913#M474280</guid>
      <dc:creator>Manix</dc:creator>
      <dc:date>2011-05-01T10:19:36Z</dc:date>
    </item>
    <item>
      <title>Re: resize /opt</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/resize-opt/m-p/5280914#M474281</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;What Manix mentioned is the procedure to extend your file system.&lt;BR /&gt;&lt;BR /&gt;But if I read your question correctly you are trying to reduce a file system.  Although this is a supported feature of OnlineJFS it is highly recommended to make a backup of the data on your file system before reducing it (Murphy's law you know...).&lt;BR /&gt;&lt;BR /&gt;The steps to reduce a file system are:&lt;BR /&gt;&lt;BR /&gt;1. defrag your file system (not required, but in my opinion recommended):&lt;BR /&gt;# fsadm -d -v -e /filesystem&lt;BR /&gt;&lt;BR /&gt;2. reduce your filesystem:&lt;BR /&gt;# fsadm -b 3072M /filesystem&lt;BR /&gt;&lt;BR /&gt;3. reduce the logical volume:&lt;BR /&gt;# lvreduce -L 3072 /dev/vg01/lvolx&lt;BR /&gt;&lt;BR /&gt;As it seems that you have already successfully reduced your file system you should only need the 3rd step (reducing your logical volume).  This can probably also be done using SMH, but I cannot help you with the procedure as I am not that familiar with SMH.&lt;BR /&gt;&lt;BR /&gt;If that does not work it please provide the following information:&lt;BR /&gt;# bdf&lt;BR /&gt;# fstyp /dev/vg01/lvolx&lt;BR /&gt;# lvdisplay -v /dev/vg01/lvolx&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Hope that helps,&lt;BR /&gt;&lt;BR /&gt;sangilak</description>
      <pubDate>Sun, 01 May 2011 10:35:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/resize-opt/m-p/5280914#M474281</guid>
      <dc:creator>sangilak</dc:creator>
      <dc:date>2011-05-01T10:35:15Z</dc:date>
    </item>
    <item>
      <title>Re: resize /opt</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/resize-opt/m-p/5280915#M474282</link>
      <description>hi&lt;BR /&gt;&lt;BR /&gt;not advisory to reduce the opt filesystem.&lt;BR /&gt;&lt;BR /&gt;can use &lt;BR /&gt; &lt;BR /&gt;fsadm -F vxfs -b size[M] /opt&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;&lt;BR /&gt;MC&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 01 May 2011 10:46:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/resize-opt/m-p/5280915#M474282</guid>
      <dc:creator>madhuchakkaravarthy</dc:creator>
      <dc:date>2011-05-01T10:46:28Z</dc:date>
    </item>
    <item>
      <title>Re: resize /opt</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/resize-opt/m-p/5280916#M474283</link>
      <description>&amp;gt;&amp;gt;sangliak .&lt;BR /&gt;&lt;BR /&gt;same logic for each of them you need to tell&lt;BR /&gt;the fsadm the final count to eat up !!&lt;BR /&gt;yes defrag is good thing to do to reduce.&lt;BR /&gt;&lt;BR /&gt;Looks what  quoted for each of them reduce/extend.&lt;BR /&gt;1) lvreduce / lventend @ lvol level&lt;BR /&gt;2) fsadm -F vxfs -b &amp;lt;&amp;gt;M /opt @ fs level.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Manix</description>
      <pubDate>Sun, 01 May 2011 11:56:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/resize-opt/m-p/5280916#M474283</guid>
      <dc:creator>Manix</dc:creator>
      <dc:date>2011-05-01T11:56:41Z</dc:date>
    </item>
    <item>
      <title>Re: resize /opt</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/resize-opt/m-p/5280917#M474284</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;You are right the steps involved are the same (reduce/extend the file system and reduce/extend the logical volume).  But I was always told that the order is different.&lt;BR /&gt;&lt;BR /&gt;Extend:&lt;BR /&gt;1st: extend your logical volume (lvextend)&lt;BR /&gt;2nd: extend your file system (fsadm)&lt;BR /&gt;&lt;BR /&gt;Reduce:&lt;BR /&gt;1st: reduce your file system (fsadm)&lt;BR /&gt;2nd: reduce your logical volume (lvreduce)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;sangilak</description>
      <pubDate>Sun, 01 May 2011 12:55:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/resize-opt/m-p/5280917#M474284</guid>
      <dc:creator>sangilak</dc:creator>
      <dc:date>2011-05-01T12:55:42Z</dc:date>
    </item>
    <item>
      <title>Re: resize /opt</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/resize-opt/m-p/5280918#M474285</link>
      <description>Thanks ..that`s true :)&lt;BR /&gt;</description>
      <pubDate>Sun, 01 May 2011 15:22:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/resize-opt/m-p/5280918#M474285</guid>
      <dc:creator>Manix</dc:creator>
      <dc:date>2011-05-01T15:22:34Z</dc:date>
    </item>
    <item>
      <title>Re: resize /opt</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/resize-opt/m-p/5280919#M474286</link>
      <description>#fsadm -f vxfs -ed /opt&lt;BR /&gt;#fsadm -f vxfs -b (size in mb) /opt&lt;BR /&gt;#lvreduce -L (size in mb) /dev/vg00/lvolx&lt;BR /&gt;#bdf</description>
      <pubDate>Mon, 02 May 2011 04:36:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/resize-opt/m-p/5280919#M474286</guid>
      <dc:creator>abir chowdhury</dc:creator>
      <dc:date>2011-05-02T04:36:37Z</dc:date>
    </item>
    <item>
      <title>Re: resize /opt</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/resize-opt/m-p/5280920#M474287</link>
      <description>job done &lt;BR /&gt;&lt;BR /&gt;thanks all.</description>
      <pubDate>Mon, 02 May 2011 08:17:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/resize-opt/m-p/5280920#M474287</guid>
      <dc:creator>mrmo07</dc:creator>
      <dc:date>2011-05-02T08:17:25Z</dc:date>
    </item>
  </channel>
</rss>

