Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
Search Forums:



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

Reply    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 02-04-2012
Registered User
 

Join Date: Nov 2011
Posts: 13
Thanks: 3
Thanked 0 Times in 0 Posts
Maximum inodes

Hi,
Is there a restriction in the number of inodes a particular directory can have in Solaris.
If so how can we determine that.

Regards
Sponsored Links
    #2  
Old 02-04-2012
Registered User
 

Join Date: Jun 2008
Location: Singapore
Posts: 186
Thanks: 3
Thanked 40 Times in 39 Posts
It is the limitation of the file system. Here is a sample output

Code:
$ df -F ufs -o i /var
Filesystem             iused   ifree  %iused  Mounted on
/dev/dsk/c3t0d0s5      62795  665205     9%   /var

The Following User Says Thank You to chihung For This Useful Post:
@bhi (02-05-2012)
Sponsored Links
    #3  
Old 02-05-2012
Registered User
 

Join Date: Nov 2011
Posts: 13
Thanks: 3
Thanked 0 Times in 0 Posts
Hi,

If the inodes are 100% full what is the way to free some.
Is removing the older files only option or moving multiple files in a folder at the same location will also help in freeing some inodes.

Regards
    #4  
Old 02-05-2012
Registered User
 

Join Date: Jun 2008
Location: Singapore
Posts: 186
Thanks: 3
Thanked 40 Times in 39 Posts
If you are hitting 100% in i-node utilisation, you will not be able to create any file. The worst scenario will be your / (root) file system hit 100% and system may crash. That's why system administrator will normally partition /var /usr .. separately to avoid such scenario from happening.

If you monitor your system messages, you will see 'out of inodes'

The cause and action described in this link will definitely help you to understand the issue.

Chapter 2 Alphabetical Message Listing (Solaris Common Messages and Troubleshooting Guide)
The Following User Says Thank You to chihung For This Useful Post:
@bhi (02-05-2012)
Sponsored Links
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Help with Inodes please Group_Inode UNIX for Advanced & Expert Users 7 10-24-2011 11:54 AM
inodes maryprin Filesystems, Disks and Memory 1 08-28-2009 03:14 PM
inodes gfhgfnhhn UNIX for Dummies Questions & Answers 3 10-12-2006 02:12 AM
inodes livemyway Solaris 1 01-24-2006 04:45 AM
inodes??? soliberus Solaris 1 07-14-2005 09:46 AM



All times are GMT -4. The time now is 04:25 AM.