Out of disk space on 4GB partiton yet it's only using 2GB
        Posted  
        
            by Camsoft
        on Server Fault
        
        See other posts from Server Fault
        
            or by Camsoft
        
        
        
        Published on 2010-03-16T11:39:35Z
        Indexed on 
            2010/03/16
            11:46 UTC
        
        
        Read the original article
        Hit count: 528
        
I'm running Ubuntu and have had a problem where the root partition has run out of disk space.
When I perform df -h I get the following:
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda6             4.6G  4.5G     0 100% /
Yet there are only 2GB of files actually using up this partition. I then ran the following df -i and I get the following:
Filesystem            Inodes   IUsed   IFree IUse% Mounted on
/dev/sda6             305824  118885  186939   39% /
I have no idea what the -i flag does but it clearly shows that only 39% is used.
Can anyone explain where my disk space has gone?
© Server Fault or respective owner