Solved

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

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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Move nodes from one TSM to another. 3 113
Skill Development 15 201
problem creating new luks volume on new VM disk 5 124
Shell Script- gzip 5 85
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 …
Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
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.:
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…

739 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