PDA

View Full Version : [ubuntu] Hard Drive Size Inconsistencies



ealrgrey
September 23rd, 2008, 05:28 AM
http://img528.imageshack.us/img528/9149/screenshotdiskusageanaluk5.png (http://imageshack.us)
http://img528.imageshack.us/img528/screenshotdiskusageanaluk5.png/1/w800.png (http://g.imageshack.us/img528/screenshotdiskusageanaluk5.png/1/)

Hi! Please take a look at the picture above. I installed Ubuntu 8 a couple of days ago. Since then I've installed a few progs from the Package Manager and moved 30-something Gigabytes of mp3 files into the home folder. Which means that 36.2GB is surely correct. Does anyone know why then it says at the top "used: 72.8 GB"?


Also, when I go to System>Administrator>Monitor System, I get told this :
http://img517.imageshack.us/img517/2890/screenshotsystemmonitorvw6.png (http://imageshack.us)
http://img517.imageshack.us/img517/screenshotsystemmonitorvw6.png/1/w215.png (http://g.imageshack.us/img517/screenshotsystemmonitorvw6.png/1/)

Any idea why that is?

Thanks very much!

P.S. I ran DBAN before install so there are no other partitions etc on my hard drive.

ealrgrey
September 23rd, 2008, 06:12 AM
Bump.

bumanie
September 23rd, 2008, 06:59 AM
look at the output of
df -h / and
df -h /homeThey will give you a better indication of usage than the graphical representation does.

ealrgrey
September 23rd, 2008, 07:38 AM
Thanks for the reply bumanie. Unfortunately that's only made things more confusing! This is what I get for df -h / :

me@my-laptop:~$ df -h /
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 143G 37G 99G 27% /

I should be using my entire hard drive of 200-and-something GB...?

ealrgrey
September 23rd, 2008, 07:40 AM
Btw when I do /home I get the exact same answer if that is significant...

me@my-laptop:~$ df -h /
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 143G 37G 99G 27% /
me@my-laptop:~$ df -h /home
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 143G 37G 99G 27% /

bumanie
September 23rd, 2008, 07:45 AM
You don't have a separate /home partition that is why / and /home are the same as they are in the same partition, never-the-less it is showing only 27% being used
I'm at a friends at the moment but this is what his output looks like and what I was expecting you would get, but he has a separate / and /home which you don't have.

david@david:~$ df -h /
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 12G 3.4G 7.2G 32% /
david@david:~$ df -h /home
Filesystem Size Used Avail Use% Mounted on
/dev/sda3 276G 9.7G 252G 4% /home

Can you post a screeshot of gparted GUI?

ealrgrey
September 23rd, 2008, 08:01 AM
Just seen this in System Monitor, is it significant?

http://img407.imageshack.us/img407/9653/screenshotsystemmonitorqp9.png

ealrgrey
September 23rd, 2008, 08:07 AM
You don't have a separate /home partition that is why / and /home are the same as they are in the same partition, never-the-less it is showing only 27% being used

Am I supposed to have a separate partition for /home?

My hard drive is 240-280GB (can't remember) so it should be using a lot less than 27%... I've only put 30-something GB onto it.

bumanie
September 23rd, 2008, 08:07 AM
That is consistent with the terminal output. Try to send a screenshot of gparted.
sudo apt-get install gpartedFind gparted under System --> Administration --> Partition Editor. To get a screenshot Applications --> Accessories --> Screenshot and up load the screenshot to the forum.

ealrgrey
September 23rd, 2008, 08:19 AM
I've solved the problem, and I'm sorry to say you're not gonna like it. When I saw the 280GB number in the first screenshot my mind accepted as fact that that was correct. Unfortunately however after rummaging around for the paperwork I've discovered that this laptop is only supposed to have 160GB, so it's more or less correct. It is a different laptop that has 200-and-something GB. So yeah there is no problem to solve. Sorry.

Thanks for your help bumanie and sorry for wasting your time.

bumanie
September 23rd, 2008, 08:23 AM
Oh, well everyone makes mistakes sometimes. No worries.