superblock

The block at the start of a file system that records its size, layout and state; ext4 keeps backup copies further into the disk.

In more detail

When e2fsck reports a bad magic number in the superblock, mke2fs -n with the original options lists the backup locations without writing, and e2fsck -b uses one. The repair then rewrites the primary copy from the backup.

Related terms

Taught in

References

Certification courses