You are not logged in.

#1 2011-01-10 18:50:16

tuxrux
Member
Registered: 2010-01-05
Posts: 21

Diffrent softwares show diffrent Sizes!!!

Hey there,
Here is the problem:
I've just re-installed arch two days ago, I partitioned my 500GB hdd like this:
30 GB /
512 Swap
remaining /home
but today i realized that i accidentally changed the place of Swap & home, i had only 512 MB for home & a 460 GB Swap partition.
So, I booted with Gparted, Deleted the swap, resized the home & created a 512 MB Swap partition.
everything is up & running BUT Gparted numbers are diffrent from Disk Usage analyzer and nautilus.
GParted:

MOD EDIT: Please follow image posting guidelines from the forum rules -- Inxsible
Disk usage analyzer:

MOD EDIT: Please follow image posting guidelines from the forum rules -- Inxsible

Nautilus:
400 GB free space.

As you can see, Gparted says 14 GB is in use but Disk usage analyzer says that's only about 500 MB.
And Gparted Says there 422 GB free while nautilus says its 400 GB !!!

To sum it up : I'm totally confused!

Last edited by Inxsible (2011-01-10 19:37:39)

Offline

#2 2011-01-10 18:56:38

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: Diffrent softwares show diffrent Sizes!!!

Ext filesystems reserve 5% of partition capacity for root. Run "tune2fs -r 0 /dev/sdXY" to disable it.

Offline

#3 2011-01-10 19:01:51

tuxrux
Member
Registered: 2010-01-05
Posts: 21

Re: Diffrent softwares show diffrent Sizes!!!

WOW!
Such a Fast & Accurate reply!
That was it !
Thank you so much Lucke.
What about Disk Usage reports?
Gparted says 14 GB, Disk Usage analyzer says 500 MB.
Why is that?

Last edited by tuxrux (2011-01-10 19:03:22)

Offline

#4 2011-01-10 19:10:41

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: Diffrent softwares show diffrent Sizes!!!

Does gparted still say 14 GB after you've disabled the reserved space?

Run "df -h /home" and "du -hs /home" and paste the output.

Offline

#5 2011-01-10 19:14:36

tuxrux
Member
Registered: 2010-01-05
Posts: 21

Re: Diffrent softwares show diffrent Sizes!!!

Yes. It does.
Here are the outputs.
df -h /home
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda5             423G  461M  423G   1% /home


du -hs /home
du: cannot access `/home/tuxrux/.gvfs': Permission denied
452M    /home

Offline

#6 2011-01-10 19:26:56

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: Diffrent softwares show diffrent Sizes!!!

Filesystem structures always take some space, but 14 GB seems a bit excessive. At least the readings of df and du are similar - you have 423 GB of space available.

I remember a similar topic, though - with something apparently eating a lot of space - but I don't remember the conclusions. Try searching the forum.

Offline

#7 2011-01-10 19:40:11

tuxrux
Member
Registered: 2010-01-05
Posts: 21

Re: Diffrent softwares show diffrent Sizes!!!

I think df output is more reasonable than gparted.
Is gprated giving wrong number? or Is there really 14 GBs used? Disk usage analyzer also confirms df output.
What do you think lucke?

Offline

#8 2011-01-10 19:44:47

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: Diffrent softwares show diffrent Sizes!!!

You could see what cfdisk says.

Offline

#9 2011-01-10 19:52:29

tuxrux
Member
Registered: 2010-01-05
Posts: 21

Re: Diffrent softwares show diffrent Sizes!!!

How should i do that?
I used:
cfdisks /dev/sda5
it says: FATAL ERROR,Can not open disk drive.

Offline

#10 2011-01-10 20:04:04

IncredibleLaser
Member
From: Germany, NRW
Registered: 2008-07-16
Posts: 158

Re: Diffrent softwares show diffrent Sizes!!!

You have to use "cfdisk /dev/sda" (as superuser)

Offline

#11 2011-01-10 20:43:29

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Diffrent softwares show diffrent Sizes!!!

I think this belongs in the Newbie corner...


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

Board footer

Powered by FluxBB