Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 09-03-2011, 12:57 PM   #1
LQ Newbie
Registered: Jul 2011
Posts: 1

Rep: Reputation: Disabled
Inode number and disk space

Hi All,

What is the range of Inode number that can be used by an file system? If the Inode numbers are used on a filesystem would we get "No space Error" ?Please advise.

Old 09-03-2011, 01:12 PM   #2
LQ Guru
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
An inode number is an integer.

The #/inodes in a filesystem is finite. If you exceed the #/inodes allowed, you cannot create any more files. You must first increase the size of the inode table.

The #/inodes in a filesystem is determined *only* by the capacity of the inode table, *not* by the numeric range of the inode number. Inodes are *not* susceptible to "integer overflow" (like file size could be).

Here's more info:
Old 09-03-2011, 01:54 PM   #3
Senior Member
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora
Posts: 3,935
Blog Entries: 5

Rep: Reputation: Disabled
And to specifically answer:

Originally Posted by santhoshk
What is the range of Inode number that can be used by an file system?
That is determined at filesystem creation time. If not explicitly set, defaults are used. To see the inodes available for an existing filesystem, you can use:

$ df -i

Originally Posted by santhoshk
If the Inode numbers are used on a filesystem would we get "No space Error" ?
Yes, that is possible.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
sfill - secure free disk and inode space wiper john99 Linux - Software 3 02-11-2011 11:29 AM
Find the inode number PankajDS Linux - Kernel 3 03-15-2008 11:26 AM
Getting file name from inode number kalamaraki Programming 5 02-24-2007 09:17 PM
inode number in kernel space manali Programming 7 02-27-2006 10:59 AM
What can change an inode number? nc101 Linux - General 2 01-03-2005 10:29 AM

All times are GMT -5. The time now is 11:26 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration