Solved

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

Posted on 2011-09-12
4
588 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 77

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 77

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 77

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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
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 navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

785 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