LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-03-2014, 12:43 AM   #1
Lexus45
Member
 
Registered: Jan 2010
Distribution: Debian, Centos, Ubuntu, Slackware
Posts: 361
Blog Entries: 3

Rep: Reputation: 48
Where is free space?


Hello friends.
Is this a filesystem error?
It seems to be not so many files on the partition. But 'df -h' shows that the partition is almost all not free.
Code:
root@hostname:~# df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda2        19G  5.9G   12G  34% /
udev            996M  4.0K  996M   1% /dev
tmpfs           402M  1.1M  401M   1% /run
none            5.0M     0  5.0M   0% /run/lock
none           1004M  468K 1003M   1% /run/shm
/dev/sda3        53G   50G  225M 100% /home
Code:
root@hostname:~# du -sh /home/*
16K    /home/lost+found
324K    /home/support
du: cannot access `/home/user/.gvfs': Permission denied
50G    /home/user
Code:
root@hostname:~# du -sh /home/user/*
64K    /home/user/agent_dogovor_new.doc
8.0K    /home/user/bookmarks_28.05.13.html
72K    /home/user/filewrite
40K    /home/user/Kyocera_FS-1035MFP.ppd
0    /home/user/libpeerconnection.log
376K    /home/user/scan
4.0K    /home/user/Ubuntu One
4.0K    /home/user/Video
4.0K    /home/user/Documents
393M    /home/user/Downloads
1.5M    /home/user/Images
4.0K    /home/user/Music
183M    /home/user/Desktop
There are no many and/or big hidden files in the home directory.


The trash is empty (I checked the real path to the trash directory, not the desktop icon).


System: ubuntu 12.04.
FS: ext4.

Code:
root@hostname:~# mount
/dev/sda2 on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
/dev/sda3 on /home type ext4 (rw)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
rpc_pipefs on /run/rpc_pipefs type rpc_pipefs (rw)
gvfs-fuse-daemon on /home/user/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=user)

Last edited by Lexus45; 02-03-2014 at 12:44 AM.
 
Old 02-03-2014, 12:56 AM   #2
Phoenix2275
LQ Newbie
 
Registered: Jan 2012
Location: Inverness, Scotland
Posts: 5

Rep: Reputation: Disabled
Loss of free space

Recently, I discovered that my root directory (/) had no free space left, just like what has happened to you. I looked in /var to see whether there were any big files. I found three, all of 11G, which I deleted. Running df -h again showed no free space. So I rebooted and found when I had logged in again that the file system was Ok: lot's of free space again.

So I recommend that you look for files above a certain size (you choose), using `find' which can be told to find files of a particular size or more (read "info find" to find the details). Delete any suspiciously large files and then reboot.

If you still have difficulties, let us know.
 
1 members found this post helpful.
Old 02-03-2014, 01:00 AM   #3
Lexus45
Member
 
Registered: Jan 2010
Distribution: Debian, Centos, Ubuntu, Slackware
Posts: 361

Original Poster
Blog Entries: 3

Rep: Reputation: 48
It's ~/.thunderbird

:-)
 
Old 02-03-2014, 01:15 AM   #4
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,830

Rep: Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308
I think you missed the dot-files in your home (the files beginning with a .).
du -sh /home/user/* will not take into account them.
 
Old 02-03-2014, 01:15 AM   #5
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,830

Rep: Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308
I think you missed the dot-files in your home (the files beginning with a .).
du -sh /home/user/* will not take into account them.
 
Old 02-04-2014, 04:00 AM   #6
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,358

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
@Phoenix2275: deleting open files then rebooting is definitely not good for your system.
You should find out how to approach them appropriately depending on what program owned them.

Note also that you cannot do that to a Prod server ..
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
partition space and disk space usage and free don't match nsic Linux - Newbie 3 02-22-2013 12:57 PM
No more free space! df 99.9%, du 29% usage - missing free space ? Topper_BG Linux - General 14 02-08-2012 02:40 PM
Help removing free space to create Raw free space nightmare55 Linux - Newbie 11 10-01-2009 03:07 AM
Not enough free space on hard drive with 50g of free space??? auoq SUSE / openSUSE 5 10-13-2004 08:21 PM
Formating free space: WinXP pro and RH9 dualboot with free space on 3rd drive Vermicious Linux - General 2 03-22-2004 05:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:19 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration