[PLUG] Help please, linux md raid broken

Steven Raymond madpacket at hotmail.com
Thu Jan 8 12:27:01 UTC 2004


This morning my RH9 machine "sparky" was off and wouldn't come on.  Swapped 
power supplies and it now will power up and partway boot but hangs with the 
following error message:

raid0: done.
raid0 : md_size is 75555456
raid0 : conf->smallest->size is 75555456
raid0 : nb_zone is 1.
raid0 : Allocating 8 bytes for hash.
md: updating md2 RAID superblock on device
md: hde3 [events: 00000035]<6>(write) hde3's sb offset : 37777728
md: hde3 [events: 00000035]<6>(write) hde3's sb offset : 37777728
md: ... autorun DONE.
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
Creating block devices
Creating root devices
Mounting root filesystem
VFS: Can't find ext3 filesystem on dev md(9,2)
mount: error 22 mounting ext3
pivotroot: pivot_root(/sysroot,/sysroot/initrd) failed:2
umount /initrd/proc failed: 2
Freeing unused kernel memory: 156k freed
Kernel panic: No init found.  try passing init=option to kernel.

I don't think that the disks are ruined and hope that my data may be 
recoverable.  Running Disk Druid off the install disc 1 still shows the raid 
devices and partitions are still mostly recognized.  Only md2 (my / 
partition, of course) seems to have lost it's ext3 formatting:

RAID Devices
/dev/md2 foreign 73784
/dev/md1 ext3 250
/dev/md0 swap 2048

Hard Drives
/dev/hde
/dev/hde1 /dev/md1 software RAID 250 1 508
/dev/hde2 /dev/md0 software RAID 1024 509 2589
/dev/hde3 /dev/md2 software RAID 26892 2590 77545

/dev/hdg
/dev/hdg1 /dev/md1 software RAID 250 1 508
/dev/hdg2 /dev/md0 software RAID 1024 509 2589
/dev/hdg3 /dev/md2 software RAID 36892 2590 77545


So does it seem that md2 is simply no longer recognized as ext3 formatting?  
Is there some way to recover it with fsck?  I tried booting the disc 1 
installer and it is unable to mount the system under /mnt/sysimage.  
Can/should I try to run fsck from the rescue disc?  Or should/can I run 
fdisk/mke2fs and try to restore md2 as a ext3 partition?

All help is appreciated.

Thank you

_________________________________________________________________
Tired of slow downloads? Compare online deals from your local high-speed 
providers now.  https://broadband.msn.com





More information about the PLUG mailing list