How Do I Check Superblock in Linux?
Contents How Do I Know If My Superblock Is Bad? Bad Superblock Check Which Superblock Is Being Used by Running: Fsck –V /Dev/Sda1. Check Which Superblocks Are...
Contents
How do I know if my superblock is bad?
Bad superblock
- Check which superblock is being used by running: fsck –v /dev/sda1.
- Check which superblocks are available by running: mke2fs -n /dev/sda1.
- Select a new superblock and execute the following command: fsck -b <block_number> /dev/sda1.
- Reboot the server.
Must Read
What is the superblock in Linux?
A superblock is a record of the characteristics of a filesystem, including its size, the block size, the empty and the filled blocks and their respective counts, the size and location of the inode tables, the disk block map and usage information, and the size of the block groups.