How to Recover Corrupted Superblock (Bad magic number in superblock) on Oracle VM Repository or Poolfs

(Doc ID 2127003.1)

Last updated on SEPTEMBER 28, 2017

Applies to:

Oracle VM - Version 3.0.1 and later
Linux x86-64


Oracle VM Repository or Poolfs get super block corruption, and fsck.ocfs2 report failure as below:

# fsck.ocfs2 -fy /dev/mapper/<repo-uuid>
fsck.ocfs2 1.8.2
fsck.ocfs2: Bad magic number in superblock while opening "/dev/mapper/<repo-uuid>"


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms