Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Search Forums:



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 09-03-2010
Registered User
 

Join Date: Sep 2010
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
dev/sda1 100% full

Hi!

I have a problem with my disk, it is full as you can see

Code:
[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

Code:
[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

Last edited by pludi; 09-03-2010 at 01:17 PM.. Reason: code tags, please...
Sponsored Links
    #2  
Old 09-03-2010
Ikon's Avatar
Ikon Ikon is offline Forum Advisor  
Computer Geek
 

Join Date: Jul 2008
Location: Frederick, MD
Posts: 748
Thanks: 4
Thanked 10 Times in 9 Posts
This is why you put / (root) in a separate partition or logical volume.

You need to delete some old logs from /var/logs/

---------- Post updated at 12:52 PM ---------- Previous update was at 12:39 PM ----------

It also looks like there is a program, probably a log, that is taking up space but hasnt released the space on the drive.

since you have a 60GB drive for sda1 but I dont count 60GB being used on it, since /opt is on sdb1 and /mnt is on a remote pc.
Sponsored Links
    #3  
Old 09-03-2010
Registered User
 

Join Date: Sep 2010
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Ikon View Post
This is why you put / (root) in a separate partition or logical volume.

You need to delete some old logs from /var/logs/

---------- Post updated at 12:52 PM ---------- Previous update was at 12:39 PM ----------

It also looks like there is a program, probably a log, that is taking up space but hasnt released the space on the drive.

since you have a 60GB drive for sda1 but I dont count 60GB being used on it, since /opt is on sdb1 and /mnt is on a remote pc.
Hi!
First thanks for your fast reply.
I already look at var/logs/ but i can find any file that use the space or any process that is fulling my disk. And you are right when you said that the / must be separeted from rest, but as i said i didn't mount the system, another person did'it. And i get the same conclusion, it's impossibel to have my boot disk full, because i have a few G ins disk....More help i aprecciate.
if it help

Code:
[root@moodle /]# du -h --max-depth=1 /var
1.5M    /var/cache
42M     /var/clamav
4.0G    /var/lib
1.4M    /var/spool
28K     /var/db
16K     /var/empty
8.0K    /var/preserve
8.0K    /var/opt
8.0K    /var/nis
8.0K    /var/tmp
12K     /var/account
19M     /var/www
24K     /var/yp
8.0K    /var/tux
32K     /var/lock
16K     /var/ftp
228K    /var/run
535M    /var/log
16K     /var/gdm
8.0K    /var/local
16K     /var/crash
4.5G    /var

Thanks in advance

Last edited by pludi; 09-03-2010 at 01:50 PM..
    #4  
Old 09-03-2010
Ikon's Avatar
Ikon Ikon is offline Forum Advisor  
Computer Geek
 

Join Date: Jul 2008
Location: Frederick, MD
Posts: 748
Thanks: 4
Thanked 10 Times in 9 Posts
If a process is filling the drive and not releasing the space Rebooting the server should clear the problem.

Since the remote drive is mounted in /mnt/CI_BACKUPS make sure there are no large files in /mnt. If someone put a file in /mnt and that is taking the space rebooting will not fix the problem, and may make it hard to even login to the system after reboot.
Sponsored Links
    #5  
Old 09-03-2010
Registered User
 

Join Date: Sep 2010
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Ikon View Post
If a process is filling the drive and not releasing the space Rebooting the server should clear the problem.

Since the remote drive is mounted in /mnt/CI_BACKUPS make sure there are no large files in /mnt. If someone put a file in /mnt and that is taking the space rebooting will not fix the problem, and may make it hard to even login to the system after reboot.
Hi! thanks for reply

I already reboot the system, but the problem persists. The remote drive is a PC where i put the backup of data from /opt/sdb1. I don't understand the relation betwen the / and the /mnt, Are you saying that they depend one another?And is true there are large files in /mnt/CI_BACKUPS.
Thanks
Sponsored Links
    #6  
Old 09-03-2010
Ikon's Avatar
Ikon Ikon is offline Forum Advisor  
Computer Geek
 

Join Date: Jul 2008
Location: Frederick, MD
Posts: 748
Thanks: 4
Thanked 10 Times in 9 Posts
/mnt is a directory under /.

anything in /mnt/CI_BACKUPS does NOT takeup space on /, but anything in /mnt does take up space.

Post the output of:

Code:
 du -h --max-depth=1 --exclude=/mnt/CI_BACKUPS /mnt

Sponsored Links
    #7  
Old 09-04-2010
Registered User
 

Join Date: Sep 2010
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Hi again! Again thanks

Here is the output


Code:
[root@moodle /]#  du -h --max-depth=1 --exclude=/mnt/CI_BACKUPS /mnt
160G    /mnt/CI_BACKUPS
160G    /mnt
[root@moodle /]#

Best regards

Last edited by pludi; 09-06-2010 at 05:35 AM..
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Cant' mount usb drive, /dev/sda1 not showing up orahi001 Filesystems, Disks and Memory 3 04-08-2009 01:52 PM
when 100% full, it says some available hcclnoodles Solaris 1 01-02-2007 12:46 PM
pls help - /dev/dsk 100% full indianboy08 Solaris 1 03-12-2006 09:46 AM
/ is full nikk UNIX for Advanced & Expert Users 6 07-20-2004 07:00 AM
/usr is full D-Lexy Filesystems, Disks and Memory 7 06-17-2002 04:44 PM



All times are GMT -4. The time now is 03:30 AM.