<?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: Expand Linux Partition. in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/expand-linux-partition/m-p/4040684#M29370</link>
    <description>In many cases I'll suggest to add new partition and mount it as /var or /home instead of increasing existing "/" partition.&lt;BR /&gt;What is your current partitioning scheme? &lt;BR /&gt;Can you send us  "mount" and "du / | sort -rn | head -20" output?</description>
    <pubDate>Mon, 23 Jul 2007 08:49:58 GMT</pubDate>
    <dc:creator>Vitaly Karasik_1</dc:creator>
    <dc:date>2007-07-23T08:49:58Z</dc:date>
    <item>
      <title>Expand Linux Partition.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/expand-linux-partition/m-p/4040678#M29364</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;   I have Linux Mail server, the mail box partition is running out of space. I have added the new LUN to this partition using concatenation, but please let us know how to expand partition from OS side.&lt;BR /&gt;&lt;BR /&gt;Thanks &amp;amp; Regards&lt;BR /&gt;&lt;BR /&gt;Walter</description>
      <pubDate>Thu, 19 Jul 2007 22:54:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/expand-linux-partition/m-p/4040678#M29364</guid>
      <dc:creator>varian_1</dc:creator>
      <dc:date>2007-07-19T22:54:42Z</dc:date>
    </item>
    <item>
      <title>Re: Expand Linux Partition.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/expand-linux-partition/m-p/4040679#M29365</link>
      <description>I sure hope you are using LVM and not plain partitions. &lt;BR /&gt;&lt;BR /&gt;Expanding with an LVM is easy:&lt;BR /&gt;- Add LUN to box.&lt;BR /&gt;- Verify box has seen the new LUN (ie. dmesg and logs)&lt;BR /&gt;- pvcreate /dev/disk/&lt;NEW-LUN&gt;&lt;BR /&gt;- vgextend &lt;YOUR volume="" group=""&gt; /dev/disk/&lt;NEW lun=""&gt;&lt;BR /&gt;- now use lvextend to extend your data partitions, for example, to add 20G: lvextend -L +20G /dev/disk/vgsan/maildata&lt;BR /&gt;- depending upon the filesystem &amp;amp; distribution(actually the version &amp;amp; config of mke2fs and kernel (&amp;gt;= 2.6.12) is important) used, you can use online or offline resizing. For offline resizing you'll need to stop your mailsoftware &amp;amp; umount the /dev/vgsan/maildata device&lt;BR /&gt;* Online ReiserFS 3.6: resize_reiserfs /dev/vgsan/maildata&lt;BR /&gt;* Online Ext3: resize2fs /dev/vgsan/maildata (this Ext3 option is very dependant upon your distribution, wheter the original filesystem was created with the necessary online resize options: sparse_super,filetype,resize_inode)&lt;BR /&gt;* ext2resize also exists, but afaik it is going end of life, use the replacement from e2fsprogs: resize2fs.&lt;BR /&gt;* Offline Ext2/3: just run resize2fs /dev/vgsan/maildata&lt;/NEW&gt;&lt;/YOUR&gt;&lt;/NEW-LUN&gt;</description>
      <pubDate>Fri, 20 Jul 2007 01:36:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/expand-linux-partition/m-p/4040679#M29365</guid>
      <dc:creator>Van den Broeck Tijl</dc:creator>
      <dc:date>2007-07-20T01:36:24Z</dc:date>
    </item>
    <item>
      <title>Re: Expand Linux Partition.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/expand-linux-partition/m-p/4040680#M29366</link>
      <description>&amp;gt;&amp;gt;&amp;gt;  I have added the new LUN to this partition using concatenation&lt;BR /&gt;&lt;BR /&gt;Are you using a hardware RAID, MD devices (mdadm-raidtools) or LVM?&lt;BR /&gt;&lt;BR /&gt;Can you post the output of:&lt;BR /&gt;&lt;BR /&gt;fdisk -l&lt;BR /&gt;df&lt;BR /&gt;vgdisplay -v&lt;BR /&gt;&lt;BR /&gt;And the name of the file system that you want to extend.&lt;BR /&gt;</description>
      <pubDate>Fri, 20 Jul 2007 08:43:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/expand-linux-partition/m-p/4040680#M29366</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2007-07-20T08:43:17Z</dc:date>
    </item>
    <item>
      <title>Re: Expand Linux Partition.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/expand-linux-partition/m-p/4040681#M29367</link>
      <description>Hell Walter,&lt;BR /&gt;&lt;BR /&gt;as Ivan already wrote we need some additional informations about you're enviroment. &lt;BR /&gt;&lt;BR /&gt;There are different ways. If you're not using LVM, but RAID Controllers with local disks, you can try to expand the array. Then you can expand the filesystem. Remember: The free space after expanding an array is at the end of the disk. So if you're filesystem is not the last parition on that array, you can't expand it.&lt;BR /&gt;&lt;BR /&gt;The most filesystems that you can use with linux can be extended, some online, some offline. I always try to do this kind of work in a maintenance window with a tested backup in my back. ;)&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Patrick</description>
      <pubDate>Sat, 21 Jul 2007 06:29:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/expand-linux-partition/m-p/4040681#M29367</guid>
      <dc:creator>Patrick Terlisten</dc:creator>
      <dc:date>2007-07-21T06:29:30Z</dc:date>
    </item>
    <item>
      <title>Re: Expand Linux Partition.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/expand-linux-partition/m-p/4040682#M29368</link>
      <description>Hi All,&lt;BR /&gt;&lt;BR /&gt;   Thanks for the reply, I do not have LVM but has RAID configured, also I found on net that "resiz2fs" is good command to expand the partition. &lt;BR /&gt;&lt;BR /&gt;  Please let us know is it the only command or is there any other alternative good command ?&lt;BR /&gt;&lt;BR /&gt;Thanks &amp;amp; Regards&lt;BR /&gt;&lt;BR /&gt;Walter</description>
      <pubDate>Mon, 23 Jul 2007 00:14:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/expand-linux-partition/m-p/4040682#M29368</guid>
      <dc:creator>varian_1</dc:creator>
      <dc:date>2007-07-23T00:14:36Z</dc:date>
    </item>
    <item>
      <title>Re: Expand Linux Partition.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/expand-linux-partition/m-p/4040683#M29369</link>
      <description>Hello Walter,&lt;BR /&gt;&lt;BR /&gt;if you're using an RAID Controller, you can expand the array with additional disks. After that check the new size of the logical drive with fdisk. The command resize2fs is only for ext2/3.&lt;BR /&gt;&lt;BR /&gt;Before you can resize, you should unmount the volume and check it with fsck. After that you can resize it. Check the manpage of resize2fs.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Patrick</description>
      <pubDate>Mon, 23 Jul 2007 04:28:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/expand-linux-partition/m-p/4040683#M29369</guid>
      <dc:creator>Patrick Terlisten</dc:creator>
      <dc:date>2007-07-23T04:28:39Z</dc:date>
    </item>
    <item>
      <title>Re: Expand Linux Partition.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/expand-linux-partition/m-p/4040684#M29370</link>
      <description>In many cases I'll suggest to add new partition and mount it as /var or /home instead of increasing existing "/" partition.&lt;BR /&gt;What is your current partitioning scheme? &lt;BR /&gt;Can you send us  "mount" and "du / | sort -rn | head -20" output?</description>
      <pubDate>Mon, 23 Jul 2007 08:49:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/expand-linux-partition/m-p/4040684#M29370</guid>
      <dc:creator>Vitaly Karasik_1</dc:creator>
      <dc:date>2007-07-23T08:49:58Z</dc:date>
    </item>
  </channel>
</rss>

