Solved

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

Posted on 2011-09-12
4
627 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 79

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 79

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 79

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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
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…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

623 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