Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
RAID-1 verhält sich komisch
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
ziererk
n00b
n00b


Joined: 26 Mar 2004
Posts: 32
Location: Germany

PostPosted: Sun Mar 27, 2005 1:14 pm    Post subject: RAID-1 verhält sich komisch Reply with quote

Hallo,
ich habe in einem Server 2 SATA-Platten, die über Software-RAID-1 verbunden sind und in 3 Partitionen aufgeteilt sind. Der Server läuft Tip Top, aber heute tipp ich zufällig mal
lsraid -a /dev/md0:

Quote:
lsraid: Device "/dev/sda2" does not have a valid raid superblock
lsraid: Device "/dev/sdb2" does not have a valid raid superblock
[dev 9, 0] /dev/md0 00000000.00000000.00000000.00000000 online
[dev ?, ?] (unknown) 00000000.00000000.00000000.00000000 missing
[dev ?, ?] (unknown) 00000000.00000000.00000000.00000000 missing


lsraid -a /dev/md1 genauso:

Quote:
lsraid: Device "/dev/sda3" does not have a valid raid superblock
lsraid: Device "/dev/sdb3" does not have a valid raid superblock
[dev 9, 1] /dev/md1 00000000.00000000.00000000.00000000 online
[dev ?, ?] (unknown) 00000000.00000000.00000000.00000000 missing
[dev ?, ?] (unknown) 00000000.00000000.00000000.00000000 missing


lsraid -a /dev/md2 aber nicht:

Quote:
[dev 9, 2] /dev/md2 55A635B6.90DF659B.C60F68A6.7157CE32 online
[dev 8, 1] /dev/sda1 55A635B6.90DF659B.C60F68A6.7157CE32 good
[dev 8, 17] /dev/sdb1 55A635B6.90DF659B.C60F68A6.7157CE32 good


In /proc/mdstat zeigt, dass alle Platten in Ordnung sind:

Quote:
Personalities : [raid1] [faulty]
md2 : active raid1 sdb1[1] sda1[0]
23936 blocks [2/2] [UU]

md1 : active raid1 sdb3[1] sda3[0]
155284224 blocks [2/2] [UU]

md0 : active raid1 sdb2[1] sda2[0]
39070016 blocks [2/2] [UU]

unused devices: <none>


MD0 (/) und MD1 (/home) sind ReiserFS, MD2 dagegen ist Ext3 (/boot).

Meine Fragen:
Woher kommt das?
Muss ich das beachten?
Wie kann ich das beheben?

Danke und frohe Ostern,
Klaus
Back to top
View user's profile Send private message
py-ro
Veteran
Veteran


Joined: 24 Sep 2002
Posts: 1734
Location: Velbert

PostPosted: Sun Mar 27, 2005 1:42 pm    Post subject: Reply with quote

Hi,

auf was hast du den Partitionstyp von den an md0 und md1 beteiligten Partitionen gestellt?

MfG
Py
Back to top
View user's profile Send private message
ziererk
n00b
n00b


Joined: 26 Mar 2004
Posts: 32
Location: Germany

PostPosted: Sun Mar 27, 2005 10:17 pm    Post subject: Reply with quote

Code:
Command (m for help): p

Disk /dev/sda: 200.0 GB, 200049647616 bytes
255 heads, 63 sectors/track, 24321 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1           3       24066   fd  Linux raid autodetect
/dev/sda2               4        4867    39070080   fd  Linux raid autodetect
/dev/sda3            4868       24199   155284290   fd  Linux raid autodetect
/dev/sda4           24200       24321      979965   82  Linux swap / Solaris


sdb sieht identisch aus.
Back to top
View user's profile Send private message
Linuxpeter
Guru
Guru


Joined: 28 May 2004
Posts: 403
Location: Dresden, Germany

PostPosted: Sun Mar 27, 2005 11:09 pm    Post subject: Reply with quote

Poste bitte deine /etc/mdadm.conf.
_________________
Regards, Linuxpeter
Wenn "Windows" die Antwort ist, war es eine dumme Frage. ;-)
Is "Windows" the answer, then it was a stupid question. ;-)
Back to top
View user's profile Send private message
ziererk
n00b
n00b


Joined: 26 Mar 2004
Posts: 32
Location: Germany

PostPosted: Mon Mar 28, 2005 6:41 pm    Post subject: Reply with quote

Ne /etc/mdadm hab ich nicht. Gibts die heutzutage noch, oder sollte es die geben? Die ist doch noch aus der 2.0er und 2.2er Zeit?

Ich kann nur die /etc/raidtab posten...

Code:
raiddev                 /dev/md0
raid-level              1
nr-raid-disks           2
chunk-size              128k
persistent-superblock   1
nr-spare-disks          0
        device          /dev/sda2
        raid-disk       0
        device          /dev/sdb2
        raid-disk       1

raiddev                 /dev/md1
raid-level              1
nr-raid-disks           2
chunk-size              128k
persistent-superblock   1
nr-spare-disks          0
        device          /dev/sda3
        raid-disk       0
        device          /dev/sdb3
        raid-disk       1

raiddev                 /dev/md2
raid-level              1
nr-raid-disks           2
chunk-size              128k
persistent-superblock   1
nr-spare-disks          0
        device          /dev/sda1
        raid-disk       0
        device          /dev/sdb1
        raid-disk       1
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum