Resize ext3 Partition

Shane Archer shane-fedora at rctech.net
Sat Jan 22 22:54:20 UTC 2005


At 12:40 PM 1/22/2005, you wrote:
>I believe you can easily convert a ext3 partition into an ext2 partition 
>by removing the journal:
>
>http://www.redhat.com/docs/manuals/linux/RHL-9-Manual/custom-guide/s1-filesystem-ext2-revert.html
>
>Then proceed with your resize and add the journal back again later...
>
>Cheers,
>Raman

I took a look at this, and it seems to be a good solution, *except* that my 
root partition (containing /sbin, etc) is the one I want to resize:

Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/sda3              4482820   3768508    486592  89% /
/dev/sda2               101086      7923     87944   9% /boot
none                    128028         0    128028   0% /dev/shm

I am assuming that once I execute umount /dev/sda3, I will no longer be 
able to use /sbin/tune2fs or /sbin/e2fsck (or maybe anything at all; I've 
never tried unmounting the root partition).

Is there any sort of way to get around this? Suppose I created a temporary 
directory on another partition and copied the necessary tools there, could 
I execute them from there?

Thanks,

Shane 




More information about the fedora-list mailing list