Page 1 of 1

freeing space on /usr?

Posted: Tue Mar 04, 2008 4:05 pm
by hoppel
Hi,

problem: my /usr is full. I know, it could have been bigger, but now it's too late. What can I do, apart from removing software to get free space again?

Re: freeing space on /usr?

Posted: Tue Mar 04, 2008 5:08 pm
by MagnusB
Are you having /usr on separate partition? How about shrinking one partition and expanding that?

Re: freeing space on /usr?

Posted: Wed Mar 05, 2008 12:05 pm
by hoppel
yes it's on a separate partition with ext3. Is gpart able to resize ext3 and ntfs partitions without deleting the contents? Then it would be a possible solution for me. And I'm curious: would it be possible to declare a second partition as /usr?

Re: freeing space on /usr?

Posted: Wed Mar 05, 2008 12:10 pm
by MagnusB
The best thing would be to shrink the previous or following partition, then resize /usr. I do not think it is possible to mount two partitions at the same mount point, but someone else might correct me.
And yes, GParted can resize both NTFS and ext3 without loss of data (no guarantee though). Make a backup of important data first..

Re: freeing space on /usr?

Posted: Wed Mar 05, 2008 12:11 pm
by hoppel
Ok, thanks.