Find the answer to your Linux question:
Results 1 to 3 of 3
Hi! I have the following problem: my root partition (/) starts to fill up completely. I checked it out and what takes up most of the space on it is ...
  1. #1
    Just Joined!
    Join Date
    Jan 2007
    Posts
    22

    Question Space low on root partition, /usr/lib

    Hi!

    I have the following problem: my root partition (/) starts to fill up completely. I checked it out and what takes up most of the space on it is the /usr folder, and inside of that the biggest one is /usr/lib (~2Gig). I've been wondering how I could solve the situation:

    a)
    By using some partition editor to increase the size of the / partition -- but there are always these warnings that data loss is possible etc. that I'm not really sure how reliable this would be. Also, then I'd have to create/download and boot some rescue CD I suppose in order not to have the partitions on the hard drive mounted... lots of hassle, great risk.

    b)
    I had an idea that I'd move over some folders from /usr/lib to some other partition where there was enough space and created soft links to them in /usr/lib. (I wouldn't dare move the whole /usr/lib folder because I'm not sure whether there is something in there that's actually needed to mount the partition I would move it to -- which would be pretty much of an own goal.)
    The problem here is that if I only move individual folders (e.g., "Adobe"), then they will have relative references to other files like ../../../../../liblber-2.4.so.2 which are only present in the original /usr/lib, of course.

    Any ideas how this could be solved relatively simply?

    Thanks,
    Agoston

  2. #2
    oz
    oz is online now
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,092
    Hello

    If it were me... I'd use FSArchiver or some other app to create an archive of the current system, then use Gparted to resize the current partitions according to your needs. If your data should become corrupted, you can use the archive that you created to restore all the data to the resized partitions. Note that you can find FSArchiver and Gparted on the Parted Magic LiveCD.
    oz

    new members/users: read this first | new member faq
    no private messages requesting computer support - post them on the forums!
    please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.

  3. #3
    Linux Enthusiast Mudgen's Avatar
    Join Date
    Feb 2007
    Location
    Virginia
    Posts
    623
    ^This. I have nightly rsync onto an external USB drive in case anything goes awry, easy to do on an ad hoc basis as well.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...