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

The Geek Diary

CONCEPTS | BASICS | HOWTO

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • Linux Services
    • VCS
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
    • Data Guard
  • DevOps
    • Docker
    • Shell Scripting
  • Interview Questions
  • 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 enable the automatic extension for a thin LVM volume
  2. CentOS / RHEL : Resize (extend) non-root EXT3/4 filesystem on LVM device
  3. How to audit all Commands run on OEL 5,6 using auditd
  4. Extend the size of /boot partition on virtualized environment (CentOS/RHEL 6)
  5. How to allow or deny telnet login to specific users only in CentOS/RHEL
  6. CentOS / RHEL 7 : Beginners guide to firewalld
  7. How to split iso or file using ‘split’ command in Linux
  8. CentOS / RHEL : How to Disable / Enable direct root and non-root user ssh login
  9. How to check failed or bad login attempts in Linux
  10. CentOS / RHEL : How to restore/recover a deleted volume group in LVM

You May Also Like

Primary Sidebar

Recent Posts

  • How to Disable IPv6 on Ubuntu 18.04 Bionic Beaver Linux
  • How to Capture More Logs in /var/log/dmesg for CentOS/RHEL
  • Unable to Start RDMA Services on CentOS/RHEL 7
  • How to rename a KVM VM with virsh
  • Archives
  • Contact Us
  • Copyright

© 2021 · The Geek Diary