<?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 /opt in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/opt/m-p/4491026#M38129</link>
    <description>hi,&lt;BR /&gt;is it possible to reduce /opt in linux ? server is Red Hat Enterprise Linux AS release 4 (Nahant Update 4).&lt;BR /&gt;&lt;BR /&gt;tried to find "reduce /opt" from this forum but got too many unrelevant results.</description>
    <pubDate>Thu, 03 Sep 2009 07:36:55 GMT</pubDate>
    <dc:creator>Mohd Rasidi Che Mat</dc:creator>
    <dc:date>2009-09-03T07:36:55Z</dc:date>
    <item>
      <title>/opt</title>
      <link>https://community.hpe.com/t5/operating-system-linux/opt/m-p/4491026#M38129</link>
      <description>hi,&lt;BR /&gt;is it possible to reduce /opt in linux ? server is Red Hat Enterprise Linux AS release 4 (Nahant Update 4).&lt;BR /&gt;&lt;BR /&gt;tried to find "reduce /opt" from this forum but got too many unrelevant results.</description>
      <pubDate>Thu, 03 Sep 2009 07:36:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/opt/m-p/4491026#M38129</guid>
      <dc:creator>Mohd Rasidi Che Mat</dc:creator>
      <dc:date>2009-09-03T07:36:55Z</dc:date>
    </item>
    <item>
      <title>Re: /opt</title>
      <link>https://community.hpe.com/t5/operating-system-linux/opt/m-p/4491027#M38130</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;df -kh /opt&lt;BR /&gt;&lt;BR /&gt;See if its a separate mount point.&lt;BR /&gt;&lt;BR /&gt;The answer is probably yes. If it is its own mount point and it is not to full, you can reduce it.&lt;BR /&gt;&lt;BR /&gt;resize2fs&lt;BR /&gt;&lt;BR /&gt;That is the command you need to use.&lt;BR /&gt;&lt;BR /&gt;Under rhel5 you can use this command to increase or reduce while the files system is in use.&lt;BR /&gt;&lt;BR /&gt;You will need to umount /opt to do this under rhel 4.&lt;BR /&gt;&lt;BR /&gt;SEP&lt;BR /&gt;</description>
      <pubDate>Thu, 03 Sep 2009 07:47:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/opt/m-p/4491027#M38130</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2009-09-03T07:47:50Z</dc:date>
    </item>
    <item>
      <title>Re: /opt</title>
      <link>https://community.hpe.com/t5/operating-system-linux/opt/m-p/4491028#M38131</link>
      <description>so no need to lvreduce first?&lt;BR /&gt;for example, when we incr /opt first we do lvextend first then run ext2online.</description>
      <pubDate>Thu, 03 Sep 2009 08:00:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/opt/m-p/4491028#M38131</guid>
      <dc:creator>Mohd Rasidi Che Mat</dc:creator>
      <dc:date>2009-09-03T08:00:08Z</dc:date>
    </item>
    <item>
      <title>Re: /opt</title>
      <link>https://community.hpe.com/t5/operating-system-linux/opt/m-p/4491029#M38132</link>
      <description>The LV must *never* be smaller than the filesystem inside it.&lt;BR /&gt;&lt;BR /&gt;When expanding, first lvextend, then resize2fs/ext2online.&lt;BR /&gt;&lt;BR /&gt;When shrinking, first resize2fs, then lvreduce - and be very careful of not reducing too much!&lt;BR /&gt;&lt;BR /&gt;MK</description>
      <pubDate>Thu, 03 Sep 2009 10:42:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/opt/m-p/4491029#M38132</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2009-09-03T10:42:13Z</dc:date>
    </item>
    <item>
      <title>Re: /opt</title>
      <link>https://community.hpe.com/t5/operating-system-linux/opt/m-p/4491030#M38133</link>
      <description>The resize2fs and lvreduce command are required for shrinking your logical volume.&lt;BR /&gt;&lt;BR /&gt;Shrinking logical volume is a risky move for losing data. It has never been recommended thing to do by experts. You must exercise cautions.&lt;BR /&gt;&lt;BR /&gt;Anyway, to be on the safe side, if possible, you should consider to create a new logical volume, copy all your data to it then shrink your /opt file system and its logical volume or umount your current /opt file system then mount /opt on your new logical volume on which you have copied data.&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;</description>
      <pubDate>Fri, 04 Sep 2009 15:30:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/opt/m-p/4491030#M38133</guid>
      <dc:creator>loco_vikide</dc:creator>
      <dc:date>2009-09-04T15:30:53Z</dc:date>
    </item>
  </channel>
</rss>

