dumpe2fs command in Linux with examples Last Updated : 15 May, 2019 Comments Improve Suggest changes 2 Likes Like Report dumpe2fs command is used to print the super block and blocks group information for the filesystem present on device. Can be used with ext2/ext3/ext4 filesystem for information. The printed information may be old or inconsistent when it is used with a mounted filesystem. Don't forget to unmount your partition before using this command. umount device Syntax: dumpe2fs [ -bfhixV ] [ -o superblock=superblock ] [ -o blocksize=block-size ] device Options: b : Used to get the blocks which are reserved as bad in the filesystem. o superblock=superblock : It uses the superblock during the examination of filesystem. This option is not usually needed except by a filesystem wizard who is examining the remains of a very badly corrupted filesystem. o blocksize=blocksize : It uses the blocksize during the examination of filesystem. This option is not usually needed except by a filesystem wizard who is examining the remains of a very badly corrupted filesystem. f : Used to force dumpe2fs to display a filesystem even though it may have some filesystem feature flags which dumpe2fs may not understand. h : It will only display the superblock information and not any of the block group descriptor detail information. i : Used to show the filesystem data from an image file created by e2image, using device as the pathname to the image file. x : Display the detailed group information block numbers in hexadecimal format. V : Display the version number of dumpe2fs and exit. Superblock: It is a record of the characteristics of a filesystem. It includes information about size, block size, empty and the filled blocks. Linux also maintains a copy of its superblock< in memory. If you are unable to mount your device, this can be due to a Corrupted superblock. Examples: Displaying superblock information: sudo dumpe2fs -h /dev/sda3 Displaying Information of block groups: sudo dumpe2fs /dev/sda3 This displays information about block groups. Notice Primary superblock Observing more about superblocks: sudo dumpe2fs /dev/sda4 | grep -i superblock Displays all available superblocks with discriptors. Displaying the version of dumpe2fs: sudo dumpe2fs -V Create Quiz Comment V VivekAgrawal3 Follow 2 Improve V VivekAgrawal3 Follow 2 Improve Article Tags : Linux-Unix Explore Linux/Unix Tutorial 5 min read Getting Started with LinuxWhat is Linux Operating System 8 min read LINUX Full Form - Lovable Intellect Not Using XP 2 min read Difference between Linux and Windows 7 min read What are Linux Distributions ? 8 min read Difference between Unix and Linux 5 min read Installation with LinuxHow to Install Arch Linux in VirtualBox? 7 min read Fedora Linux Operating System 12 min read How to install Ubuntu on VirtualBox? 6 min read How to Install Linux Mint? 3 min read How to Install Kali Linux on Windows? 2 min read How to Install Linux on Windows PowerShell Subsystem? 2 min read How to Find openSUSE Linux Version? 2 min read How to Install CentOS 2 min read Linux CommandsLinux Commands 15+ min read Essential Unix Commands 7 min read Find Command in Linux with Examples 7 min read Linux File SystemLinux File System 12 min read Linux File Hierarchy Structure 5 min read Linux Directory Structure 6 min read Linux KernelLinux Kernel 4 min read Kernel in Operating System 3 min read How Linux Kernel Boots? 11 min read Difference between Operating System and Kernel 3 min read Linux Kernel Module Programming: Hello World Program 7 min read Linux Loadable Kernel Module 7 min read Loadable Kernel Module - Linux Device Driver Development 4 min read Linux Networking ToolsNetwork configuration and troubleshooting commands in Linux 5 min read How to configure network interfaces in CentOS? 5 min read Command-Line Tools and Utilities For Network Management in Linux 8 min read Linux - Network Monitoring Tools 4 min read Linux ProcessProcesses in Linux/Unix 5 min read How to Manage Process in Linux 4 min read Getting System and Process Information Using C Programming and Shell in Linux 2 min read Process states and Transitions in a UNIX Process 4 min read Linux FirewallLINUX Firewall 7 min read iptables command in Linux with Examples 7 min read How to Configure your Linux Firewall - 3 Methods 12 min read Shell Scripting & Bash ScriptingIntroduction to Linux Shell and Shell Scripting 7 min read What is Terminal, Console, Shell and Kernel? 5 min read How to Create a Shell Script in linux 7 min read Shell Scripting - Different types of Variables 4 min read Bash Scripting - Introduction to Bash and Bash Scripting 12 min read Bash Script - Define Bash Variables and its types 12 min read Shell Scripting - Shell Variables 6 min read Bash Script - Difference between Bash Script and Shell Script 4 min read Shell Scripting - Difference between Korn Shell and Bash shell 3 min read Shell Scripting - Interactive and Non-Interactive Shell 3 min read Shell Script to Show the Difference Between echo â$SHELLâ and echo â$SHELLâ 4 min read Like