nixCraft Linux Forum

nixCraft

Linux Tech Support Forum

Bad Superblock At Block : Magic Number Wrong

This is a discussion on Bad Superblock At Block : Magic Number Wrong within the Solaris/OpenSolaris forums, part of the UNIX operating systems category; Hi there, My VxVM diskgroup was in disable state, so I deported it and imported back again, after that when ...


Go Back   nixCraft Linux Forum > UNIX operating systems > Solaris/OpenSolaris

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 10-12-2007, 06:58 PM
Member
User
 
Join Date: Jan 2005
Location: Pune, India.
Posts: 47
Rep Power: 0
Ashish Pathak
Send a message via MSN to Ashish Pathak Send a message via Yahoo to Ashish Pathak
Default Bad Superblock At Block : Magic Number Wrong

Hi there,

My VxVM diskgroup was in disable state, so I deported it and imported back again, after that when I try to mount any volume from that group, it says needs checking, tried fsck but no luck... any help ?


<snip>
bash-3.00# fsck -y /dev/vx/rdsk/ora_dg/vol_DLNCSG16_a01
** /dev/vx/rdsk/ora_dg/vol_DLNCSG16_a01
BAD SUPERBLOCK AT BLOCK 16: NUMBER OF DIRECTORIES OUT OF RANGE

LOOK FOR ALTERNATE SUPERBLOCKS WITH MKFS? yes


LOOK FOR ALTERNATE SUPERBLOCKS WITH NEWFS? yes

SEARCH FOR ALTERNATE SUPERBLOCKS FAILED.

USE GENERIC SUPERBLOCK FROM MKFS? yes

CALCULATED GENERIC SUPERBLOCK WITH MKFS
If filesystem was created with manually-specified geometry, using
auto-discovered superblock may result in irrecoverable damage to
filesystem and user data.

CANCEL FILESYSTEM CHECK? yes

Please verify that the indicated block contains a proper
superblock for the filesystem (see fsdb(1M)).

FSCK was running in YES mode. If you wish to run in that mode using
the alternate superblock, run `fsck -y -o b=4146080 /dev/vx/rdsk/ora_dg/vol_DLNCSG16_a01'.


bash-3.00# fsck -y -o b=4146080 /dev/vx/rdsk/ora_dg/vol_DLNCSG16_a01
Alternate super block location: 4146080.
** /dev/vx/rdsk/ora_dg/vol_DLNCSG16_a01
BAD SUPERBLOCK AT BLOCK 4146080: MAGIC NUMBER WRONG

bash-3.00# newfs -N /dev/vx/rdsk/ora_dg/vol_DLNCSG16_a01
/dev/vx/rdsk/ora_dg/vol_DLNCSG16_a01: 4194304 sectors in 2048 cylinders of 32 tracks, 64 sectors
2048.0MB in 47 cyl groups (44 c/g, 44.00MB/g, 11008 i/g)
super-block backups (for fsck -F ufs -o b=#) at:
32, 90208, 180384, 270560, 360736, 450912, 541088, 631264, 721440, 811616,
3334496, 3424672, 3514848, 3605024, 3695200, 3785376, 3875552, 3965728,
4055904, 4146080

</snip>

BTW, I have tried all the backup superblocks but no luck.
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 10-12-2007, 09:17 PM
rockdalinux's Avatar
Contributors
User
 
Join Date: May 2005
Location: Bangalore
My distro: RHEL, HP-UX, Solaris, FreeBSD, Ubuntu
Posts: 557
Rep Power: 6
rockdalinux is a jewel in the rough rockdalinux is a jewel in the rough rockdalinux is a jewel in the rough
Default

Not much you can do...

# 1: Reformat hard disk > Check for error > if okay reinstall everything including data


# 2 : Get new hard disk Check for error > if okay reinstall everything including data
__________________
Rocky Jr.
You may have my body & soul, but you will never touch my pride!

If you have knowledge, let others light their candles at it.

Certified to work on HP-UX / Sun Solaris / RedHat
Reply With Quote
  #3 (permalink)  
Old 10-18-2007, 08:11 PM
Member
User
 
Join Date: Jan 2005
Location: Pune, India.
Posts: 47
Rep Power: 0
Ashish Pathak
Send a message via MSN to Ashish Pathak Send a message via Yahoo to Ashish Pathak
Default

Done it already
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
How to Block Ultrasurf laluvirtual Linux software 9 06-15-2008 04:21 PM
NTP syncronizing time with server wrong mjhundraindra Linux software 4 09-11-2007 10:37 AM
Iptables block ip address raj Getting started tutorials 0 05-05-2007 01:01 AM
How to block sites in Squid joproz Linux software 2 11-18-2006 05:00 PM
Linux superblock repair chiku Linux software 1 10-25-2006 08:41 AM


All times are GMT +5.5. The time now is 12:32 PM.


Powered by vBulletin® Version 3.7.2 - Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36