Half my hard drive is missing?

Asked by Tony Partridge on 2012-03-23

Hello,

I installed a 256GB SSD a few months back, copying over my install from a 500GB sata hdd. Now I thought all went well and fine... But I have a big problem.

Using GPart my disk is 224gb... ok? Shows it is EXT4 and 117gb is used. Perfect.. so I have 107GB Free...

although I do not! running: df -TH

Gives:

/dev/sda1 ext4 131G 119G 5.8G 96% /
udev devtmpfs 2.9G 12K 2.9G 1% /dev
tmpfs tmpfs 1.2G 1.3M 1.2G 1% /run
none tmpfs 5.0M 0 5.0M 0% /run/lock
none tmpfs 3.0G 81M 2.9G 3% /run/shm

so can anyone help me as the where the hell! the rest of my hdd is??

Thanks
Tony

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu gparted Edit question
Assignee:
No assignee Edit question
Last query:
2012-03-23
Last reply:
2012-03-24

Can you give the output of:

sudo fdisk -l; lsb_release -a; uname -a

Thanks

Tony Partridge (tlpartridge) said : #2

Thank you for your prompt response, here you go:

Disk /dev/sda: 256.1 GB, 256060514304 bytes
255 heads, 63 sectors/track, 31130 cylinders, total 500118192 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0003e08f

   Device Boot Start End Blocks Id System
/dev/sda1 * 2048 470110207 235054080 83 Linux
/dev/sda2 470126160 475572194 2723017+ 82 Linux swap / Solaris
LSB Version: core-2.0-amd64:core-2.0-noarch:core-3.0-amd64:core-3.0-noarch:core-3.1-amd64:core-3.1-noarch:core-3.2-amd64:core-3.2-noarch:core-4.0-amd64:core-4.0-noarch
Distributor ID: Ubuntu
Description: Ubuntu 11.10
Release: 11.10
Codename: oneiric
Linux Tony-Laptop-XPS-Kubuntu 3.0.0-16-generic #29-Ubuntu SMP Tue Feb 14 12:48:51 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

Tony Partridge (tlpartridge) said : #3

do you need me to check anything else?

Ubfan (ubfan1) said : #4

Looks like your filesystem is smaller than your partition, so the unused space is wasted. Use resize2fs to increase the size of the filesystem to fill the partition.

Chris (fabricator4) said : #5

It's a mystery, because the partition size of sda1 appears to be correct based on 512 bytes/sector:

device Type Start End blocks sectors size size2
sda1 ext4 2048 470110207 235054080 470108159 240.6 224.2
sda2 swap 470126160 475572194 2723017 5446034 2.7 2.6
                                                          243.4 226.8

Try running df with sudo or root:

sudo df -TH

Chris

Can you help with this problem?

Provide an answer of your own, or ask Tony Partridge for more information if necessary.

To post a message you must log in.