inode subcommand
The inode subcommand displays inode table entries.
Format
inode [slot | effectiveaddress]
Parameters
Item | Description |
---|---|
slot | Specifies the slot number of an inode table entry. This parameter must be a decimal value. |
effectiveaddress | Specifies the effective address of an inode table entry. Use symbols, hexadecimal values, or hexadecimal expressions to specify the address. |
If no parameter is entered, a summary for used inode table entries is displayed. The inode is considered used when count is greater than 0. Unused inodes are displayed with the fino subcommand. Detailed information is displayed for individual inode table entries by specifying the entry. The information is interpreted for special inodes. Special inodes include: mountnode and inodes.
Other
ino
Examples
The following is an example of how to use the ino alias for the inode subcommand:
(0)> ino //print inode table
DEV NUMBER CNT GNODE IPMNT TYPE FLAGS
1 0A2A4968 00330003 10721 1 0A2A4978 09F79510 DIR
2 0A2A9790 00330003 10730 1 0A2A97A0 09F79510 REG
3 0A321E90 00330006 2948 1 0A321EA0 09F7A990 DIR
4 0A32ECD8 00330006 2965 1 0A32ECE8 09F7A990 DIR
5 0A38EBC8 00330006 3173 1 0A38EBD8 09F7A990 DIR
6 0A3CC280 00330006 3186 1 0A3CC290 09F7A990 REG
7 09D01570 000A0005 14417 1 09D01580 09CC1990 REG
8 09D7CE68 000A0005 47211 1 09D7CE78 09CC1990 REG ACC
9 09D1A530 000A0005 6543 1 09D1A540 09CC1990 REG
10 09D19C38 000A0005 6542 1 09D19C48 09CC1990 REG
11 09CFFD18 000A0005 71811 1 09CFFD28 09CC1990 REG
12 09D00238 000A0005 63718 1 09D00248 09CC1990 REG
13 09D70918 000A0005 6746 1 09D70928 09CC1990 REG
14 09D01800 000A0005 15184 1 09D01810 09CC1990 REG
15 09F9B450 00330003 4098 1 09F9B460 09F79510 DIR
16 09F996D8 00330003 4097 1 09F996E8 09F79510 DIR
17 0A5C6548 00330006 4110 1 0A5C6558 09F7A990 DIR
18 09FB30D8 00330005 4104 1 09FB30E8 09F79F50 DIR CHG UPD FSYNC DIRTY
19 09FAB868 00330003 4117 1 09FAB878 09F79510 REG
20 0A492AB8 00330003 4123 1 0A492AC8 09F79510 REG
(0)> more (^C to quit) ? //Interrupted
(0)> ino 09F79510 //print mount table inode (IPMNT)
DEV NUMBER CNT GNODE IPMNT TYPE FLAGS
09F79510 00330003 0 1 09F79520 09F79510 NON CMNEW
forw 09F78C18 back 09F7A5B8 next 09F79510 prev 09F79510
gnode@ 09F79520 number 00000000 dev 00330003 ipmnt 09F79510
flag 00000000 locks 00000000 bigexp 00000000 compress 00000000
cflag 00000002 count 00000001 event FFFFFFFF movedfrag 00000000
openevent FFFFFFFF id 000052AB hip 09C9C330 nodelock 00000000
nodelock@ 09F79590 dquot[USR]00000000 dquot[GRP]00000000 dinode@ 09F7959C
cluster 00000000 size 0000000000000000
GNODE............ 09F79520
gn_type....... 00000000 gn_flags...... 00000000 gn_seg........ 00000000
gn_mwrcnt..... 00000000 gn_mrdcnt..... 00000000 gn_rdcnt...... 00000000
gn_wrcnt...... 00000000 gn_excnt...... 00000000 gn_rshcnt..... 00000000
gn_vnode...... 09F794E0 gn_rdev....... 00000000 gn_ops........ jfs_vops
gn_chan....... 00000000 gn_reclk_lock. 00000000 gn_reclk_lock@ 09F79554
gn_reclk_event FFFFFFFF gn_filocks.... 00000000 gn_data....... 09F79510
gn_type....... NON
di_gen 32B69977 di_mode 00000000 di_nlink 00000000
di_acct 00000000 di_uid 00000000 di_gid 00000000
di_nblocks 00000000 di_acl 00000000
di_mtime 00000000 di_atime 00000000 di_ctime 00000000
di_size_hi 00000000 di_size_lo 00000000
VNODE........... 09F794E0
v_flag.... 00000000 v_count... 00000000 v_vfsgen.. 00000000
v_lock.... 00000000 v_lock@... 09F794EC v_vfsp.... 00000000
v_mvfsp... 00000000 v_gnode... 09F79520 v_next.... 00000000
v_vfsnext. 00000000 v_vfsprev. 00000000 v_pfsvnode 00000000
v_audit... 00000000
di_iplog 09F77F48 di_ipinode 09F798E8 di_ipind 09F797A0
di_ipinomap 09F79A30 di_ipdmap 09F79B78 di_ipsuper 09F79658
di_ipinodex 09F79CC0 di_jmpmnt 0B8E0B00
di_agsize 00004000 di_iagsize 00000800 di_logsidx 00000547
di_fperpage 00000008 di_fsbigexp 00000000 di_fscompress 00000001
(0)> ino 09F77F48 //print log inode (di_iplog)
DEV NUMBER CNT GNODE IPMNT TYPE FLAGS
09F77F48 00330001 0 5 09F77F58 09F77F48 NON CMNEW
forw 09C9C310 back 09F785B0 next 09F77F48 prev 09F77F48
gnode@ 09F77F58 number 00000000 dev 00330001 ipmnt 09F77F48
flag 00000000 locks 00000000 bigexp 00000000 compress 00000000
cflag 00000002 count 00000005 event FFFFFFFF movedfrag 00000000
openevent FFFFFFFF id 0000529A hip 09C9C310 nodelock 00000000
nodelock@ 09F77FC8 dquot[USR]00000000 dquot[GRP]00000000 dinode@ 09F77FD4
cluster 00000000 size 0000000000000000
GNODE............ 09F77F58
gn_type....... 00000000 gn_flags...... 00000000 gn_seg........ 00007547
gn_mwrcnt..... 00000000 gn_mrdcnt..... 00000000 gn_rdcnt...... 00000000
gn_wrcnt...... 00000000 gn_excnt...... 00000000 gn_rshcnt..... 00000000
gn_vnode...... 09F77F18 gn_rdev....... 00000000 gn_ops........ jfs_vops
gn_chan....... 00000000 gn_reclk_lock. 00000000 gn_reclk_lock@ 09F77F8C
gn_reclk_event FFFFFFFF gn_filocks.... 00000000 gn_data....... 09F77F48
gn_type....... NON
di_gen 32B69976 di_mode 00000000 di_nlink 00000000
di_acct 00000000 di_uid 00000000 di_gid 00000000
di_nblocks 00000000 di_acl 00000000
di_mtime 00000000 di_atime 00000000 di_ctime 00000000
di_size_hi 00000000 di_size_lo 00000000
VNODE........... 09F77F18
v_flag.... 00000000 v_count... 00000000 v_vfsgen.. 00000000
v_lock.... 00000000 v_lock@... 09F77F24 v_vfsp.... 00000000
v_mvfsp... 00000000 v_gnode... 09F77F58 v_next.... 00000000
v_vfsnext. 00000000 v_vfsprev. 00000000 v_pfsvnode 00000000
v_audit... 00000000
di_logptr 0000015A di_logsize 00000C00 di_logend 00000FF8
di_logsync 0005A994 di_nextsync 0013BBFC di_logxor 6C868513
di_llogeor 00000FE0 di_llogxor 6CE29103 di_logx 0BB13200
di_logdgp 0B7E5BC0 di_loglock 4004B9EF di_loglock@ 09F7804C
logxlock 00000000 logxlock@ 0BB13200 logflag 00000001
logppong 00000195 logcq.head B69CAB7C logcq.tail 0BB13228
logcsn 00001534 logcrtc 0000000C loglcrt B69CA97C
logeopm 00000001 logeopmc 00000002
logeopmq[0]@ 0BB13228 logeopmq[1]@ 0BB13268