Wednesday, March 14, 2007

Recover Filesystem's Primary Superblock with FSCK

While running fsck utility, we encountered a problem with the primary superblock. We were then prompted to recover from an alternative superblock. Remember to specify the rdsk and know that block 32 is always an alternative superblock.

# fsck - o b=32 /dev/rdsk/c0t0d0s6

Determine which superblocks are available
newfs -Nv /dev/rdsk/c0t0d0s6

No comments: