<?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: Extending Filesystem in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/extending-filesystem/m-p/3567565#M18199</link>
    <description>Hi Bros,&lt;BR /&gt;&lt;BR /&gt;- Even though it is a ext3 fileystem, the command resize2fs still is applicable?&lt;BR /&gt;&lt;BR /&gt;Thanks/cliff</description>
    <pubDate>Tue, 21 Jun 2005 05:32:43 GMT</pubDate>
    <dc:creator>Cliff Lim Kok Hwee</dc:creator>
    <dc:date>2005-06-21T05:32:43Z</dc:date>
    <item>
      <title>Extending Filesystem</title>
      <link>https://community.hpe.com/t5/operating-system-linux/extending-filesystem/m-p/3567561#M18195</link>
      <description>Gd Day Forum,&lt;BR /&gt;&lt;BR /&gt;Recently, I created the following /doc-root filesystem of size 4096MB during Linux installation.&lt;BR /&gt;&lt;BR /&gt;volgroup vg01 pv.02&lt;BR /&gt;logvol /doc-root --vgname vg01 --fstype ext3 --size 4096 --name lvol2&lt;BR /&gt;&lt;BR /&gt;df -k&lt;BR /&gt;&lt;BR /&gt;/dev/vg01/lvol2        4128448    218456   3700280   6% /doc-root&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I would need to increase the /doc-root by extra 6144MB.&lt;BR /&gt;&lt;BR /&gt;Can anyone advise me on both the lv extension and fileystem extension?&lt;BR /&gt;&lt;BR /&gt;lvextend -L +6144 /dev/vg01/lvol2&lt;BR /&gt;&lt;BR /&gt;Thanks/cliff</description>
      <pubDate>Tue, 21 Jun 2005 04:49:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/extending-filesystem/m-p/3567561#M18195</guid>
      <dc:creator>Cliff Lim Kok Hwee</dc:creator>
      <dc:date>2005-06-21T04:49:04Z</dc:date>
    </item>
    <item>
      <title>Re: Extending Filesystem</title>
      <link>https://community.hpe.com/t5/operating-system-linux/extending-filesystem/m-p/3567562#M18196</link>
      <description>If you've got a recent distribution and recent filesystem tools and LVM tools (i.e. LVM 1.3 or newer), then doing the 'vextend' should automatically increase the filesystem.&lt;BR /&gt;&lt;BR /&gt;If not, you should have access to the 'resize2fs' (or 'ext2resize'), or the online tool 'ext2online' to resize.&lt;BR /&gt;&lt;BR /&gt;The 'lvextend' (or 'lvresize') commands allow you to extend the underlying partition (logical volume).  The syntax there is good.&lt;BR /&gt;&lt;BR /&gt;Just did it here on my system:&lt;BR /&gt;&lt;BR /&gt;lvresize -L +2G /dev/vgLocal/lvVar&lt;BR /&gt;ext2online /dev/vgLocal/lvVar&lt;BR /&gt;&lt;BR /&gt;This was quite happily extended the filesystem.</description>
      <pubDate>Tue, 21 Jun 2005 05:08:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/extending-filesystem/m-p/3567562#M18196</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2005-06-21T05:08:27Z</dc:date>
    </item>
    <item>
      <title>Re: Extending Filesystem</title>
      <link>https://community.hpe.com/t5/operating-system-linux/extending-filesystem/m-p/3567563#M18197</link>
      <description>Hi Forumers,&lt;BR /&gt;&lt;BR /&gt;I am thinking of doing the following,&lt;BR /&gt;&lt;BR /&gt;-lvextend -L +6144 /dev/vg01/lvol2&lt;BR /&gt;-umount /dev/vg01/lvol2&lt;BR /&gt;-e2fsck -f /dev/vg01/lvol2&lt;BR /&gt;-resize2fs /dev/vg01/lvol2&lt;BR /&gt;-mount /dev/vg01/lvol2&lt;BR /&gt;&lt;BR /&gt;Query: &lt;BR /&gt;&lt;BR /&gt;-Even though it is a ext3 fileystem, the command resize2fs still is applicable?&lt;BR /&gt;&lt;BR /&gt;-Do not think there is a need to bring it down to runlevel 1?&lt;BR /&gt;&lt;BR /&gt;- Understand it is better to do it offline for filesystem extension?&lt;BR /&gt;&lt;BR /&gt;Thanks/cliff&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 21 Jun 2005 05:22:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/extending-filesystem/m-p/3567563#M18197</guid>
      <dc:creator>Cliff Lim Kok Hwee</dc:creator>
      <dc:date>2005-06-21T05:22:22Z</dc:date>
    </item>
    <item>
      <title>Re: Extending Filesystem</title>
      <link>https://community.hpe.com/t5/operating-system-linux/extending-filesystem/m-p/3567564#M18198</link>
      <description>Righteo..&lt;BR /&gt;&lt;BR /&gt;Those commands are fine.&lt;BR /&gt;&lt;BR /&gt;You don't have to bring the system into single user mode, so long as the filesystem you are attempting to extend is not in use.  As you're planning on unmounting it, you'll be fine.&lt;BR /&gt;&lt;BR /&gt;Now, as for whether it's better to do it offline or online, well you're already planning to do it offline.&lt;BR /&gt;&lt;BR /&gt;You can quite happily increase a filesystem online, and I have done so in the past a number of times.  Reducing filesystems used to have to be done offline, and from my brief testing earlier, it apperas to still be the case.&lt;BR /&gt;&lt;BR /&gt;Now, as in all things like this, make sure you have a nice backup of your data handy, even though these are well tested and reasonably stable things to be done (I did it on my live system's '/var' filesystem, so that's a pretty decent test! :), but it's beter to be safe than sorry.</description>
      <pubDate>Tue, 21 Jun 2005 05:28:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/extending-filesystem/m-p/3567564#M18198</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2005-06-21T05:28:32Z</dc:date>
    </item>
    <item>
      <title>Re: Extending Filesystem</title>
      <link>https://community.hpe.com/t5/operating-system-linux/extending-filesystem/m-p/3567565#M18199</link>
      <description>Hi Bros,&lt;BR /&gt;&lt;BR /&gt;- Even though it is a ext3 fileystem, the command resize2fs still is applicable?&lt;BR /&gt;&lt;BR /&gt;Thanks/cliff</description>
      <pubDate>Tue, 21 Jun 2005 05:32:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/extending-filesystem/m-p/3567565#M18199</guid>
      <dc:creator>Cliff Lim Kok Hwee</dc:creator>
      <dc:date>2005-06-21T05:32:43Z</dc:date>
    </item>
    <item>
      <title>Re: Extending Filesystem</title>
      <link>https://community.hpe.com/t5/operating-system-linux/extending-filesystem/m-p/3567566#M18200</link>
      <description>Sorry, forgot to address that.&lt;BR /&gt;&lt;BR /&gt;Yes.&lt;BR /&gt;&lt;BR /&gt;EXT2 and EXT3 have only one difference, and that's the journaling done on the OS level.  The underlying filesystem structure is identical.&lt;BR /&gt;&lt;BR /&gt;The 'e2fsprogs' work on all ext2 and ext3 based filesystems.</description>
      <pubDate>Tue, 21 Jun 2005 05:36:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/extending-filesystem/m-p/3567566#M18200</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2005-06-21T05:36:02Z</dc:date>
    </item>
  </channel>
</rss>

