Re: Cannot find inode

Felipe Monteiro de Carvalho <[email protected]>
Newsgroups gmane.comp.file-systems.jfs.general
Message-ID <CACyNnZOgEbbP5oj0y38wx=ox68F7PaTf=xrkfX6nwSzcz2G+tw@mail.gmail.com>
Hello,

First thanks for the answer =)

On Mon, Feb 23, 2015 at 12:44 PM, Dave Kleikamp
<[email protected]> wrote:
> Are you familiar with the JFS layout document?
> http://jfs.sourceforge.net/project/pub/jfslayout.pdf

Yes, I read the entire document multiple times. I even found some
typos (in Figure 2 length and addr fields are switched in xad entries
of aggrinode self)

> The fileset inode map consists of an array of inode aggregate group
> structures or IAGs. These contain maps to the inode extents that
> actually hold the inodes themselves. Each IAG addresses 4096 inodes
> (INOSPERIAG), so inodes 0x106 and 0x107 need only the first IAG. Within
> the IAG is an array of the pxd's pointing to the extents, inoext[], so
> inodes 0x106 and 0x107 would be in the extent pointed to by inoext[8] in
> the first IAG.

Thanks, but looking into the iag:

http://magnifier.sourceforge.net/tmp/jfs_inode_alloc_map_start.png

Or more precisely into the iag->inoext:

http://magnifier.sourceforge.net/tmp/jfs_inode_alloc_map_inoext.png

The inoext has [0], [1] and [2] filled but [8] is filled with zeroes
.. any ideas?

thanks,
-- 
Felipe Monteiro de Carvalho

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.