How to resolve Filesystem Full?


 
Thread Tools Search this Thread
Operating Systems Solaris How to resolve Filesystem Full?
# 1  
Old 10-06-2011
How to resolve Filesystem Full?

I have experienced Filesystem full (%iused = 100%) as below. I have tried to remove a lot of garbage but it still become full soon.
Code:
# df -F ufs -o i
Filesystem       iused    ifree  %iused  Mount
/dev/dsk/c0t0d0s0  512000     0   100%  /
/dev/dsk/c0t0d0s3   1887   382113   0%  /cms

Other information as below:
Code:
# df -k
Filesystem         kbytes    used   avail   capacity Mounted on
/dev/dsk/c0t0d0s0   4130982 1260659  2829014   31%   /
/proc             0      0      0    0%   /proc
mnttab           0      0       0     0%   /etc/mnttab
swap           1112048     24  1112024   1%   /var/run
/dev/dsk/c0t0d0s3   3098743 269774  2766995   9%   /cms
swap           1112072     48  1112024   1%   /tmp

Code:
# uname -a
SunOS FT44430077 5.9 Generic_112233-11 sun4u sparc SUNW,Sun-Blade-100

Code:
# cat /etc/release
Solaris 9 4/03 s9s_u3wos_08 SPARC
Copyright 2003 Sun Microsystems, Inc. All Rights Reserved.
Use is subject to license terms.
Assembled 25 February 2003


Last edited by DukeNuke2; 10-07-2011 at 03:30 AM..
# 2  
Old 10-07-2011
Something must be writing a large number of small files to be taking up all your inodes. Maybe do a search of the newest files, and see what's filling it up.

Example: This would list the files written in the last 7 days.

find / -name "*" -ctime +7
# 3  
Old 10-07-2011
Quote:
Originally Posted by christr
Something must be writing a large number of small files to be taking up all your inodes. Maybe do a search of the newest files, and see what's filling it up.

Example: This would list the files written in the last 7 days.

find / -name "*" -ctime +7
Quite the opposite. That will list all files whose ctime is older than 7 days.

Regards,
Alister
# 4  
Old 10-07-2011
Sorry, typo ---

find / -name "*" -mtime -7
# 5  
Old 10-07-2011
Var is in different file system or same in "/".

du -ko /|sort -n | more

it will give large files.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. AIX

Livedump filesystem almost full

Guy's I'm getting this message Livedump filesystem almost full in errpt logs and its meanning this file system /var/adm/ras/livedump /var has more than 1.5 GB free space .. why I'm getting that message and .. Pls advice to to avoide it ---------- Post updated 03-21-11 at 01:39 AM... (1 Reply)
Discussion started by: Mr.AIX
1 Replies

2. Solaris

Filesystem Full

In our shop we have to run a batch cycle. Every so often while we are running batch we get a filesystem full situation that causes batch to stop or slow down. Anyway, the practiced procedure is to look for large files and zip them. This takes a lot of time. We are in a sun solaris environment. What... (1 Reply)
Discussion started by: Harleyrci
1 Replies

3. AIX

/var filesystem is full

Hi, Is there a way to clear the temp files from /var/tmp? Is root access required to delete the files? Thanks, Narayan (2 Replies)
Discussion started by: narayanv
2 Replies

4. UNIX for Dummies Questions & Answers

filesystem is full

Hello everybody, a very basic question. Inspite of me deleting huge files in a filesystem(AIX 5.3) in oracle folder, the filesystem when i check using df -k still shows 100% full. Does that mean there is a process still pointing to the files which i deleted. how do i work around this. Thanks!... (3 Replies)
Discussion started by: karthikosu
3 Replies

5. Red Hat

/ filesystem getting full

Hi All, How do I increase the root filesystem? It's getting full. / 90% Here's the break down, below 232 dev 5624 tmp *6764 bin 16860 root *19680 sbin *20436 lib64 28329 boot *47992 etc 150012 var *254540 lib 651708 home *2445044 usr (5 Replies)
Discussion started by: itik
5 Replies

6. UNIX for Dummies Questions & Answers

filesystem full

my root filesystem is eventually full "/dev/rdsk/c1d0s0" as a result i cannot boot to the operating system, i booted into the fail safe mode to check the space using df -h command i discover that it is eventually full. Also to my amazement i found that i cannot see the filesystem which mounted on... (1 Reply)
Discussion started by: seyiisq
1 Replies

7. Solaris

The filesystem is still full - Solaris 10!

Good morning, sir! I've a problem with FileSystem, the problem is FileSystem is full First time, I've already read carefully the sticky thread FileSystem full - What to lock for https://www.unix.com/sun-solaris/25840-filesystem-full-what-look.html And then, I will post some information of... (4 Replies)
Discussion started by: trantuananh24hg
4 Replies

8. UNIX for Dummies Questions & Answers

/tmp filesystem full

I am running AIX 3 4. When I do a df I get: Filesystem 512-blocks Free %Used Iused %Iused Mounted on /dev/hd4 32768 10232 69% 1309 16% / /dev/hd2 917504 86360 91% 19744 18% /usr /dev/hd9var 131072 67712 49% 617 ... (11 Replies)
Discussion started by: szodiac
11 Replies

9. UNIX for Dummies Questions & Answers

Filesystem Full

I noticed that whenever something is printed from my workstation, the available disk space in the /dev/dsk/c0t0d0s0 decreases considerably. Hence, after using my workstation for sometime, I encounter an error message: "Filesystem Full" that prevents me from printing any further. Is there a way to... (16 Replies)
Discussion started by: ilak1008
16 Replies
Login or Register to Ask a Question