LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 03-27-2010, 07:11 AM   #1
anzolis
LQ Newbie
 
Registered: Mar 2010
Posts: 3

Rep: Reputation: 0
Mdadm raid0 and ubuntu server boot problem


I have ubuntu server 8.04 installed.
It uses software raid0 (mdadm, two hard disks: sda and sdb).

The server crashed after power failure. When trying to boot I get the following messages:

Code:
ata3.00: revalidateion failed (errno=-2)
JBD: Failed to read block at offset 1599
EXT-fs: error loading jounal.
Buffer I/O error on device md0, logical block 1289
Afterwards BusyBox loads and that's it.

cat /proc/mdstat gives the following:
Code:
Personalities:
md0: active raid0 sda6[0] sdb6[1]
971868032 blocks 64k chunks
When booting from live cd fdisk -l shows all partitions correctly both on /dev/sda and /dev/sdb.
Tried gParted Live Cd, gParted correctly identifies raid0 but check fails.

Any suggestions please? Data on these disks is of high importance for me...
 
Old 03-27-2010, 07:24 AM   #2
troop
Member
 
Registered: Feb 2010
Distribution: gentoo, arch, fedora, freebsd
Posts: 379

Rep: Reputation: 97
what output of fsck /dev/md0 ?
 
Old 03-27-2010, 07:29 AM   #3
anzolis
LQ Newbie
 
Registered: Mar 2010
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by troop View Post
what output of fsck /dev/md0 ?
Code:
 No such file or directory while trying to open /dev/md0
The superblock couln not be read or doe not describe a correct ext2 filesystem. If the device is valid and it really contains an ext2...
e2fsck -b 8193 gives the same output
 
Old 03-29-2010, 03:59 AM   #4
anzolis
LQ Newbie
 
Registered: Mar 2010
Posts: 3

Original Poster
Rep: Reputation: 0
It turned out that the problem is with the first hard disk. Tried to make an image of it with
Code:
ddrescue --no-split /dev/sda /media/sdc1/home/anzolis/image /media/sdc1/home/anzolis/logfile
It outputs that errsize is equal to the disk size i.e. the disk is one big error!

Ddrescue copied perfectly (with no errors at all) /dev/sdb, the second disk in the raid.

Is it possible that the problem is with the logic board of hard disk /dev/sda? The second hard disk (/dev/sdb) is of the same model and thus has absolutely the same logic board, so I can try to replace it. Or is the problem mechanical (I don't really know what to do in this case)?

I need your advice very very much. My head is already boiling with all this stuff.

Thanks!!
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Migrate RAID0 array to RAID10 with mdadm jimbro727 Linux - General 6 07-17-2009 07:01 PM
XP NTFS on RAID0 - mdadm mounting problems iainmackay85 Linux - Hardware 3 11-17-2008 10:15 AM
ntfs windows raid0 mdadm and mount iainmackay85 Linux - Software 0 11-16-2008 12:18 PM
mdadm assemble weirdness with partitionable RAID0 Schneckl Linux - Software 0 08-28-2007 05:45 PM
mdadm: no devices ... were found after RAID0 install hedpe Linux - Software 4 06-28-2007 01:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 05:47 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration