• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

Command ‘df -i’ Shows ‘Inode=0’ on BTRFS File System

by admin

The Problem

On a BTRFS file system, the df command shows that the total number of inodes is 0. The Used and Free numbers are 0.

# df -i /
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/xvda2     0        0       0       -            /
Note: The above output is taken from a virtual machine.

The Solution

BTRFS does not use inodes in quite the same way as other filesystems, and it has no pre-determined limits, so it has nothing to count. The inode counts for BTRFS will always show zero due to the fact that BTRFS does not use inodes.

Filed Under: CentOS/RHEL 6, CentOS/RHEL 7, Linux

Some more articles you might also be interested in …

  1. How to Manage Virtual Machines from the CentOS/RHEL 8 Web Console-Cockpit
  2. ip Command Examples to Manage Networking in Linux
  3. understanding “yum history” command output
  4. Log watching using tail or less
  5. CentOS / RHEL : How to add swap file
  6. CentOS / RHEL 5 : How to Configure kdump
  7. apt Command Examples in Linux
  8. CentOS / RHEL 7 : How to configure VLAN Tagging using nmcli
  9. How to Disable Ctrl+c or Ctrl+z Using the “trap” Command in Linux
  10. virt-install: Command Not Found

You May Also Like

Primary Sidebar

Recent Posts

  • powertop Command Examples in Linux
  • powertop: command not found
  • powerstat: command not found
  • powerstat Command Examples in Linux

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright