LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-05-2012, 07:29 AM   #1
Mr. Alex
Senior Member
 
Registered: May 2010
Distribution: No more Linux. Done with it.
Posts: 1,238

Rep: Reputation: Disabled
Doesn't filesystem use inodes that got free?


Hi all!
http://www.linux-mag.com/id/8658/
Quote:
How inodes are created and even if they are created, depends upon the specific file system. Several file systems create all of them when the file system is created resulting in a fixed number of inodes. For example, ext3 is a file system that does this. The result is that the file system has a fixed number of files that can be stored. Yes – it’s actually possible to have capacity on the storage and not be able to store any more data (it doesn’t happen often but it’s theoretically possible). If you need more inodes you have to remake the file system losing all data in the file system.
So when inodes get free because their files are deleted - filesystem doesn't use those inodes?
 
Old 09-05-2012, 07:32 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,913

Rep: Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318
the free inodes will be reused, but the total number of inodes in a filesystem cannot be changed (so part of them used, the others are free).
 
1 members found this post helpful.
Old 09-05-2012, 08:30 AM   #3
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,668
Blog Entries: 4

Rep: Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945
But also note that Logical Volume Manager (LVM) software provides an effective alternative, as do Storage Area Networks (SANs) on a much larger hardware-implemented scale.

Under these systems, the physical volume boundaries are blurred into irrelevance. Files continue to be data-objects which are referenced by name and possibly also by a binary token-value (e.g. an "inode number"), but these no longer map directly to where the data is. When a physical volume fills up, you simply add another one to the pool.
 
1 members found this post helpful.
Old 09-05-2012, 10:03 AM   #4
Mr. Alex
Senior Member
 
Registered: May 2010
Distribution: No more Linux. Done with it.
Posts: 1,238

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by pan64 View Post
the free inodes will be reused, but the total number of inodes in a filesystem cannot be changed (so part of them used, the others are free).
OK, so the article made it pretty unclear. Got it now.
Have anyone here ever run out of inodes? Just curious...
 
Old 09-05-2012, 11:38 AM   #5
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,913

Rep: Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318
yes, it can happen, just create a huge amount of small files ("usually" some app make such logfiles)
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating a filesystem to use free space on an existing filesystem idsouza28 Linux - Newbie 7 06-05-2012 12:29 AM
No space left on device error with plenty of free INodes after cross compiler setup keptil Linux - General 3 01-18-2011 08:05 AM
What's the benefit of less or more Inodes on an ext3 filesystem? dmor Linux - Server 3 09-01-2008 01:02 PM
100% inodes but 99% free space smartes Linux - General 1 04-20-2006 12:42 PM
inodes? no free space on device? elucid Linux - General 10 06-07-2001 03:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:17 AM.

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
Open Source Consulting | Domain Registration