How Do I Fix 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 causes bad superblock?
The only reason why “superblocks” might be seen as “going bad,” is that they’re (of course) the blocks most-frequently written. Therefore, if the drive is going fishy, this is the block that you are most likely to realize has been corrupted …