You are not logged in.

#1 2009-08-19 19:53:08

ssl6
Member
From: Ottawa, ON, CA
Registered: 2007-08-30
Posts: 594

disk usage?

having a problem with reported disk usage on one of my drives.......now, its a 750gb drive, so that works out to about 687gb formatted i think it says. i have 529gb used, and its telling me its full. im running kdemod, and the disk is formatted ext4, if that means anything at all to anyone. conky is reporting 35gb free, which seems off too

now i should be able to fit more junk there right?

Last edited by ssl6 (2009-08-19 19:57:02)


this is a signature

Offline

#2 2009-08-19 20:45:37

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,597
Website

Re: disk usage?

hmmm... post the output of a df -h


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#3 2009-08-20 18:15:32

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: disk usage?

Something similar happened to me with a much smaller partition, df -h would say there was still free space available but cp would refuse to copy anything and I was using it as root and already had disable the reserved space .... I thought that df might not be accounting the used space properly due to some filesystem overhead not being taken into account.

It was also an ext4 partition .... maybe some "hidden/obscure feature" of ext4 is causing that tongue


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#4 2009-08-20 22:36:18

Gen2ly
Member
From: Sevierville, TN
Registered: 2009-03-06
Posts: 1,529
Website

Re: disk usage?

Well if you're using ext4 it does reserve by defualt (5%?) of the drive for it's own uses (journaling...?).  As for disk size I wonder if manufacturers use metric values for advertising instead of binary.  I read about how DVD's advertise as 4.7GB but in computer values this is 4.38GB:

http://www.infocellar.com/dvd/capacity.htm

Possibly alot less on the drive because of this?


Setting Up a Scripting Environment | Proud donor to wikipedia - link

Offline

#5 2009-08-20 23:26:51

SiC
Member
From: Liverpool, England
Registered: 2008-01-10
Posts: 430

Re: disk usage?

Hmmm....

Can you give us 2 things, the results of

df -h

and

df -i

Thanks smile

Offline

#6 2009-08-21 00:54:37

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,224
Website

Re: disk usage?

also:

lsof | grep '(deleted)'

You may need to install the 'lsof' package first if you haven't already got it installed.

Offline

#7 2009-08-21 01:05:40

ssl6
Member
From: Ottawa, ON, CA
Registered: 2007-08-30
Posts: 594

Re: disk usage?

i did some digging.....anyway, it is ext4, and the drive is full, conky was reporting the space wrong, and i misread the other one. so i'm looking into getting a TB drive, maybe 2 of them to make sure its future proof. i've swapped a few things around to make space for what i really want on my share. i'm not going to expand my storage just yet, since i'm waiting for insurance to pay out so i can replace the dead hardware in my main system that died in a flood


this is a signature

Offline

#8 2009-08-21 01:53:24

Xyne
Administrator/PM
Registered: 2008-08-03
Posts: 6,963
Website

Re: disk usage?

Gen2ly wrote:

As for disk size I wonder if manufacturers use metric values for advertising instead of binary.  I read about how DVD's advertise as 4.7GB but in computer values this is 4.38GB:

http://www.infocellar.com/dvd/capacity.htm

Possibly a lot less on the drive because of this?

The manufacturer's advertising is technically accurate. The computer should actually report the size as 4.38GiB (gibibytes).


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

Board footer

Powered by FluxBB