LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices



Reply
 
Search this Thread
Old 07-18-2008, 10:58 AM   #1
Bengt7jqb
LQ Newbie
 
Registered: Oct 2007
Location: Växjö / Sweden
Distribution: Debian
Posts: 4

Rep: Reputation: 0
RAID 5 corrupt /dev/md0


Hi,

I try to get my 4x500G (Samsung Spinpoint) RAID 5 arry to work.
The SATA card is one Sillcon Image Sil-3114 chip
Pentium III 433Mhz 512Mb

How it locks like
Quote:
# fdisk -l
Disk /dev/hda: 8455 MB, 8455200768 byte
255 huvuden, 63 sektorer/spår, 1027 cylindrar
Enheter = cylindrar av 16065 · 512 = 8225280 byte

Enhet Start Början Slut Block Id System
/dev/hda1 * 1 16 128488+ 83 Linux
/dev/hda2 17 1027 8120857+ 83 Linux

Disk /dev/hdb: 8622 MB, 8622931968 byte
240 huvuden, 63 sektorer/spår, 1113 cylindrar
Enheter = cylindrar av 15120 · 512 = 7741440 byte

Enhet Start Början Slut Block Id System
/dev/hdb1 1 69 521608+ 82 Linux växling / Solaris
/dev/hdb2 70 1113 7892640 83 Linux

Disk /dev/sda: 500,1 GB, 500107862016 byte
255 huvuden, 63 sektorer/spår, 60801 cylindrar
Enheter = cylindrar av 16065 · 512 = 8225280 byte

Enhet Start Början Slut Block Id System
/dev/sda1 1 60801 488384001 fd Linux raid autodetekterad

Disk /dev/sdb: 500,1 GB, 500107862016 byte
255 huvuden, 63 sektorer/spår, 60801 cylindrar
Enheter = cylindrar av 16065 · 512 = 8225280 byte

Enhet Start Början Slut Block Id System
/dev/sdb1 1 60801 488384001 fd Linux raid autodetekterad

Disk /dev/sdc: 500,1 GB, 500107862016 byte
255 huvuden, 63 sektorer/spår, 60801 cylindrar
Enheter = cylindrar av 16065 · 512 = 8225280 byte

Enhet Start Början Slut Block Id System
/dev/sdc1 1 60801 488384001 fd Linux raid autodetekterad

Disk /dev/sdd: 500,1 GB, 500107862016 byte
255 huvuden, 63 sektorer/spår, 60801 cylindrar
Enheter = cylindrar av 16065 · 512 = 8225280 byte

Enhet Start Början Slut Block Id System
/dev/sdd1 1 60801 488384001 fd Linux raid autodetekterad

Disk /dev/md0: 1500,3 GB, 1500315451392 byte
2 huvuden, 4 sektorer/spår, 366287952 cylindrar
Enheter = cylindrar av 8 · 512 = 4096 byte
And how i make the /dev/md0
# mdadm --create --verbose /dev/md0 --chunk=64 --level=raid5 --raid-devices=4 /dev/sd[abcd]1;

And it lokcs like this when done, just fine
Quote:
/dev/md0:
Version : 00.90.03
Creation Time : Tue Jul 1 19:29:34 2008
Raid Level : raid5
Array Size : 1465151808 (1397.28 GiB 1500.32 GB)
Device Size : 488383936 (465.76 GiB 500.11 GB)
Raid Devices : 4
Total Devices : 4
Preferred Minor : 0
Persistence : Superblock is persistent

Update Time : Fri Jul 4 00:33:46 2008
State : clean
Active Devices : 4
Working Devices : 4
Failed Devices : 0
Spare Devices : 0

Layout : left-symmetric
Chunk Size : 64K

UUID : 36a3875d:3bc16135:5e66217b:5a1a585f (local to host sm7jqb.dnsalias.com)
Events : 0.8

Number Major Minor RaidDevice State
0 8 1 0 active sync /dev/sda1
1 8 17 1 active sync /dev/sdb1
2 8 33 2 active sync /dev/sdc1
3 8 49 3 active sync /dev/sdd1

And finaly format
mke2fs -j /dev/md0

And I got a lot of errors evry mount from
# fsck -fvy /dev/md0

Whay?

Last edited by Bengt7jqb; 07-18-2008 at 11:23 AM.
 
Old 07-18-2008, 11:08 AM   #2
Dutch Master
Senior Member
 
Registered: Dec 2005
Posts: 1,684

Rep: Reputation: 124Reputation: 124
You may want to try building the RAID array with Webmin. I did that myself on my homeserver and it works http://www.webmin.com
 
  


Reply

Tags
mdadm, raid5


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
How To Clone Single Drive To Raid 1+0 (copy /dev/sde to /dev/md0)? alfista Linux - Server 5 03-18-2008 11:57 PM
How To Clone Single Drive To Raid 1+0 (copy /dev/sde to /dev/md0)? alfista Linux - Server 2 03-17-2008 11:26 PM
How To Clone Single Drive To Raid 1+0 (copy /dev/sde to /dev/md0)? alfista Linux - Server 2 03-13-2008 05:17 AM
can not mount RAID 0 /dev/md0 dysenteryduke Linux - Software 3 09-15-2005 04:19 PM


All times are GMT -5. The time now is 03:16 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration