Solved

Inode Usage is full , but I have plenty of space on my root (Solaris)

Posted on 2011-09-12
4
572 Views
Last Modified: 2012-06-27
Hi,

I have enough space on my root file system but when i check the inodes with
df -F ufs -o i

Open in new window

i have 0 free inodes, so the applications on the server don't work correctly. what can I do
0
Comment
Question by:cismoney
  • 3
4 Comments
 
LVL 76

Accepted Solution

by:
arnold earned 500 total points
ID: 36523442
inode is allocated per block size.

You posed what the command but not what it's output is.

In your existing case, the only option is to copy to another partition the files or archive them to free up inodes.

so if you have 100GB and you use 4k blocks, but create thousands of 200 byte files, you will run out of inodes while having a huge.
when you created the filesystem, what options did you specify?

newfs -b <blocksize> ?
If you created a filesystem on a partition for large files, that would often mean that there are fewer inodes since each inode will represent 32k, 64k, etc. requiring fewer inodes.
http://www.solaris-11.info/solaris-ufs-plenty-of-free-space-but-cant-create-files-due-to-fragmentation.html

0
 
LVL 76

Assisted Solution

by:arnold
arnold earned 500 total points
ID: 36523473
Recreating the filesystem if you can get the data off, but it sounds that you may have a single partition setup / all space on device.
/var/log
/var/adm
logadm might be a way to curb how many old files are kept.
If you have apache on the system, look at its log files as something to trim.

http://www.unix.com/solaris/25840-filesystem-full-what-look.html
0
 

Author Comment

by:cismoney
ID: 36527048
do you think a reboot can resolve this issue??
0
 
LVL 76

Expert Comment

by:arnold
ID: 36527225
No, inodes is how the system locates the files.
i.e. file1 has the start at inode 3436346 once the system goes to the block where that inode is stored it either ets the files or a chunk with a reference to the next piece etc..

the only way to resolve this is to remove the files if possible or archive the files into a tar on another partition freeing up inodes.

can you post the df -i as well as df -k
fstyp /dev/dsk/

Is it a large drive 2TB?
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now