You are not logged in.

#1 2011-04-02 20:11:05

rp181
Member
Registered: 2010-04-03
Posts: 81

Missing HD space

I seem to be having 150 GB just gone. The partition size is no where near what the system is reporting (e.g, shown and nautilus)

http://i.imgur.com/oYiJk.png

Offline

#2 2011-04-02 20:40:53

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,772

Re: Missing HD space

There does seem to be a contradiction there ...

What does the command df -h say about it ?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#3 2011-04-02 21:49:47

rp181
Member
Registered: 2010-04-03
Posts: 81

Re: Missing HD space

also to low:

df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda6             111G   70G   37G  66% /
udev                  2.0G  184K  2.0G   1% /dev
none                  2.0G  184K  2.0G   1% /dev
none                  2.0G  600K  2.0G   1% /dev/shm

Offline

#4 2011-04-02 21:51:31

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Missing HD space

Free space (41.7 GB) matches, but it may be just a coincidence.

Swap also doesn't match. And why is udev set to 2 GB?

How big is that hard drive anyway? 500 GB?

Last edited by karol (2011-04-02 21:53:39)

Offline

#5 2011-04-02 22:14:16

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,772

Re: Missing HD space

Weird.  Just to make sure we are not chasing our tails, can you check the output of sudo fdisk /dev/sda -l   ??


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#6 2011-04-02 22:57:41

rp181
Member
Registered: 2010-04-03
Posts: 81

Re: Missing HD space

Yes, it is a 500 GB HD. I don't think i ever changed the udev size, whats it for?

sudo fdisk /dev/sda -l

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 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: 0x1549f232

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *          63   390636539   195318238+   7  HPFS/NTFS/exFAT
/dev/sda2       390636540   956445839   282904650    5  Extended
/dev/sda3       956445840   976767119    10160640    7  HPFS/NTFS/exFAT
/dev/sda5       937665918   956445839     9389961   82  Linux swap / Solaris
/dev/sda6       390636666   937665854   273514594+  83  Linux

Partition table entries are not in disk order

Offline

#7 2011-04-02 23:19:46

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,772

Re: Missing HD space

Well,    (937665854 -390636666) * 512 * 1024^(-3) = 260.8 GB
Whereas 273514594 * 512 * 1024 ^(-3) = 130 GB

I'm digging into file system / partition table limitations.  The 512 byte block size is kinda small for that large a disk
hmm

Edit: note that 937665854 -390636666 != 273514594

Last edited by ewaller (2011-04-02 23:20:55)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#8 2011-04-02 23:31:05

rp181
Member
Registered: 2010-04-03
Posts: 81

Re: Missing HD space

Could it be bad blocks? If so, would fsck fix them? I ran one at boot up, and nothing changed. I even deleted a VM cause i though that it was sucking up a bunch of space... =p

Offline

#9 2011-05-01 19:37:18

cubeist
Member
Registered: 2010-08-01
Posts: 36

Re: Missing HD space

In the last week I too have started getting messages that I am out of space (it may have been going on longer, but I noticed it this week). I appear to be missing several GB's!

here are my specs: It's a 64GB Kingston SSD formatted like this:
http://dl.dropbox.com/u/8097279/sda1.png

df -h

Filesystem      Size  Used Avail Use% Mounted on
udev             10M  224K  9.8M   3% /dev
/dev/sda1       7.3G  6.5G  367M  95% /
shm             3.0G  1.2M  3.0G   1% /dev/shm
none           1000M   68K 1000M   1% /tmp
/dev/sda3        41G  176M   39G   1% /media/spare

As you can see, the first partition (/) should be 15GB but there it only shows as 7.x
http://dl.dropbox.com/u/8097279/sda.png

fdisk /dev/sda -l

Disk /dev/sda: 64.0 GB, 64023257088 bytes
32 heads, 32 sectors/track, 122114 cylinders, total 125045424 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: 0x00051b25

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *          32    29296639    14648304   83  Linux
/dev/sda2        29296640    39062527     4882944   82  Linux swap / Solaris
/dev/sda3        39062528   125044735    42991104   83  Linux

and ncdu:

    4.8GiB [          ] /usr
  824.6MiB [          ] /root
  628.9MiB [          ] /var
   79.0MiB [          ] /lib
   22.7MiB [          ] /opt
   13.7MiB [          ] /boot
   12.4MiB [          ] /etc
    9.5MiB [          ] /sbin
    5.2MiB [          ] /bin
  352.0kiB [          ] /dev
   60.0kiB [          ] /media
   12.0kiB [          ] /srv
    8.0kiB [          ] /mnt
    8.0kiB [          ] /tmp
    4.0kiB [          ] /lib64
e   4.0kiB [          ] /lost+found
    0.0  B [          ] /proc
    0.0  B [          ] /sys

Note! I too have a block size of 512! this seems unlikely that this is a coincidence to the problem

edit - I deleted the 824 MB in the root trash, so I have some space to work with, but I still want to know where my 7GB went!

Last edited by cubeist (2011-05-01 21:00:54)

Offline

Board footer

Powered by FluxBB