LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 09-03-2011, 01:57 PM   #1
santhoshk
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.

Thanks
 
Old 09-03-2011, 02:12 PM   #2
paulsm4
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:

http://en.wikipedia.org/wiki/Inode
 
Old 09-03-2011, 02:54 PM   #3
anomie
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:

Quote:
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:

Code:
$ df -i
---

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


Reply


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 12:29 PM
Find the inode number PankajDS Linux - Kernel 3 03-15-2008 12:26 PM
Getting file name from inode number kalamaraki Programming 5 02-24-2007 10:17 PM
inode number in kernel space manali Programming 7 02-27-2006 11:59 AM
What can change an inode number? nc101 Linux - General 2 01-03-2005 11:29 AM


All times are GMT -5. The time now is 08:42 PM.

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