What is the difference between ext2online and resize2fs command
Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.