- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Bad superblock: 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
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
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
тАО12-04-2003 08:52 PM
тАО12-04-2003 08:52 PM
Bad superblock: Magic number wrong
BAD SUPER BLOCK: MAGIC NUMBER WRONG
How can I repair this error.
Some aplications doesn't work, CDE...
Please help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-04-2003 09:09 PM
тАО12-04-2003 09:09 PM
Re: Bad superblock: Magic number wrong
try "fsck -F hfs -b 16
You need to use the raw device for the logical volume. I'm not entirely sure what you do if this is a vxfs filesystem as I cant see how a full fsck would work when the superblock is broken and I'm not sure if vxfs maintains alternative superblocks like HFS does.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-04-2003 09:16 PM
тАО12-04-2003 09:16 PM
Re: Bad superblock: Magic number wrong
fsck -F hfs -b 16 /dev/vg00/lvol3
Alternate suber block location: 16
fsck: /dev/vg00/lvol3: root file system
continue: y
BAD SUPER BLOCK: MAGIC NUMBER WRONG
USE -b ...
Now what....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-04-2003 09:21 PM
тАО12-04-2003 09:21 PM
Re: Bad superblock: Magic number wrong
/etc/mnttab
/dev/vg00/lvol3 / vxfs log 0 1 1070617101
but in
/etc/fstab
/dev/vg00/lvol3 / hfs defaults 0 1
??????????????????????
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-04-2003 09:24 PM
тАО12-04-2003 09:24 PM
Re: Bad superblock: Magic number wrong
# mv /etc/mnttab /etc/mnttab.old
# mount -a
# more /etc/mnttab
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-04-2003 09:25 PM
тАО12-04-2003 09:25 PM
Re: Bad superblock: Magic number wrong
In fact: The problem was that the user can't login in the cde, in prompt yes.
After login in black screen sandhour and again the cde login...
The user said, that he had reseted the computer (There is no reset!!!)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-04-2003 09:27 PM
тАО12-04-2003 09:27 PM
Re: Bad superblock: Magic number wrong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-04-2003 09:28 PM
тАО12-04-2003 09:28 PM
Re: Bad superblock: Magic number wrong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-04-2003 09:30 PM
тАО12-04-2003 09:30 PM
Re: Bad superblock: Magic number wrong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-04-2003 09:31 PM
тАО12-04-2003 09:31 PM
Re: Bad superblock: Magic number wrong
I would point out that I have nver managed to get one of the alternative super blocks to actually work but it's worth a try.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-04-2003 09:31 PM
тАО12-04-2003 09:31 PM
Re: Bad superblock: Magic number wrong
recreate it
# mv mnttab mnttab.old
# mount -a
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-04-2003 09:35 PM
тАО12-04-2003 09:35 PM
Re: Bad superblock: Magic number wrong
Maybe shall I:
cp /etc/mnttab /etc/mnttab.old
edit mnttab.old (vxfs to hfs log to defaults)
mv /etc/mnttab.old /etc/mnttab
??????????
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-04-2003 09:43 PM
тАО12-04-2003 09:43 PM
Re: Bad superblock: Magic number wrong
Your answer seens to work.
After ............ /rlvol1
No magic number at /rlvol1
but there is the same problem at /rlvol6
and /lvol3
But i only see at sbtab
/rlvol1: super-block backups
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-04-2003 09:46 PM
тАО12-04-2003 09:46 PM
Re: Bad superblock: Magic number wrong
Because in that case, perhaps fsck determined the wrong filesystem type, which could lead to this problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-04-2003 09:51 PM
тАО12-04-2003 09:51 PM
Re: Bad superblock: Magic number wrong
Robert and other forum people are right!
# mv /etc/mnttab /etc/mnttab.old
This command just renames the mnttab file.
# mount -a
This command re-mount filesystems in base of /etc/fstab.
After these actions you will see that /etc/mnttab and /etc/fstab should look the same.
I hope this helps you.
Best regards,
Ettore
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-04-2003 09:52 PM
тАО12-04-2003 09:52 PM
Re: Bad superblock: Magic number wrong
But in this problemfull machine is in fstab hfs and in mnttab vxfs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-04-2003 09:57 PM
тАО12-04-2003 09:57 PM
Re: Bad superblock: Magic number wrong
# fsadm -F hfs /dev/vg00/rlvol3
file system : /dev/vg00/rlvol3
magic number : 95014
feature bits : 1
file system supports : nolargefiles, longfilenames
# fsadm -F vxfs /dev/vg00/rlvol3
fsadm: not a valid vxfs file system
My filesystem is hfs
# cd /etc
# mv mnttab mnttab.rjg
# mount -a
Yoy mnttab wil be recreated witk the mount command.
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-04-2003 10:00 PM
тАО12-04-2003 10:00 PM
Re: Bad superblock: Magic number wrong
mount -a
...already mounted
at lvol6 that is the tmp : not a hfs file system, but in fstab yes.
On an another machine the mnttab and fstab are vxfs, also maybe the tmp is the problem for CDE.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-04-2003 10:06 PM
тАО12-04-2003 10:06 PM
Re: Bad superblock: Magic number wrong
is not a hfs file system
# fsadm -F vxfs /dev/vg00/rlvol3
nolargefiles, longfilenames
And now?...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-04-2003 10:26 PM
тАО12-04-2003 10:26 PM
Re: Bad superblock: Magic number wrong
But the CDE runs still not.(dr_dt no problem)
syslog.log nothing
By fsck lvol3 / BAD superblock
rlvol1 Last mounted on /stand
*******Marking file system clean****
*** File system was modified
vxfs fsck /lvol4-8 is currently mounted
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-04-2003 10:36 PM
тАО12-04-2003 10:36 PM
Re: Bad superblock: Magic number wrong
fsck -F vxfs -n /dev/vgXX/lvol6 and then if errors no are reported do
fsck -F vxfs -o full,nolog /dev/vgXX/lvol6. If errors were reported by your first fsck, then do the same thing but without the ",nolog" bit.
Then fix /etc/fstab.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-04-2003 10:43 PM
тАО12-04-2003 10:43 PM
Re: Bad superblock: Magic number wrong
lvol3 BAD SUPERBLOCK> MAGIC...
Shall I do your previus message, but with lvol3.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-04-2003 10:45 PM
тАО12-04-2003 10:45 PM
Re: Bad superblock: Magic number wrong
au 2 summary incorrect - fix (ynq) n
Shall i try without -n, or that is a bad idea
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-04-2003 10:47 PM
тАО12-04-2003 10:47 PM
Re: Bad superblock: Magic number wrong
yes, the "-n" just answers "no" to any question so now you should try
"fsck -F vxfs -o full /dev/vgXX/rlvol3"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-04-2003 10:49 PM
тАО12-04-2003 10:49 PM
Re: Bad superblock: Magic number wrong
vxfs fsck: /dev/vg00/rlvol3 is currently mounted