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

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • VCS
  • Interview Questions
  • Database
    • 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. “git force-clone” Command Examples
  2. CentOS / RHEL : iptables troubleshooting guide
  3. sam Command Examples in Linux
  4. slapt-get: command not found
  5. How to Stop Audit Log Entries Written to System Logs in CentOS/RHEL 6
  6. CentOS / RHEL 7 : Enable NTP to start at boot after fresh install (disable chrony)
  7. How to mount and umount a file system in Linux
  8. How to install and configure MariaDB in CentOS / RHEL 7
  9. “git-grep” Command Examples
  10. dirb Command Examples in Linux

You May Also Like

Primary Sidebar

Recent Posts

  • “glab issue” Command Examples
  • “glab auth” Command Examples
  • “glab alias” Command Examples
  • gixy Command Examples

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright