LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 12-28-2011, 07:58 AM   #1
fabio.vannini
LQ Newbie
 
Registered: Dec 2011
Posts: 2

Rep: Reputation: Disabled
Full inode table ext3


Hello!

i have this situation in a EXT3 file system:

Quote:
[root@AsDAsD log]# df -h
Filesystem Dimens. Usati Disp. Uso% Montato su
/dev/sda3 9.3G 7.5G 1.4G 85% /
/dev/sda1 130M 23M 101M 19% /boot
none 504M 0 504M 0% /dev/sh
Quote:
[root@AsDAsD log]# df -hi
Filesystem Inode IUsati ILib. IUso% Montato su
/dev/sda3 1.2M 1.2M 0 100% /
/dev/sda1 34K 57 34K 1% /boot
none 126K 1 126K 1% /dev/shm
Quote:
[root@AsDAsD log]# mkdir /tmp/test
mkdir: impossibile creare la directory `/tmp/test': No space left on device
how can i fix this?

in this situation is safe to reboot pc?
 
Old 12-28-2011, 08:10 AM   #2
blue_print
Member
 
Registered: May 2010
Location: In world
Distribution: RHEL, CentOS, Ubuntu
Posts: 275
Blog Entries: 3

Rep: Reputation: 50
Inode value can be increased only when you're formatting the file system.

Yes, you can reboot the PC. I do not think it will harm anything. But, before, you can identify the no of files in each directories using the find command.

Quote:
cd / && for i in *; do echo -n "$i: "; find $i -type f | wc -l;done
You may want to delete the unwanted files to free-up the inodes usage.

Last edited by blue_print; 12-28-2011 at 08:11 AM.
 
Old 12-28-2011, 08:47 AM   #3
fabio.vannini
LQ Newbie
 
Registered: Dec 2011
Posts: 2

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by blue_print View Post
You may want to delete the unwanted files to free-up the inodes usage.
Yes: I expected that the problem was linked to the excessive number of files on disk. I used a command similar to yours, but yours is running faster and with some execution I did figure out which files were causing the problem.

Specifically, the problem was created by qmail folders archived manually (yanked, yanked_1, etc. .. etc. ... yanked_2)

I compressed the various folders in tar gzip to maintain this data, and going to remove old folders.

Two folders / 20 MB ~ / 1.2M of files Oo !!

Thank you very much.
 
Old 12-28-2011, 09:10 AM   #4
blue_print
Member
 
Registered: May 2010
Location: In world
Distribution: RHEL, CentOS, Ubuntu
Posts: 275
Blog Entries: 3

Rep: Reputation: 50
You're welcome
 
  


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
where is inode table in ext3 _Linux_Learner Linux - Newbie 4 03-16-2010 03:23 PM
Check Inode Table rahmad Linux - Newbie 2 01-01-2009 12:08 PM
missing inode table mottl3y Linux - Hardware 8 06-14-2008 09:01 AM
Western Digital My Book Ext3 format reports "Ext3-fs: Journal inode is deleted" ChronusDark Linux - Desktop 3 10-31-2006 03:56 PM
viewing the Inode table 0perat0r Linux - Newbie 1 07-20-2004 02:20 PM

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

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