LinuxQuestions.org
Visit Jeremy's Blog.
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 06-21-2011, 03:02 AM   #1
misakimurali
LQ Newbie
 
Registered: Jun 2011
Location: Chennai, India
Distribution: RHEL
Posts: 4

Rep: Reputation: Disabled
Insufficient Inodes on a FS


To fix the insufficient inodes issue on a FS shouldn't be involved File System extend or House Keeping of existing File system. Can someone help me to find the actual fix in terms of semaphore tunning stuffs please?
 
Old 06-21-2011, 12:59 PM   #2
Skaperen
Senior Member
 
Registered: May 2009
Location: WV, USA
Distribution: Slackware, Ubuntu, Amazon Linux
Posts: 1,830
Blog Entries: 21

Rep: Reputation: 119Reputation: 119
If your filesystem is out of inodes, you didn't create enough when initially formatting. I don't know of a way to add more to an existing system, so I've always had to backup files and reformat to deal with it. The reiserfs filesystem is one that I know allocates inodes dynamically as needed, so it could be used if you have no idea how many you really need. Other filesystems might do that, too.
 
1 members found this post helpful.
Old 06-21-2011, 02:22 PM   #3
misakimurali
LQ Newbie
 
Registered: Jun 2011
Location: Chennai, India
Distribution: RHEL
Posts: 4

Original Poster
Rep: Reputation: Disabled
can someone give the correct fix please?
 
Old 06-21-2011, 02:33 PM   #4
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295
Hello and Welcome to LinuxQuestions,

The best option, if not using JFS or XFS, has been pointed out already, make a backup of your documents and recreate the file system. Since you fail to mention what file system you are using (ext3, ext4, reiser, ...) there's no way anyone can give a more specific answer. The more information you provide, the more adequate an answer will be. You can read some more about inodes here on Wikipedia.

Looking forward to your participation in the forums. Have fun with Linux.

Kind regards,

Eric
 
Old 06-21-2011, 02:39 PM   #5
misakimurali
LQ Newbie
 
Registered: Jun 2011
Location: Chennai, India
Distribution: RHEL
Posts: 4

Original Poster
Rep: Reputation: Disabled
Thanks for your reply!

I am using ext3 FS. Is there any other way to tune the Inode value other than re-format or extend FS?
 
Old 06-21-2011, 02:42 PM   #6
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295
Hi,

Not that I know of when using ext3. I'm afraid the only way to go is the one pointed out, backing up your data and re-create the file system. The number of inodes can be predefined by setting a different inode size when creating the file system but once it has been created you're 'stuck' with it I'm afraid.

Kind regards,

Eric

Last edited by EricTRA; 06-21-2011 at 02:43 PM.
 
Old 06-21-2011, 02:47 PM   #7
misakimurali
LQ Newbie
 
Registered: Jun 2011
Location: Chennai, India
Distribution: RHEL
Posts: 4

Original Poster
Rep: Reputation: Disabled
Hi, Thanks again for your quick response!

Yes, As i mentioned, there is a way to tune the inode stuffs through semaphore's... I am not sure about that. Anyway thanks for your suggestion
 
Old 06-21-2011, 02:56 PM   #8
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Quote:
Originally Posted by misakimurali View Post
Hi, Thanks again for your quick response!

Yes, As i mentioned, there is a way to tune the inode stuffs through semaphore's... I am not sure about that. Anyway thanks for your suggestion
I don't know where you found that statement, but I don't believe it's
correct. One option to deal w/ insufficient inodes (I assume you're
holding vast numbers of little files, I can't think of another way to
run out of inodes) would be to tar files you won't be using frequently,
maybe with a catalog file telling you which tarball has which group
of little files contained. You wouldn't need to compress the tar-ball
as your filesystem size obviously isn't the issue.



Cheers,
Tink
 
Old 06-21-2011, 03:03 PM   #9
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295
Hi,

I started to doubt myself when OP mentioned semaphores but haven't found anything usefull to up the number of inodes using them. So, misakimurali, would you mind pointing us to where you got that information?

Kind regards,

Eric
 
  


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
Inodes? ddzc Linux - Software 1 05-24-2008 10:18 PM
Insufficient Rights DesignerX Mandriva 4 12-04-2007 01:31 AM
inodes wolferd1 Linux - Newbie 1 03-12-2005 11:28 PM
Out of Inodes tmiles Linux - Newbie 4 02-06-2005 09:35 PM
Inodes used up wolferd1 Linux - General 2 02-04-2005 05:22 PM


All times are GMT -5. The time now is 10:33 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