linux File System Inode Count

Discussion in 'Linux' started by nikolaymartin, Jun 11, 2019.

Tags:
  1. nikolaymartin

    nikolaymartin MDL Novice

    May 20, 2019
    5
    2
    0
    I want to get the count of the inode for every file system mounted to the linux? also free and used inode count information will be beneficial. Thanks.
     
  2. presto1234

    presto1234 MDL Novice

    Nov 16, 2015
    33
    45
    0
  3. edizgeorgi

    edizgeorgi MDL Novice

    May 31, 2019
    4
    2
    0
    Hello
    Linux df command provides what you are looking for. Df will print information like total,used,free and used percentage of the inodes. You can use-i option with the df command.
    Referance: poftut.com/use-linux-df-command-with-examples/
     
  4. presto1234

    presto1234 MDL Novice

    Nov 16, 2015
    33
    45
    0
    Hello edizgeorgi,

    It is good to see you are helping, but one thing in your wording.
    DF 'will' not print inodes, by default without arguments it will print disk space, the -i option needs to be used to make it print inodes.

    Sorry if it sounds like I am trying to lower you, but I feel like people might misread.

    Have a nice day.