You are not logged in.

#1 2010-06-01 03:13:14

anzac1942
Member
Registered: 2010-06-01
Posts: 3

Can't use a portion of my disk space...

So recently, programs in my operating system started acting very strangely, which was caused by (as I discovered later) my /home filesystem being completely full. Normally, I would've recognized this right away, as I have conky set up on my desktop to display hd usage, etc. However, after looking at both conky and the output 'df -h', I'm a bit confused. My computer is telling me that the size of the filesystem on my /home partition is 163Gb, that 150Gb is being used currently, but that only 4.1Gb of space is available for usage. Any ideas as to why this is, and what happened to the other ~9Gb? Is it something with the ext filesystem/formatting?

Also, apologies if my post is poorly formatted or if I've left out any system info I should've included - this is my first post on the forums, despite having used Arch for quite some time.

Offline

#2 2010-06-01 03:54:32

byte
Member
From: Düsseldorf (DE)
Registered: 2006-05-01
Posts: 2,046

Re: Can't use a portion of my disk space...

When you create Ext2/3/4 filesystems there's usually a portion being reserved where only the root user can write into.
You can reclaim it with 'tune2fs -r0 /dev/sdXY', but I'd recommend doing that from a LiveCD/USB stick (like the Arch CD).


1000

Offline

#3 2010-06-01 04:18:02

anzac1942
Member
Registered: 2010-06-01
Posts: 3

Re: Can't use a portion of my disk space...

Is this true despite the fact that arch sets up the file systems so that /home is on a separate filesystem than the root filesystem? And despite the fact that root's home folder is not in /home?

Offline

#4 2010-06-01 05:03:20

byte
Member
From: Düsseldorf (DE)
Registered: 2006-05-01
Posts: 2,046

Re: Can't use a portion of my disk space...

Yep.
Check with 'tune2fs -l /dev/sdXY | grep "Reserved block count"' (that's a lowercase L there)
Each block is 4 KB.


1000

Offline

#5 2010-06-01 06:08:59

anzac1942
Member
Registered: 2010-06-01
Posts: 3

Re: Can't use a portion of my disk space...

Thanks! I figured out that part of the 'missing' space was because df and conky don't account for space taken up by hidden files and folders, although I had thought that they did. However, the reserved blocks accounted for the rest of the unused space. Thanks for the quick reply.

Offline

Board footer

Powered by FluxBB