You are not logged in.

#1 2010-02-12 20:54:14

nubity
Member
Registered: 2009-11-29
Posts: 46

Partition shown as 100% full even though its not full

Hi,

I've this occasional problem (and now persistent) whereby my root partition (/dev/sda6) is shown as 100% full even though all the blocks are not used. The partition is still mounted and read access is still available, however write doesn't work.

Sometimes a few reboots will solve it but this time it is sticking. Any idea how I can fix this?

I ran e2fsck already and it is still not resolved.

Thanks for your help!

Offline

#2 2010-02-12 22:57:38

stevefed5291
Member
From: United States
Registered: 2010-02-12
Posts: 7
Website

Re: Partition shown as 100% full even though its not full

does unmounting it then remounting make any difference? and do you have any other linux distros on the computer you can boot into, mount the partition, and see if the problem persists?


"If we knew what it was we were doing, it would not be called research, would it?" -Albert Einstein

Offline

#3 2010-02-13 00:04:43

fumbles
Member
Registered: 2006-12-22
Posts: 246

Re: Partition shown as 100% full even though its not full

Some space is reserved for root:

My system:

$ df /
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/mapper/vg00-lvol1
                        396672    270805    105395  72% /

$ perl -e 'print ((270805/396672)*100)'
68.26

mkfs.ext4 (same is true for other fs)

-m reserved-blocks-percentage
              Specify the percentage of the filesystem blocks reserved for the
              super-user.   This  avoids  fragmentation, and allows root-owned
              daemons, such as syslogd(8), to continue to  function  correctly
              after non-privileged processes are prevented from writing to the
              filesystem.  The default percentage is 5%.

Solution: Delete some stuff... pacman -Scc ? Do you have everything mounted under root?

Last edited by fumbles (2010-02-13 00:05:44)

Offline

#4 2010-02-13 00:09:29

Trent
Member
From: Baltimore, MD (US)
Registered: 2009-04-16
Posts: 990

Re: Partition shown as 100% full even though its not full

shown as 100% full even though all the blocks are not used

What do you mean by "all the blocks are not used"?  How many are not used?  How big is the partition, and how much space "should" you have that Arch cannot use?

Offline

#5 2010-02-13 02:55:25

IR3uL
Member
From: Buenos Aires - Argentina
Registered: 2010-02-11
Posts: 6

Re: Partition shown as 100% full even though its not full

I'm not sure i completly understand you nubity but i'll try to answer anyway.
One reason might be you ran out of inodes (try df -i), the other i can think of right now is that maybe you deleted a log (or some) file while it is in use by a program (the program will keep writing to it and filling the disk, but you wont be able to access it). One way to find deleted files is using lsof.

Can you supply the output of this?
df -m
sudo du -xm --max-depth=1 /

Offline

Board footer

Powered by FluxBB