The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com



UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
LVM magic number 0x4D48 ghimanshu Filesystems, Disks and Memory 2 07-18-2007 09:27 AM
Bad Magic Number wesweshahaha Filesystems, Disks and Memory 0 05-18-2006 02:28 PM
Bad magic number batosai SUN Solaris 1 04-22-2006 12:29 PM
shell magic number with a - vino Shell Programming and Scripting 3 07-09-2005 12:23 AM
bad magic number rein UNIX for Advanced & Expert Users 5 01-05-2005 11:27 AM

 
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 08-17-2007
ravinandan ravinandan is offline
Registered User
  
 

Join Date: Jul 2007
Posts: 16
Bad magic number on /dev/md0

Hello All,
(RHEL4)
Few weeks ago I had posted a message in this forum about the problem I had when I replaced my two scsi disks and tried rebuild raid1 array.

I somehow managed to up the system with working raid1 array.
But the main problem persisted..
i.e when I reboot the system, mounting of /dev/md0 fails.
The error message says the superblock no. is wrong and it is expecting ext2 file system.

After this, I login in rescue mode(which the os provided me as soon as mount of /dev/md0 failed).

Once I login, I have to recreate the raid1 array using
mdadm --create /dev/md0 --level=raid1 --raid-devices=2 /dev/sdb1 /dev/sdc1

The above command successfully creates raid1 array after which I mount it to my /home directory.

Now everything works fine(until I restart)

(After full synchronization)
$cat /proc/mdstat
Personalities : [raid1]
md0 : active raid1 sdc1[1] sdb1[0]
17782656 blocks [2/2] [UU]

unused devices: <none>

#mdadm -E /dev/sdb1
/dev/sdb1:
Magic : a92b4efc
Version : 00.90.00
UUID : 979caf2d:1be05876:14d74325:14ea3ec1
Creation Time : Fri Aug 10 15:47:52 2007
Raid Level : raid1
Device Size : 17782656 (16.96 GiB 18.21 GB)
Raid Devices : 2
Total Devices : 2
Preferred Minor : 0

Update Time : Fri Aug 17 17:11:05 2007
State : clean
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0
Checksum : 14fdc667 - correct
Events : 0.92278


Number Major Minor RaidDevice State
this 0 8 17 0 active sync /dev/sdb1
0 0 8 17 0 active sync /dev/sdb1
1 1 8 33 1 active sync /dev/sdc1

# mdadm -E /dev/sdc1
/dev/sdc1:
Magic : a92b4efc
Version : 00.90.00
UUID : 979caf2d:1be05876:14d74325:14ea3ec1
Creation Time : Fri Aug 10 15:47:52 2007
Raid Level : raid1
Device Size : 17782656 (16.96 GiB 18.21 GB)
Raid Devices : 2
Total Devices : 2
Preferred Minor : 0

Update Time : Fri Aug 17 17:13:11 2007
State : clean
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0
Checksum : 14fdc713 - correct
Events : 0.92292


Number Major Minor RaidDevice State
this 1 8 33 1 active sync /dev/sdc1
0 0 8 17 0 active sync /dev/sdb1
1 1 8 33 1 active sync /dev/sdc1

#cat /etc/mdadm.conf

DEVICE /dev/sdb1 /dev/sdc1
ARRAY /dev/md0 level=raid1 num-devices=2 UUID=979caf2d:1be05876:14d74325:14ea3ec1


#mdadm -E /dev/md0
mdadm: No super block found on /dev/md0 (Expected magic a92b4efc, got 764e5679)


Any help will be appreciated.
(Since I'm relieving from my current position I need to correct this problem...I don't want to pass this problem to my successor)

Regards,
Ravinandan S
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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




All times are GMT -4. The time now is 08:31 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0