• Post Reply Bookmark Topic Watch Topic
  • New Topic

More Space  RSS feed

 
Rob Hunter
Ranch Hand
Posts: 832
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
Being a newbie this would definitely be a newbie question. I ran a program that did some extraction for me. The detination for these files was to the root directory. The program doing the extraction had aborted because the root directory ran out of memory. How can you add more space to the root directory without having to do anything destructive?

Rob
 
Stefan Wagner
Ranch Hand
Posts: 1923
Linux Postgres Database Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It depends.
If you have another drive or partition, move big files to it, and link them to the root partition.
Or mount a whole partition.

Don't move /etc, /var, /proc, /bin, /sbin, /usr/sbin, /usr/bin, and /lib.
Everything which is needed on bootup should be in the root-partition.
Only move things, which only need to be available after reading fstab, and mounting additional drives/ partitions.
Candidates are all doc, man and info files, and the /home, /usr/local/share and the /opt - directory.

If you have big logfiles, install logrotate.

If you did much installation from tar.bz2 with visit the directories again and or remove them totally - you might get the source again, and don't need it any more in most cases. Or burn them to cd, if your internet-bandwith is low and expensive.

Debian is building a big cache, which might be cleared, but I'm not sure about the right way to do it - RedHats rpm-files might have the same behaviour.

If you don't use a big package, you might deinstall it - but sometimes we only believe we don't need them.

tells you how much size a directory is using.
[ October 13, 2004: Message edited by: Stefan Wagner ]
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!