- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- fsck --> Bad Super Block: Magic Number Wrong
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-19-2000 08:29 AM
тАО10-19-2000 08:29 AM
fsck --> Bad Super Block: Magic Number Wrong
When I attempt to fsck /dev/vg02/lvol1 I receive endless messages that look like this:
837491030 BAD I=13.
All with different inode numbers.
When I fsck /dev/dsk/c3t1d0 I receive the error message:
BAD SUPER BLOCK: MAGIC NUMBER WRONG
I went and found the /var/adm/sbtab to look for alternate superblocks. In this file there are only superblocks listed for /dev/vg02/lvol1 and not for the physical disk. So I attempt to fsck -b# /dev/vg02/lvol1 trying different numbers listed as alternate superblocks in the sbtab but I still get the same scrolling error messages that I received when first attempting to fsck it.
The problem here is that this volume group is the one that contains my backup software so I am hosed. Has anyone successfully been able to use an alternate superblock or am I possibly doing something wrong? I am trying to avoid the painful last resort of reloading my backup software and redoing all of the backups.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-19-2000 09:09 AM
тАО10-19-2000 09:09 AM
Re: fsck --> Bad Super Block: Magic Number Wrong
You must specify the volume name to fsck, the /dev/dsk device will not work.
hfs:
fsck -F hfs /dev/vg01/rlvol1
vxfs:-
fsck -F vxfs /dev/vg01/rlvol1
Is this a hfs filesystem? The entry in /var/adm/sbtab may be old if the filesystem was recreated as vxfs.
What happened to it to stop it mounting?
If the above fsck commands fail then I'm afraid that you'll have to recreate the filesystem and restore.
Regards,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-19-2000 09:43 AM
тАО10-19-2000 09:43 AM
Re: fsck --> Bad Super Block: Magic Number Wrong
If it is a vxfs FS, you can check it totally by doing:
fsck -F vxfs -o full /dev/vgxx/rlvolx
good luck!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-19-2000 09:55 AM
тАО10-19-2000 09:55 AM
Re: fsck --> Bad Super Block: Magic Number Wrong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-19-2000 12:01 PM
тАО10-19-2000 12:01 PM
Re: fsck --> Bad Super Block: Magic Number Wrong
In my experience, I usually see block 32 as first alternate super block. Why don't you give a try by using " -o b=32" option?
Afterall it is not going to destroy anything.
you may save time in reformating and restoring data.
Regards,
Jegi,
NBC
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-19-2000 01:05 PM
тАО10-19-2000 01:05 PM
Re: fsck --> Bad Super Block: Magic Number Wrong
secondly are you sure it is HFS? if so, there is ALWAYS a spare superblock at 16, so try fsck -F hfs -b 16 /dev/vg02/rlvol2
failing that, I am not sure there is much more to do
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-19-2000 05:42 PM
тАО10-19-2000 05:42 PM
Re: fsck --> Bad Super Block: Magic Number Wrong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-24-2000 01:17 AM
тАО10-24-2000 01:17 AM
Re: fsck --> Bad Super Block: Magic Number Wrong
- if that works, you have a chance to recover/copy your data (obviously, some will be gone....)
I have used this technique successfully in the past on other (SVR4) OS, but I have not tried it on HP systems - but it won't do any harm....
Nick