<?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: How to shrink filesystem in Red Hat Linux in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/how-to-shrink-filesystem-in-red-hat-linux/m-p/4796362#M44498</link>
    <description>Oops - did not read post thorughly.&lt;BR /&gt;&lt;BR /&gt;I guess you can try booting in rescue mode and od the resize from there.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;OR:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.mondorescue.org" target="_blank"&gt;www.mondorescue.org&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Use mondorescue to backup OS and Restore rsizing your partitions.&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Tue, 07 Jun 2011 14:24:02 GMT</pubDate>
    <dc:creator>Alzhy</dc:creator>
    <dc:date>2011-06-07T14:24:02Z</dc:date>
    <item>
      <title>How to shrink filesystem in Red Hat Linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-shrink-filesystem-in-red-hat-linux/m-p/4796359#M44495</link>
      <description>I have a virtual machine running Red Hat Linux 5.4.&lt;BR /&gt;&lt;BR /&gt;I want to shrink the /(root) filesystem.&lt;BR /&gt;Can someone explain I to shrink a filesystem on a virtual machine?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 07 Jun 2011 12:05:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-shrink-filesystem-in-red-hat-linux/m-p/4796359#M44495</guid>
      <dc:creator>Danesh Qureshi</dc:creator>
      <dc:date>2011-06-07T12:05:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to shrink filesystem in Red Hat Linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-shrink-filesystem-in-red-hat-linux/m-p/4796360#M44496</link>
      <description>&lt;BR /&gt;&lt;A href="http://linux.die.net/man/8/resize2fs" target="_blank"&gt;http://linux.die.net/man/8/resize2fs&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://www.howtoforge.com/linux_resizing_ext3_partitions" target="_blank"&gt;http://www.howtoforge.com/linux_resizing_ext3_partitions&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Cheers.</description>
      <pubDate>Tue, 07 Jun 2011 14:22:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-shrink-filesystem-in-red-hat-linux/m-p/4796360#M44496</guid>
      <dc:creator>Alzhy</dc:creator>
      <dc:date>2011-06-07T14:22:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to shrink filesystem in Red Hat Linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-shrink-filesystem-in-red-hat-linux/m-p/4796361#M44497</link>
      <description>You make an image of your preferred Linux Live CD, and boot your virtual machine using that. Then use the tools available on the Live CD to shrink the filesystem.&lt;BR /&gt;&lt;BR /&gt;*On-line* shrinking of a filesystem (type ext2 or ext3) is not possible on RHEL 5.x. &lt;BR /&gt;&lt;BR /&gt;If the filesystem is offline (not mounted), then you can use resize2fs to reduce it. But a root filesystem cannot be unmounted while the system is running, so you must boot from some alternative boot media to shrink the filesystem.&lt;BR /&gt;&lt;BR /&gt;After the filesystem has been shrunk, the next step will be to shrink the LV or partition the filesystem is located in. &lt;BR /&gt;&lt;BR /&gt;*Be very careful! Do not shrink the LV/partition any more than you've actually shrunk the filesystem!*&lt;BR /&gt;&lt;BR /&gt;If you're using LVM, this step is easy to do with the "lvreduce" command, and can be done while the RHEL 5 OS is running, assuming that the filesystem shrinking step was correctly performed.&lt;BR /&gt;&lt;BR /&gt;But if you're using traditional partitions, you need to use fdisk or similar partition table editor. This may be easiest to do while using the alternate boot media: if you resize the root partition of the OS you're currently running, a reboot (or the "partprobe" command) may be required to make the system see the updated partition table.&lt;BR /&gt;&lt;BR /&gt;MK</description>
      <pubDate>Tue, 07 Jun 2011 14:23:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-shrink-filesystem-in-red-hat-linux/m-p/4796361#M44497</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2011-06-07T14:23:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to shrink filesystem in Red Hat Linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-shrink-filesystem-in-red-hat-linux/m-p/4796362#M44498</link>
      <description>Oops - did not read post thorughly.&lt;BR /&gt;&lt;BR /&gt;I guess you can try booting in rescue mode and od the resize from there.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;OR:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.mondorescue.org" target="_blank"&gt;www.mondorescue.org&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Use mondorescue to backup OS and Restore rsizing your partitions.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 07 Jun 2011 14:24:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-shrink-filesystem-in-red-hat-linux/m-p/4796362#M44498</guid>
      <dc:creator>Alzhy</dc:creator>
      <dc:date>2011-06-07T14:24:02Z</dc:date>
    </item>
  </channel>
</rss>

