| View previous topic :: View next topic |
| Author |
Message |
fuzzybee Apprentice

Joined: 09 May 2005 Posts: 152
|
Posted: Tue Apr 10, 2012 3:23 am Post subject: df -h says I'm not using all of my partition space... |
|
|
... but the USE% = 100%?
Somehow, I've filled up my root partition (ext3). Now, I can't even boot up normally - things try to write to the root, and, obviously, can't. I've booted using the live disk. Here's my df -h:
Filesystem Size Used Avail Use% Mounted on
/dev/sda3 170G 164G 0 100% /mnt/gentoo
df -i:
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/sda3 22511616 1283181 21228435 6% /mnt/gentoo
I've tried a fsck, and it is reporting clean:
/dev/sda3: clean, 1283181/22511616 files, 43566296/45018146 blocks
Any suggestions on how to tackle this? |
|
| Back to top |
|
 |
kechara n00b

Joined: 23 Feb 2005 Posts: 15 Location: Aabenraa, Denmark
|
Posted: Tue Apr 10, 2012 10:26 am Post subject: |
|
|
If I remember correctly then the system reserves some space on the drive for itself. It would correspond with you getting a full disk when approximately 5% is still free.
As for what is filling up your partition I would check the logs. This is where I has a similar problem.
should be able to show you how much space is used for the logs. If not here, then check the rest of /var or maybe /usr/portage? You get the idea  _________________ Regards,
Kechara
- Give the world a smile, and it'll laugh right back at you |
|
| Back to top |
|
 |
Arkhelion Tux's lil' helper

Joined: 07 Sep 2010 Posts: 127 Location: France
|
Posted: Tue Apr 10, 2012 12:44 pm Post subject: |
|
|
Hi,
I personnally like to use :
| Code: | | du -h --max-depth=1 / |
And then I dig... _________________ Arkhelion |
|
| Back to top |
|
 |
EatMeerkats Apprentice


Joined: 15 Mar 2006 Posts: 234
|
Posted: Tue Apr 10, 2012 1:58 pm Post subject: Re: df -h says I'm not using all of my partition space... |
|
|
| fuzzybee wrote: | | Any suggestions on how to tackle this? |
| Code: | | rm /usr/portage/distfiles/* |
|
|
| Back to top |
|
 |
Arkhelion Tux's lil' helper

Joined: 07 Sep 2010 Posts: 127 Location: France
|
Posted: Tue Apr 10, 2012 2:07 pm Post subject: |
|
|
As far as I'm concerned, I'd rather do:
| Code: | #emerge gentoolkit
#eclean-dist [-d] |
This will only remove unused distfiles so you can quickly rebuild installed packages without redownloading the distfile.
I use eclean-dist in each and every update process on my boxes.
EDIT: Oh! and you can also read this. _________________ Arkhelion |
|
| Back to top |
|
 |
Dont Panic Guru


Joined: 20 Jun 2007 Posts: 317 Location: SouthEast U.S.A.
|
Posted: Tue Apr 10, 2012 3:12 pm Post subject: |
|
|
| Arkhelion wrote: | I personnally like to use :
| Code: | | du -h --max-depth=1 / |
And then I dig... |
I like to drop the -h (human readable) option, and run it through sort. It saves time digging.
But I usually won't do this on the whole root tree since it will search /proc and all my mounts also
| Code: | du /var | sort -n | less
du /home | sort -n | less
du /usr | sort -n | less
etc... |
|
|
| Back to top |
|
 |
EatMeerkats Apprentice


Joined: 15 Mar 2006 Posts: 234
|
Posted: Tue Apr 10, 2012 3:39 pm Post subject: |
|
|
| Dont Panic wrote: | | I like to drop the -h (human readable) option, and run it through sort. It saves time digging. |
"sort -h", my friend. |
|
| Back to top |
|
 |
Arkhelion Tux's lil' helper

Joined: 07 Sep 2010 Posts: 127 Location: France
|
Posted: Tue Apr 10, 2012 4:22 pm Post subject: |
|
|
| EatMeerkats wrote: | | "sort -h", my friend. | Using this one too. _________________ Arkhelion |
|
| Back to top |
|
 |
|