Logo 
Search:

Unix / Linux / Ubuntu Forum

Ask Question   UnAnswered
Home » Forum » Unix / Linux / Ubuntu       RSS Feeds

Something is using most of my HDD space

  Date: Dec 12    Category: Unix / Linux / Ubuntu    Views: 615
  

My problem is with this pc (this desktop) running Ubuntu with Gnome DE...
and the Home space is around 37 GB. The main partition (see line
9http://paste.ubuntu.com/117016/
)

I don't know what is taking up most of my space... I don't think it's the
Ubuntu installation itself. But something is hogging most of the HDD and
leaving me with only 3.2GB free hard disc space.

Note that the HDDs in this pc is one terabyte (as 2 x 500 GB HDD). I will
provide more technical details as requested.... as long as you explain how
I'm to obtain this info.

I should NOT be running out of HDD space!!! Note also that I rate myself as
only a Ubuntu Beginner!!! The links below are the result of chats in
#beginners-help chat forum ... I tried to ask in #ubuntu chat forum but it
was so very busy that I was effectively ignored ;-(

sudo fdisk -l
results below
http://paste.ubuntu.com/117016/

ls -lah ~/
results below
http://paste.ubuntu.com/116901/

df -h
results below
http://paste.ubuntu.com/116880/

Share: 

 

4 Answers Found

 
Answer #1    Answered On: Dec 12    

look at mine:

abcsmart@abcsmart:~$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sdb3 19G 4.3G 14G 24% /
varrun 1010M 148K 1010M 1% /var/run
varlock 1010M 0 1010M 0% /var/lock
udev 1010M 72K 1010M 1% /dev
devshm 1010M 12K 1010M 1% /dev/shm
lrm 1010M 39M 971M 4%
/lib/modules/2.6.24-23-generic/volatile

/dev/sdb1 228M 95M 122M 44% /boot
/dev/sdb6 71G 30G 38G 44% /home
gvfs-fuse-daemon 19G 4.3G 14G 24% /home/abcsmart/.gvfs
/dev/scd0 7.7G 7.7G 0 100% /media/cdrom0
/dev/sda1 29G 28G 263M 100% /media/disk

Im assuming that your /home is in sda1.



abcsmart@abcsmart:~$ sudo fdisk -l
[sudo] password for abcsmart:

Disk /dev/sda: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x157e157d

Device Boot Start End Blocks Id System
/dev/sda1 1 3824 30716248+ 83 Linux
/dev/sda3 4714 4865 1220940 5 Extended
/dev/sda5 4714 4865 1220908+ 82 Linux swap / Solaris

Disk /dev/sdb: 203.9 GB, 203928109056 bytes
255 heads, 63 sectors/track, 24792 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0e1fe4bf

Device Boot Start End Blocks Id System
/dev/sdb1 * 1 30 240943+ 83 Linux
/dev/sdb2 2521 24792 178899840 5 Extended
/dev/sdb3 31 2520 20000925 83 Linux
/dev/sdb5 24514 24792 2241036 82 Linux swap/ Solaris
/dev/sdb6 2521 11857 74999389+ 83 Linux

What is in your /home folder?

 
Answer #2    Answered On: Dec 12    

You could try looking for large files that may be taking up LOTS of
space. I run the following script on my server weekly via cron to send
me a list of the top 100 largest files. It has been helpful in the past
when a log file got way large due to a runaway process continuing to log
errors, etc.

Here's the cron entry:
0 3 * * 0 /root/admin_stuff/bin/find_big_files > /dev/null 2>&1

Here's the script:
#!/bin/bash
#
# find_big_files: Find the top 100 biggest files & mail results to root
#
DATE=`date`
LOGFILE=/root/admin_stuff/dat/admin_log.log
echo $DATE - Running $0 >> $LOGFILE
find / -depth -print -exec ls -l {} \; | grep -v web | grep -v "disk-"
| grep -v backups | grep -v kcore | grep ./ | sort -n -r -b -k5 | head
-n 100 | /usr//bin/mail -s " Weekly listing of 100 biggest files" root


You may need to tweak it a bit since I skip some files (including my web
site which is about 28GB).

 
Answer #3    Answered On: Dec 12    

I don't know what is taking up most of my space... I don't think
it's the
Ubuntu installation itself. But something is hogging most of the HDD and
leaving me with only 3.2GB free hard disc space.


There are a couple of utilities that tell you where the file space is being
used. I like Filelight. Another is called gdmap. They give a visual
representation of your drive showing where the files are located and the number
of MBs in each directory.

I would also look at your .tmp, .temp directories, .thumbnails directory, and
trash (.local/share/Trash). Kleansweep is also a good tool for this.

 
Answer #4    Answered On: Dec 12    

Because you are a new user I wonder if you allocated the space on your
hard drive. Just because you have a large drive means nothing if the
space sits unallocated.

I use the partition editor to play with the space of my hard drive,
this editor is under >system>administration if you don't find it start
the synaptic package manager and install it.

Starting the editor will give you a picture of your hard drive and how
it is set up. If you find this is the problem then allocate some space
to play with and all will be fine.

 
Didn't find what you were looking for? Find more on Something is using most of my HDD space Or get search suggestion and latest updates.




Tagged: