Skip to content

My Humble Abode

A website about linux, kvm,gluster, ceph, kubernetes and programming

  • I am..
    • About Me..
    • Ref -> .
    • Tech Life Bio [On Request]
  • Engineering.
    • Data Structures
      • K-Dimensional Tree(C)
      • Leftist Tree (C)
      • YACC
      • LEX.
      • Red Black Tree(C)
  • Hum’s Space…
    • Docs..[Private]
    • Pics…
    • Favorites..
      • My Kids
      • Videos..
  • Forums
    • C-programming..
    • Go Programming
    • Git (distributed revision control and source code management system) Tips /Tricks..
    • Linux Command Tips and Tricks.
    • Linux Questions & Answers..
      • Information security
      • Logical Volume Manager (LVM) ..
      • Kernel/Performance
      • General/misc …
      • Storage ..
      • Filesystem ..
      • Networking..
      • Virtualization…
      • Cloud computing..
    • Python Programming
  • മലയാളം ബ്ലോഗ്‌
  • Tech Videos
    • Gluster Container Videos
  • Connect Me

Search Your Topic

Categories

My Humble Abode
  • I am..
    • About Me..
    • Ref -> .
    • Tech Life Bio [On Request]
  • Engineering.
    • Data Structures
      • K-Dimensional Tree(C)
      • Leftist Tree (C)
      • YACC
      • LEX.
      • Red Black Tree(C)
  • Hum’s Space…
    • Docs..[Private]
    • Pics…
    • Favorites..
      • My Kids
      • Videos..
  • Forums
    • C-programming..
    • Go Programming
    • Git (distributed revision control and source code management system) Tips /Tricks..
    • Linux Command Tips and Tricks.
    • Linux Questions & Answers..
      • Information security
      • Logical Volume Manager (LVM) ..
      • Kernel/Performance
      • General/misc …
      • Storage ..
      • Filesystem ..
      • Networking..
      • Virtualization…
      • Cloud computing..
    • Python Programming
  • മലയാളം ബ്ലോഗ്‌
  • Tech Videos
    • Gluster Container Videos
  • Connect Me

[File System] What is an inode

Home › Forums › Linux Questions & Answers.. › Filesystem .. › [File System] What is an inode

Tagged: inode filesysem metadata stat

  • This topic has 2 replies, 1 voice, and was last updated 11 years, 9 months ago by Humble.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • December 19, 2013 at 6:30 pm #1949 Reply
    Humble
    Keymaster

    Can you explain “inode” in linux ?

    February 19, 2014 at 8:14 pm #2446 Reply
    Humble
    Keymaster

    Well.. I can give some idea about inodes..
    Obviously this comes under filsystems.. In simple terms filesystems are where the files and directories are structured.. Isnt it? .. When we think about filesystems there are mainly 2 parts..

    1) The data and 2) The metadata..

    What I mean by metadata ? metadata is the data about the data..

    Lets take a “file” as an example.. The information about this file can be treated as metadata.. but whats that ?

    *) File modification data
    *) Owner of the file
    *) File permission ..etc

    I can show an example of a file called “foo.bar” from my filesystem and some information about it.

    [hchiramm@humbles-lap ~]$ stat foo.bar
      File: ‘foo.bar’
      Size: 0         	Blocks: 0          IO Block: 4096   regular empty file
    Device: 809h/2057d	Inode: 9443948     Links: 1
    Access: (0664/-rw-rw-r--)  Uid: ( 1000/hchiramm)   Gid: ( 1000/hchiramm)
    Context: unconfined_u:object_r:user_home_t:s0
    Access: 2013-07-14 17:35:05.996075662 +0530
    Modify: 2013-07-14 17:35:00.799979118 +0530
    Change: 2013-07-14 17:35:00.799979118 +0530
     Birth: -
    
    
    
    
    
    
    Inodes  store this metadata information and typically they also store information about where the data is located on the storage media. Inodes are represented as an integer called inode number. In above example, the inode number of the file is "9443948 ".. Each file and directory in a filesystem is associated with an inode.. 
    
    
    
    Also refer #http://en.wikipedia.org/wiki/Inode
    February 20, 2014 at 6:31 pm #2453 Reply
    Humble
    Keymaster
    [root@humbles-lap]# ls -li foo.bar
    9443948 -rw-rw-r--. 1 hchiramm hchiramm 0 Jul 14  2013 foo.bar
    [root@humbles-lap ]# 
    
    
    You can use ls command as shown above to list INODE of a file..
    
  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: [File System] What is an inode
Your information:




Recent Comments

  • Wenyuan on Connect Me
  • Wenyuan on Connect Me
  • Humble on Ovirt : How to shutdown/stop or start virtual machines (VMs) in ovirt DC automatically using python/ovirt- sdk ? [Part 1]
  • Humble on How to remove/delete virbr0 ?
  • Humble on How to remove/delete virbr0 ?
© 2025 GeneratePress

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.