LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-03-2010, 01:16 PM   #1
ruisof
LQ Newbie
 
Registered: Sep 2010
Posts: 1

Rep: Reputation: 0
dev/sda1 100% full


Hi!

I have a problem with my disk, it is full as you can see
[root@moodle ~]# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda1 64380356 63125180 0 100% /
none 3116000 0 3116000 0% /dev/shm
/dev/sdb1 282015652 179367500 88322592 68% /opt
//10.14.0.200/Moodle 1465122816 585728000 879394816 40% /mnt/CI_BACKUPS

i already use the command
[root@moodle /]# du -sh * 5.3M bin
17M boot
168K dev
59M etc
0 forcefsk
4.4M home
8.0K initrd
199M lib
16K lost+found
16K media
8.0K misc
160G mnt
171G opt
du: `proc/27382/task': No such file or directory
du: `proc/27382/fd': No such file or directory
du: `proc/28980': No such file or directory
du: `proc/28981': No such file or directory
du: `proc/28982': No such file or directory
du: `proc/28983': No such file or directory
du: `proc/28984': No such file or directory
900M proc
282M root
16M sbin
8.0K selinux
8.0K srv
0 sys
4.0M tmp
2.9G usr
4.5G var
and from here i can see the problem, but the fact is that my /dev/sda1 is saying that is full.
i have mysql and clamav instaled and because of this they don't work and people can acess the data in the pc.

i detect, when i try to put files in /var/spool that there is no space, but i tried to cut some files and paste again and give me the same error, i don't understand what is happening and where is the problem,can anyone give a help i'am new in this, this system was mounted by another person and he is unaviable.

thanks in advance
 
Old 09-03-2010, 02:30 PM   #2
arizonagroovejet
Senior Member
 
Registered: Jun 2005
Location: England
Distribution: openSUSE, Fedora, CentOS
Posts: 1,078

Rep: Reputation: 195Reputation: 195
Try
Code:
$ yum clean packages
That will delete any updates that have been downloaded and cached. It might free up some space, it might not. It depends if there's any updates downloaded and cached or not. Running this won't do any harm, the updates can always been downloaded again, and in fact they might already have been installed but the packages are still in the cache.


Other than that, well you got to delete something haven't you. First thing to do is figure out exactly what's taking up all your space. Ignore the contents of /opt because that's on a desperate partition and the contents of /mnt because that's mounted from somewhere else.

ncdu (http://dev.yorhel.nl/ncdu) is an excellent little tool for finding out what's using up your disk space, if you can find some space to download and compile it in

Other than that keep running 'du -sh *' in /var because that's the directory with the most in, then see what's the biggest directory in there, change in to that and run 'du -sh *' again and just keep looking around with that until you find something you can delete. But... don't delete anything unless you are 100% certain it's OK to do so. If in doubt, wait for whoever set it up to become available and have them fix it.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
USB drive... /dev/sda1 doesn't show unless I try mounting /dev/sda as vfat finite Linux - Hardware 8 03-10-2009 01:52 AM
USB Detection; when /dev/sda1 or /dev/sdb1 ravime Linux - Hardware 6 09-12-2007 07:15 AM
Rsync from say /dev/hda1 to /dev/sda1 backup DIRdiver Linux - General 6 10-09-2006 07:42 PM
Grub Dual Boot /dev/sda1 /dev/hda1 jono268 Debian 4 01-14-2005 05:54 AM
USB Compact flash card reader hotplug creates /dev/sda but no /dev/sda1 -Mandrake 9.1 bibinono Linux - Hardware 2 08-11-2003 10:37 AM


All times are GMT -5. The time now is 01:52 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration