LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 11-13-2004, 04:24 PM   #1
leiavoia
Member
 
Registered: Mar 2002
Distribution: Debian Testing & Kubuntu
Posts: 72

Rep: Reputation: 15
What happens when root dir fills up?


My 7GB "/" root partition is almost full and is causing problems. I have more space on the drive and even have a whole second drive sitting around. However, i need to either:

A) expand the root directory -or-

B) move the contents of the root directory to another partition.

Is there a safe way to do this? Thanks for your input. it's truly appreciated.
 
Old 11-13-2004, 04:49 PM   #2
Hjalte
LQ Newbie
 
Registered: May 2004
Location: Denmark
Distribution: Debian
Posts: 28

Rep: Reputation: 15
try to see how much old packages, you have downloade through apt, fills

du -h /var/cache/apt

If it's a, you can remove it with

apt-get clean

You have to be root, to do the last step!
 
Old 11-13-2004, 07:24 PM   #3
leiavoia
Member
 
Registered: Mar 2002
Distribution: Debian Testing & Kubuntu
Posts: 72

Original Poster
Rep: Reputation: 15
Thanks. I've already cleaned up. I don't have any more than 11MB in that directory. I Have about 500MB left on the partition. However, i topped out recently and it caused a lot of problems like not being able to log into a window manager! I figured out it was the partition that was full and i cleaned apt, but i still need more space.
 
Old 11-14-2004, 03:33 AM   #4
jollyjoice
Member
 
Registered: Aug 2003
Location: UK
Distribution: Gentoo 64
Posts: 383

Rep: Reputation: 30
have you got /home on a difrent partition? you could also try moving /bin to the other drive.
 
Old 11-14-2004, 04:54 PM   #5
leiavoia
Member
 
Registered: Mar 2002
Distribution: Debian Testing & Kubuntu
Posts: 72

Original Poster
Rep: Reputation: 15
Yes, i have /home on a whole different partition. "/" includes everything else except /swap
 
Old 11-14-2004, 07:14 PM   #6
drawhla
Member
 
Registered: Sep 2003
Location: Buenos Aires, Argentina
Distribution: Debian Sarge
Posts: 72

Rep: Reputation: 15
apt-get install xdiskusage

hope that helps, I was very useful to me
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
weird files in /root dir PennyroyalFrog Linux - Newbie 3 01-07-2005 08:21 PM
libraries installed in root dir? donbellioni Linux - Software 3 09-25-2004 09:48 AM
adding a dir to PATH for root Villain Linux - Newbie 3 06-20-2004 03:49 PM
cant resize root thru rescue, auto mounts root dir absolutal Linux - Newbie 0 06-18-2003 03:06 PM
Cannot change dir permissions from root sstudley Linux - General 4 02-25-2003 06:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 02:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration