Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 03-16-2010, 09:35 AM   #1
Registered: Feb 2010
Distribution: Ubuntu
Posts: 87

Rep: Reputation: 15
where is inode table in ext3

Hi all

Where is the inode table located in ext3 file system ? How can I read the entries in it ?

Old 03-16-2010, 10:34 AM   #2
Registered: Jul 2007
Location: Scunthorpe, UK
Distribution: Ubuntu 8.10; Gentoo; Debian Lenny
Posts: 961

Rep: Reputation: 69
Are you quite sure you know what an inode is?

jc@jcmain:~$ dict inode
1 definition found

From The Free On-line Dictionary of Computing (27 SEP 03) [foldoc]:

          A data structure holding information about files in a {Unix}
          {file system}.  There is an inode for each file and a file
          is uniquely identified by the file system on which it
          resides and its inode number on that system.  Each inode
          contains the following information: the device where the inode
          resides, locking information, mode and type of file, the
          number of links to the file, the owner's user and group ids,
          the number of bytes in the file, access and modification
          times, the time the inode itself was last modified and the
          addresses of the file's blocks on disk.  A {Unix} directory is
          an association between file leafnames and inode numbers.  A
          file's inode number can be found using the "-i" switch to ls.
          {Unix manual page}: fs(5).
          See also /usr/include/ufs/inode.h.
If you're sure this is what you want, I would suggest you take a look at the documentation for ext3
Old 03-16-2010, 11:01 AM   #3
Gentoo support team
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,074

Rep: Reputation: 386Reputation: 386Reputation: 386Reputation: 386
The whole point of i-node based fs's is that they don't have such a thing like a file allocation table. Otherwise they would be called FAT, and would not be based on i-nodes.

I suggest you do do some wiki research and check the ext2/3 documentation before continuing your research. You are completely lost.
Old 03-16-2010, 11:02 AM   #4
LQ Newbie
Registered: Mar 2010
Location: London
Distribution: Ubuntu
Posts: 16

Rep: Reputation: 1
Originally Posted by _Linux_Learner View Post
Where is the inode table located in ext3 file system ? How can I read the entries in it ?
Quite an odd question, but to find where you have the inode tables, you can run:
 sudo dumpe2fs /dev/<device> | fgrep 'Inode table'
I’m not sure what it is you want to read, but you can do a hexdump of the raw data at the block where the inodes resides:
sudo dd if=/dev/<device> ibs=4096 skip=<inode block> count=1 | hexdump
You’ll have to replace the <device> in the above examples and the <inode block> with the block offset to the inode table you want to look at that dumpe2fs returned.

Otherwise, "ls" is a more user friendly command for looking at inodes ;-)

-- Dan
Old 03-16-2010, 03:23 PM   #5
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: Slackware®
Posts: 12,867
Blog Entries: 27

Rep: Reputation: 2163Reputation: 2163Reputation: 2163Reputation: 2163Reputation: 2163Reputation: 2163Reputation: 2163Reputation: 2163Reputation: 2163Reputation: 2163Reputation: 2163

Look at 'Linux File System' section of 'Slackware-Links', particularly 'Part IV Understanding filesystem Inodes'.

Just a few more links to aid you to gaining some understanding;

Linux Documentation Project
Rute Tutorial & Exposition
Linux Command Guide
Utimate Linux Newbie Guide
Getting Started with Linux
Advanced Bash-Scripting Guide
Linux Home Networking

The above links and others can be found at 'Slackware-Links'. More than just Slackware® links!


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
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
HELP!!! to recover lost inode table moden Linux - General 3 11-26-2002 05:53 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:24 PM.

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