freeing space on /usr?

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
Post Reply
hoppel
Level 3
Level 3
Posts: 174
Joined: Wed Oct 10, 2007 1:38 pm

freeing space on /usr?

Post 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?

MagnusB
Level 6
Level 6
Posts: 1252
Joined: Sun Nov 18, 2007 12:39 pm
Location: Norway

Re: freeing space on /usr?

Post by MagnusB »

Are you having /usr on separate partition? How about shrinking one partition and expanding that?
Image
You're not drunk if you can lie on the floor without holding on.
--Dean Martin

hoppel
Level 3
Level 3
Posts: 174
Joined: Wed Oct 10, 2007 1:38 pm

Re: freeing space on /usr?

Post 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?

MagnusB
Level 6
Level 6
Posts: 1252
Joined: Sun Nov 18, 2007 12:39 pm
Location: Norway

Re: freeing space on /usr?

Post 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..
Image
You're not drunk if you can lie on the floor without holding on.
--Dean Martin

hoppel
Level 3
Level 3
Posts: 174
Joined: Wed Oct 10, 2007 1:38 pm

Re: freeing space on /usr?

Post by hoppel »

Ok, thanks.

Post Reply

Return to “Newbie Questions”