My system crashed while trying to do a dump to the tape drive. I get
a "bad super block magic number wrong" message that fsck can't fix.
Is there a way to fix this without killing all my files?
Pat McPartland
My system crashed while trying to do a dump to the tape drive. I get
a "bad super block magic number wrong" message that fsck can't fix.
Is there a way to fix this without killing all my files?
Pat McPartland
The superblock# are now printed. You can subsequently run
fsck -b # where # is one of the block# printed by newfs -N
Hope this helps
Wilko
There's an fsdb around (it went to /xperimnt in 2.1R and is in the
base system in the 2.2 development sources), but it's perhaps rather
tricky to use it. Try if you can use alternate superblocks (fsck -b
32).
--
cheers, J"org
Never trust an operating system you don't have sources for. ;-)
1. functioning file system with "bad super block: magic number wrong"?
Re-installed 4.8 after formatting the disk. Just as a test, went down
to single-user mode, un-mounted all the file systems, and ran fsck
which reported no problems. For curiosity, I ran fsck -p /dev/ad0. It
reported that there was a "bad super block: magic number wrong" and
unexpected inconsistency: run fsck manually.
This message was ignored and the system was rebooted with no problems.
A new kernel was built and no problems occurred. It seems that the
file system is working perfectly well, in spite of this "bad super
block".
The question is, is it normal to have some trivial errors be reported
by fsck at any given invocation? Is there nothing wrong with my file
system?
3. HELP: BAD SUPER BLOCK: MAGIC NUMBER WRONG
5. Bad magic number in super-block / Group descriptors look bad
6. Unix newbie looking for tutorial
7. Newbie: Bad magic number in super-block
9. bad magic number in super-block
10. Bad magic number in super-block (help!)
11. Bad magic numbers in super block!
12. HELP!! - bad magic number in super-block.
13. e2fsck: bad magic number in super-block