Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
Distribution: OpenSUSE 11.3 KDE, PCLinuxOS 2010 KDE
Posts: 29
Rep:
partition resizing doesn't change available space
Hi,
When I originally installed PCLinuxOS 2007 Test 2 back in March (I think), I only reserved 10 GB for the system partition, thinking that would be quite sufficient. However, because pclos is such a great OS I kept on using it and installing more stuff, so my partition became quite full. I then resized the ext2 partition using gparted from a puppy linux livecd. Before the resizing operation gparted reported only 40 MB free. After the resizing (increased the partition size to 25 GB)gparted still reported 40 MB free, instead of the 15 GB I reported. I ran e2fsck both before and after. Does anyone know how I can make the system know enough space is available? Right now I often get messages like "You don't have enough free space in /var/cache/apt/archives/" when, for example, installing a new program using apt-get. However, when counting file sizes using konqueror it appears only 10 GB of space is occupied. And I know the filesystem was successfully resized. Does anyone know a way out of this mess?
Hi,
When I originally installed PCLinuxOS 2007 Test 2 back in March (I think), I only reserved 10 GB for the system partition, thinking that would be quite sufficient. However, because pclos is such a great OS I kept on using it and installing more stuff, so my partition became quite full. I then resized the ext2 partition using gparted from a puppy linux livecd. Before the resizing operation gparted reported only 40 MB free. After the resizing (increased the partition size to 25 GB)gparted still reported 40 MB free, instead of the 15 GB I reported. I ran e2fsck both before and after. Does anyone know how I can make the system know enough space is available? Right now I often get messages like "You don't have enough free space in /var/cache/apt/archives/" when, for example, installing a new program using apt-get. However, when counting file sizes using konqueror it appears only 10 GB of space is occupied. And I know the filesystem was successfully resized. Does anyone know a way out of this mess?
What you are saying is self contradictory. You say that you know the file system was successfully resized. Yet konqueror and various error messages say otherwise. You can use the df command as yet another check on whether the filesystem was resized or not.
There have been various bugs in gparted relating to resizing filesystems. If it turns out that gparted told you that it successfully resized the filesystem but df, konqueror, etc. say otherwise then I suggest that you try to resize again, except this time try using the resize2fs command.
Distribution: OpenSUSE 11.3 KDE, PCLinuxOS 2010 KDE
Posts: 29
Original Poster
Rep:
Quote:
Originally Posted by jailbait
What you are saying is self contradictory. You say that you know the file system was successfully resized. Yet konqueror and various error messages say otherwise. You can use the df command as yet another check on whether the filesystem was resized or not.
There have been various bugs in gparted relating to resizing filesystems. If it turns out that gparted told you that it successfully resized the filesystem but df, konqueror, etc. say otherwise then I suggest that you try to resize again, except this time try using the resize2fs command.
---------------------
Steve Stites
THe problem being that gparted USED resize2fs (I studied the logs, and no, I didn't save them). Also, gparted, konqueror and what else are telling me the partition actually is 25 GB in size. So at least some part of the resizing process worked. Which means (since it's filled up all the available space now) that if I want to resize again I'll have to decrease the size of the partition such as it's being detected. Which means for all I know I may be losing data or the app may say it's not possible at all
Looks like the partition resizing worked, but not the filesystem resizing.
Resize2fs run against that fs (unmounted) should expand it to fill the partition. Try it from a terminal (i.e. CLI) from a liveCD.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.