nixCraft Linux Forum

nixCraft

Linux / UNIX 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

Linux answers from nixCraft.


Solaris/OpenSolaris Discuss all about the SUN Solairs/OpenSolaris. You are free to talk about any issues related to Solaris administration, networking, services and other stuff, share information or ask doubts.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-10-2007, 06:58 PM
Member
User
 
Join Date: Jan 2005
Location: Pune, India.
Posts: 47
Thanks: 0
Thanked 0 Times in 0 Posts
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
  #2 (permalink)  
Old 12-10-2007, 09:17 PM
rockdalinux's Avatar
Is that all you got?
User
 
Join Date: May 2005
Location: Planet Vegeta
OS: Redhat
Posts: 708
Thanks: 15
Thanked 19 Times in 18 Posts
Rep Power: 10
rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light
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.
What's wrong? I hope I am not making you uncomfortable...

Never send a boy to do a mans job.
Reply With Quote
  #3 (permalink)  
Old 18-10-2007, 08:11 PM
Member
User
 
Join Date: Jan 2005
Location: Pune, India.
Posts: 47
Thanks: 0
Thanked 0 Times in 0 Posts
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


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 Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
How to Block Ultrasurf laluvirtual Linux software 9 15-06-2008 04:21 PM
NTP syncronizing time with server wrong mjhundraindra Linux software 4 11-09-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 18-11-2006 05:00 PM
Linux superblock repair chiku Linux software 1 25-10-2006 08:41 AM


All times are GMT +5.5. The time now is 11:31 AM.


Powered by vBulletin® Version 3.8.5 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2010 nixCraft. All rights reserved

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 37 38