<?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: Extend a filesystem in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/extend-a-filesystem/m-p/4109192#M30880</link>
    <description>identify the disk the FS use, see the free space, create a larger partition copy the data, and mount on new partiton.  (Assuming there is no lvm)</description>
    <pubDate>Wed, 28 Nov 2007 17:07:19 GMT</pubDate>
    <dc:creator>skt_skt</dc:creator>
    <dc:date>2007-11-28T17:07:19Z</dc:date>
    <item>
      <title>Extend a filesystem</title>
      <link>https://community.hpe.com/t5/operating-system-linux/extend-a-filesystem/m-p/4109190#M30878</link>
      <description>Admins,&lt;BR /&gt;&lt;BR /&gt; I'm a fresh bee in Linux. I would like to extend a filesystem which looks like,&lt;BR /&gt;&lt;BR /&gt;/dev/silo/c0d0p2     66054908  57574968   5124548  92% /home/rpt&lt;BR /&gt;&lt;BR /&gt;Linux atdbs05 2.4.21-40.ELsmp #1 SMP Thu Nov 28 14:15:39 EST 2007 i686 i686 i386 GNU/Linux&lt;BR /&gt;&lt;BR /&gt;Could someone throw some lights, Thxs WH</description>
      <pubDate>Wed, 28 Nov 2007 14:58:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/extend-a-filesystem/m-p/4109190#M30878</guid>
      <dc:creator>Whitehorse_1</dc:creator>
      <dc:date>2007-11-28T14:58:53Z</dc:date>
    </item>
    <item>
      <title>Re: Extend a filesystem</title>
      <link>https://community.hpe.com/t5/operating-system-linux/extend-a-filesystem/m-p/4109191#M30879</link>
      <description>Suddenly, this appears to be one fixed partition on a hardware RAID device (or similar). You can only extend partitions under the control of LVM. In this case, you are not using LVM.&lt;BR /&gt;&lt;BR /&gt;Probably you need to backup, destroy, resize, restore your partion. If you do that, ensure to use LVM now.&lt;BR /&gt;&lt;BR /&gt;There may be workarounds to this, but is dangerous, you can loss your data.</description>
      <pubDate>Wed, 28 Nov 2007 16:36:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/extend-a-filesystem/m-p/4109191#M30879</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2007-11-28T16:36:40Z</dc:date>
    </item>
    <item>
      <title>Re: Extend a filesystem</title>
      <link>https://community.hpe.com/t5/operating-system-linux/extend-a-filesystem/m-p/4109192#M30880</link>
      <description>identify the disk the FS use, see the free space, create a larger partition copy the data, and mount on new partiton.  (Assuming there is no lvm)</description>
      <pubDate>Wed, 28 Nov 2007 17:07:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/extend-a-filesystem/m-p/4109192#M30880</guid>
      <dc:creator>skt_skt</dc:creator>
      <dc:date>2007-11-28T17:07:19Z</dc:date>
    </item>
    <item>
      <title>Re: Extend a filesystem</title>
      <link>https://community.hpe.com/t5/operating-system-linux/extend-a-filesystem/m-p/4109193#M30881</link>
      <description>you can try this out&lt;BR /&gt;&lt;BR /&gt;Here are the steps involved for EXPANDING a filesystem &amp;amp; partition: &lt;BR /&gt;1. Backup your data. &lt;BR /&gt;2. Print the output from the fdisk -l command on a printer, or write down the details by hand. This is in case you need to restore your partition table to it's previous state. &lt;BR /&gt;3. Make note of the cylinder size of the disk in bytes, and call this number C. For example, from the following output you would note C = 8225280&lt;BR /&gt; &lt;BR /&gt;Disk /dev/hda: 40.0 GB, 40000000000 bytes&lt;BR /&gt;255 heads, 63 sectors/track, 4863 cylinders&lt;BR /&gt;Units = cylinders of 16065 * 512 = 8225280 bytes&lt;BR /&gt;   &lt;BR /&gt;4. &lt;BR /&gt;5. Run the command tune2fs -l &lt;DEVICE&gt; where &lt;DEVICE&gt; represents the device file of the partition which contains the filesystem you are going to resize. &lt;BR /&gt;6. Make note of the following values from the above output: Block count, Block Size, and Free blocks. Label the Block Count T, the Block Size K, and Free Blocks F. &lt;BR /&gt;7. Reboot the system into rescue mode. Do this by booting off of the first CD and typing linux rescue at the boot: prompt. &lt;BR /&gt;8. DO NOT mount any partitions, especially those on the device containing filesystems you are going to resize. &lt;BR /&gt;9. Take the number of bytes you would like to add to the filesystem and label it Z. &lt;BR /&gt;10. Divide Z by C, rounding any fraction up to the next whole number or add 1 if the result is zero. Call this resulting number N. &lt;BR /&gt;11. Calculate ((N*C)/K) and call the result X. &lt;BR /&gt;12. Add X to T calling the result R. &lt;BR /&gt;13. Execute the command e2fsck -fy &lt;DEVICE&gt;. &lt;BR /&gt;14. Enter the fdisk utility with the command fdisk &lt;DEVICE&gt;. &lt;BR /&gt;15. Display the current partition table with the p command. &lt;BR /&gt;16. Use the d command to delete the partition the resized filesystem is on. &lt;BR /&gt;17. Use the n command to create a new partition. &lt;BR /&gt;18. For the starting cylinder, specify the same value as before. (You did print out the original partition table in step 2, right?) &lt;BR /&gt;19. For the ending cylinder, specify the original ending cylinder Plus N. &lt;BR /&gt;20. Use the w command to save the new partition table. &lt;BR /&gt;21. Run the command e2fsck -y &lt;DEVICE&gt; to verify that the filesystem is intact. &lt;BR /&gt;22. Execute the command resize2fs -f &lt;DEVICE&gt; &lt;R&gt; &lt;BR /&gt;Note: you must use -f to grow filesystem otherwise it will refuse the command. &lt;BR /&gt;23. Assuming the resize was successful, run the command e2fsck -y &lt;DEVICE&gt; to verify that the filesystem is still intact. If it it checks out, your done! If it fails then you most likely have lost the data on this filesystem. &lt;BR /&gt;&lt;/DEVICE&gt;&lt;/R&gt;&lt;/DEVICE&gt;&lt;/DEVICE&gt;&lt;/DEVICE&gt;&lt;/DEVICE&gt;&lt;/DEVICE&gt;&lt;/DEVICE&gt;</description>
      <pubDate>Thu, 29 Nov 2007 00:41:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/extend-a-filesystem/m-p/4109193#M30881</guid>
      <dc:creator>Jeeshan</dc:creator>
      <dc:date>2007-11-29T00:41:57Z</dc:date>
    </item>
    <item>
      <title>Re: Extend a filesystem</title>
      <link>https://community.hpe.com/t5/operating-system-linux/extend-a-filesystem/m-p/4109194#M30882</link>
      <description>please use the the above mentioned steps in test machine then follow this in live.&lt;BR /&gt;</description>
      <pubDate>Thu, 29 Nov 2007 00:43:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/extend-a-filesystem/m-p/4109194#M30882</guid>
      <dc:creator>Jeeshan</dc:creator>
      <dc:date>2007-11-29T00:43:57Z</dc:date>
    </item>
    <item>
      <title>Re: Extend a filesystem</title>
      <link>https://community.hpe.com/t5/operating-system-linux/extend-a-filesystem/m-p/4109195#M30883</link>
      <description>pvcreate&lt;BR /&gt;pvdisplay&lt;BR /&gt;lvcreste&lt;BR /&gt;lvdispay&lt;BR /&gt;  these are all the commands the must be used to creste the volume and then makefilesystem using&lt;BR /&gt;mkfs command and filename. for more refernce log on to &lt;BR /&gt;//tldp.org/HOWTO/LVM-HOWTO/index.html&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 30 Nov 2007 04:37:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/extend-a-filesystem/m-p/4109195#M30883</guid>
      <dc:creator>Abhirama.M.V</dc:creator>
      <dc:date>2007-11-30T04:37:23Z</dc:date>
    </item>
  </channel>
</rss>

