dev/sda1 100% full


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers dev/sda1 100% full
# 1  
Old 09-03-2010
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 02:17 PM.. Reason: code tags, please...
# 2  
Old 09-03-2010
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.
# 3  
Old 09-03-2010
Quote:
Originally Posted by Ikon
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 02:50 PM..
# 4  
Old 09-03-2010
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.
# 5  
Old 09-03-2010
Quote:
Originally Posted by Ikon
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
# 6  
Old 09-03-2010
/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

# 7  
Old 09-04-2010
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 06:35 AM..
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

Changing grub from /dev/sda to /dev/sdb

Hi, Please suggest steps to change grub from /dev/sda to /dev/sdb, (1 Reply)
Discussion started by: manoj.solaris
1 Replies

2. AIX

100% Inode full with only 67% FS full.

AIX Version 6.1 and 7.1. I understand that when the OS initially creates the FS and inodes, its pretty strict, but not always tuned to a 1:1 ratio. I see the same thing when adding a whole disk LV to a separate device. It seems that when we expand a filesystem the inodes don't get tuned... (5 Replies)
Discussion started by: mrmurdock
5 Replies

3. Shell Programming and Scripting

Automating partitioning setup of /dev/sda on /dev/sdc

Objective: To recreate the partitioning setup of /dev/sda on /dev/sdc How would I parse the below information and initialize variables (an array?) that can be used to build sgdisk commands in a script, regardless of the number of partitions? Something along the lines of: sgdisk -n... (12 Replies)
Discussion started by: RogerBaran
12 Replies

4. AIX

Problem in /dev/hd1 and /dev/hd9var

Hello AIXians, I can't boot my AIX, it hangs and stops at the code error: 0518 After searching google, I knew the problem is due to problems in File Systems. So the solution is booting from any bootable media, then run these commands in maintenance mode: #fsck -y /dev/hd4 #fsck -y... (3 Replies)
Discussion started by: Mohannad
3 Replies

5. AIX

Difference between /dev/hdisk and /dev/rhdisk

Hi, How can i check that i am using RAW devices for storage in my AIX machine... Also after adding a LUN from storage to a aix host, when i check /dev in the host, i can see both rhdisk and hdisk with same number eg: dcback1(root):/dev>ls -lrt | grep disk12 crw------- 1 root ... (4 Replies)
Discussion started by: jibujacob
4 Replies

6. Solaris

Lun remove, stuck in /dev/dsk and /dev/rdsk

So, we removed a LUN from the SAN and the system is refusing to remove the references to it in the /dev folder. I've done the following: devfsadm -Cv powermt -q luxadm -e offline <drive path> luxadm probe All those commands failed to remove the path. The drive stills shows up as <drive... (13 Replies)
Discussion started by: DustinT
13 Replies

7. Filesystems, Disks and Memory

Cant' mount usb drive, /dev/sda1 not showing up

Hi, I'm trying to mount a usb drive but the path /dev/sda1 does not show up under /dev when I plug in the usb device. In fact I see no differences under /dev before and after I plugin my usb drive. Any ideas why the system is not recognizing the usb drive and how to fix? This is on a... (3 Replies)
Discussion started by: orahi001
3 Replies

8. AIX

/dev/hd9var full

/dev/hd9var 819200 1928 100% 12101 12% /var the filesystem is full my self being new to aix what do i do to create space (1 Reply)
Discussion started by: freeman
1 Replies

9. Solaris

What is /dev/tty /dev/null and /dev/console

Hi, Anyone can help My solaris 8 system has the following /dev/null , /dev/tty and /dev/console All permission are lrwxrwxrwx Can this be change to a non-world write ?? any impact ?? (12 Replies)
Discussion started by: civic2005
12 Replies

10. Solaris

pls help - /dev/dsk 100% full

I use the following command dk -k and get the following output: Filesystem kbytes used avail capacity Mounted on /dev/dsk/c0t0d0s0 1587078 56546 1482920 4% / /dev/dsk/c0t0d0s6 1984230 926199 998505 49% /usr /proc 0 0 0 ... (1 Reply)
Discussion started by: indianboy08
1 Replies
Login or Register to Ask a Question