Solved

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

Posted on 2011-09-12
4
606 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 78

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 78

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 78

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

Independent Software Vendors: 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

My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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…

734 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