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.
The fs itself couldn't be resized when it's mounted and in use, take full backup if you try to force it, but in case it fails you have more downtime, so better to do do it unmounted.
Not (necessarily) true.
Ext3 has supported online resize for some time (years). Extending the f/s can be done online, is supported, and works (for me). Check "man resize2fs".
A backup is always prudent.
Last edited by syg00; 11-13-2011 at 04:56 PM.
Reason: Added command
Yep, my mistake there, you can resize you ext3 or ext4 fs with resize2fs (as long as the kernel supports it [from the man page]).
I have did it today with my /root ext4 partition that was on a 10G logical volume but the fs itself was just 7G, so with the /root partition mounted as root I have used resize2fs /dev/mapper/system-root (my lv name), and it became 10G in 2 sec.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.