LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-09-2011, 04:44 AM   #1
bhaveshvv109
LQ Newbie
 
Registered: Dec 2005
Posts: 7

Rep: Reputation: 0
What is the difference between ext2online and resize2fs command


What is the difference between ext2online and resize2fs command?
 
Old 03-09-2011, 04:50 AM   #2
corp769
LQ Guru
 
Registered: Apr 2005
Posts: 5,817

Rep: Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002
I just saw this on the web the other day....

Quote:
resize2fs - The resize2fs program will resize ext2 or ext3 file systems. It can be used to enlarge or shrink an unmounted file system located on device. If the filesystem is mounted, it can be used to expand the size of the mounted filesystem, assuming the kernel supports on-line resizing

ext2online - The ext2online tool resizes ext2 file systems while they are mounted and in use by the system. It is OK to resize the filesystem even while programs have open files and are writing into the filesystem. It is only possible to enlarge a mounted filesystem. To be able to use ext2online, you need to have the Online ext2 resize support (CONFIG_EXT2_RESIZE) feature enabled in the kernel

Tresize2fs - The resize2fs program does not manipulate the size of partitions. If you wish to enlarge a filesystem, you must first make sure you can expand the size of the underlying partition first.

ext2online - The ext2online program does not change the size of the actual device - only the filesystem. If you wish to enlarge a filesystem, you must make sure you expand the underlying device first.

You can shrink partitions using resize2fs but u cant do it with ext2onilne.


FYI - The ext2online tool can currently only resize ext3 filesystems online, despite references to ext2 filesystems in this manpage. The ext2resize tool can resize either ext2 or ext3 filesystems, offline.

ref : - http://linux.die.net/man/8/resize2fs

http://linux.die.net/man/8/ext2online
(taken from a google cache exert)
 
Old 03-09-2011, 05:29 AM   #3
bhaveshvv109
LQ Newbie
 
Registered: Dec 2005
Posts: 7

Original Poster
Rep: Reputation: 0
Thanks dude
 
Old 03-09-2011, 05:32 AM   #4
corp769
LQ Guru
 
Registered: Apr 2005
Posts: 5,817

Rep: Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002
No problem man. Mark your thread as solved if you can, thanks.

Josh
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can ext2online tool works on ext3. cj_cheema Linux - Server 1 07-08-2009 05:48 AM
ext2online error - found 0 not 1605634 at 2[7] epoh Linux - Server 1 06-24-2008 02:43 PM
[SOLVED] ext2online is not there procfs Linux - Newbie 1 03-04-2008 01:31 PM
lv command difference between -L and -l vinodkumarmj Linux - Software 2 05-30-2006 10:04 AM
resize2fs nooch Red Hat 2 02-25-2005 10:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:45 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration