LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-03-2012, 12:43 PM   #1
amolmistry
Member
 
Registered: Nov 2008
Posts: 45

Rep: Reputation: 0
Increase inode on /


Hello Guys,

Can anybody tell me, how do I increase inode on partition /

It is ext2 partition as follows.

/dev/sda5 655360 655360 0 100% /
tmpfs 1006599 1 1006598 1% /dev/shm
/dev/sda1 26208 46 26162 1% /boot
/dev/sda8 23986176 2464271 21521905 11% /home
/dev/sda7 65536 447 65089 1% /tmp
/dev/sda2 1310720 172084 1138636 14% /usr
/dev/sda3 1310720 36745 1273975 3% /var
/dev/sdb1 27459584 2435877 25023707 9% /home2
 
Old 08-03-2012, 09:45 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,141

Rep: Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123
I don't believe you can - that is set at mkfs time.
 
Old 08-03-2012, 10:29 PM   #3
amolmistry
Member
 
Registered: Nov 2008
Posts: 45

Original Poster
Rep: Reputation: 0
Hello.

Thanks syg00, is it possible if I unmount / in single user mode and increase inode?

If yes, how?

Thanks.
 
Old 08-04-2012, 12:20 AM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,141

Rep: Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123
You can't unmount the root.
If you could enlarge the filesystem (after enlarging the partition first of course), you will get more inodes. Best would be to back it up and reformat - maybe try ext4 - then restore.

That's a lot of used inodes - do you have masses of small files ?. Can you simply clean up some ?.
 
Old 08-04-2012, 02:12 AM   #5
amolmistry
Member
 
Registered: Nov 2008
Posts: 45

Original Poster
Rep: Reputation: 0
Thumbs up

Thanks syg00, I also thought the same with ext4 re-formation of hdd, but was hopping for any alternate option without Re formatting hdd,

But thanks for your valuable help so far


Quote:
Originally Posted by syg00 View Post
You can't unmount the root.
If you could enlarge the filesystem (after enlarging the partition first of course), you will get more inodes. Best would be to back it up and reformat - maybe try ext4 - then restore.

That's a lot of used inodes - do you have masses of small files ?. Can you simply clean up some ?.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
questions abt inode.inode gurus plz have a look aceone Red Hat 7 05-22-2011 12:11 PM
any way to increase CD-ROM buffer, increase spindown delay, XMMS buffer r00tb33r Linux - Hardware 5 06-12-2009 12:10 AM
Increase max inode count xPhoenix Slackware 2 10-05-2006 02:14 AM
Can I increase size of inode in ext2fs ? vinya Linux - Newbie 0 04-19-2004 09:35 PM
USB time out value (to increase or not increase) lynxgogo Linux - Hardware 0 07-24-2003 10:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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