Find the answer to your Linux question:
Results 1 to 6 of 6
I seem to have "lost" some of my home partition, I have a /media/sda3/terry/ partition which is 96GB there is 43GB left available and I can only find 26GB in ...
  1. #1
    Just Joined!
    Join Date
    Dec 2004
    Location
    Cornwall
    Posts
    14

    lost space on hard drive

    I seem to have "lost" some of my home partition, I have a /media/sda3/terry/ partition which is 96GB there is 43GB left available and I can only find 26GB in my home partition.

    this is the last few entries of: du -a --max-depth=1 | sort -n

    104900 ./.googleearth
    222184 ./mp3
    335480 ./.kde
    760728 ./.beagle
    824280 ./.cxoffice
    14551056 ./Documents
    17125468 .

    and the result of df -a -h

    Filesystem Size Used Avail Use% Mounted on
    /dev/sda2 20G 11G 8.3G 56% /
    proc 0 0 0 - /proc
    sysfs 0 0 0 - /sys
    debugfs 0 0 0 - /sys/kernel/debug
    udev 502M 100K 502M 1% /dev
    devpts 0 0 0 - /dev/pts
    /dev/sda3 89G 41G 44G 49% /home
    securityfs 0 0 0 - /sys/kernel/security

    It seems I have lost 7G from the home partition which should read 96G and also on /dev/sda3 there's only 44G left with 17G actually used

    Can anyone explain how I can find the loss and any ideas where it's gone. I did have a series of xsessions-errors & deleted this file when it filled the drive.

    thanks for any help

  2. #2
    Linux Engineer scrarfussi's Avatar
    Join Date
    Aug 2006
    Posts
    1,029
    check your /tmp folder some applications dump files there

  3. #3
    Linux Enthusiast
    Join Date
    Jul 2005
    Location
    Maryland
    Posts
    521
    Have you searched for files or directories with "spaces" as their names? They could be created accidentally, and because they are not that visible you may not even know that they exist and using the space. Use "find" to find their locations:
    Code:
     find / -iname ' '

  4. #4
    Just Joined!
    Join Date
    Dec 2004
    Location
    Cornwall
    Posts
    14
    Thanks

    I can't find anything with find / -iname ' ' and I have about 3.5G in my /tmp directory.
    Is it possible that something went wrong when I deleted the .xsession-errors file and this has left space on the drive which doesn't show up?

  5. #5
    Linux Guru gogalthorp's Avatar
    Join Date
    Oct 2006
    Location
    West (by God) Virginia
    Posts
    3,105
    How did you delete them ie from the command line or through the GUI? If through the GUI did you empty your trash?

  6. #6
    Just Joined!
    Join Date
    Dec 2004
    Location
    Cornwall
    Posts
    14
    I deleted them through the GUI, first to trash then I emptied the trash, but got an error message saying xsession-errors didn't exist, when I checked the trash I it was empty but the icon still showed that it had contents. I emptied the trash again had the same error and the file disappeared, this is what makes me think something went wrong with the delete, but the du command doesn't show this.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...