How do I fix corrupted superblock in Linux?

Kim Trang

New member
How do I fix corrupted superblock in Linux?
Answer
Restoring a Bad Superblock
  1. Become superuser.
  2. Change to a directory outside the damaged file system.
  3. Unmount the file system. # umount mount-point. …
  4. Display the superblock values with the newfs -N command. # newfs -N /dev/rdsk/ device-name. …
  5. Provide an alternative superblock with the fsck command.
 

Tìm kiếm

Back
Top