[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Problem mdadm / mdstat sata raid



Fred Jakobza wrote:
Ralf Schmidt wrote:

Hallo Fred,

Am Wed, 07 Sep 2005 12:48:29 +0200 schrieb Fred Jakobza:


Nein er nimmt zum Synchronisieren mal /dev/sdbx und mal /dev/sdax


Was steht in /etc/mdadm/mdadm.conf?

Sie sollte in etwa so aussehen
DEVICE  /dev/hda1 /dev/hda5 /dev/hda6 /dev/hda7 /dev/hdc1 /dev/hdc5
/dev/hdc6 /dev/hdc7
ARRAY /dev/md6 level=raid1 num-devices=2
UUID=941bcf03:
   devices=/dev/hda6,/dev/hdc6
ARRAY /dev/md7 level=raid1 num-devices=2
UUID=1b595dd2:
   devices=/dev/hda7,/dev/hdc7
ARRAY /dev/md5 level=raid1 num-devices=2
UUID=471c67ee:
   devices=/dev/hda5,/dev/hdc5
ARRAY /dev/md1 level=raid1 num-devices=2
UUID=1c44dce3:
   devices=/dev/hda1,/dev/hdc1


Bei Dir halt auf sda, sdb und die Partitionierung bezogen.

Ha, da stehen die Partion nicht mehr drin, sollte da was fehlen?

DEVICE partitions
ARRAY /dev/md4 level=raid1 num-devices=2 UUID=881cb8ad:4d6f001d:8bb83ba2:b07c7335
   devices=/dev/sda6,/dev/sdb6
ARRAY /dev/md3 level=raid1 num-devices=2 UUID=a8c3bb2e:c791d4e7:23fd4532:4cebf07c
   devices=/dev/sda5,/dev/sdb5
ARRAY /dev/md2 level=raid1 num-devices=2 UUID=8ba57ab8:3e5c18dc:b676fd63:7abbb357
   devices=/dev/sda3,/dev/sdb3
ARRAY /dev/md1 level=raid1 num-devices=2 UUID=ca126d8f:a4977d20:fb041ef9:920db231
   devices=/dev/sda2,/dev/sdb2
ARRAY /dev/md0 level=raid1 num-devices=2 UUID=74a278ee:b67d0562:b57d5d19:946e9661
   devices=/dev/sda1,/dev/sdb1
Das "DEVICE partitions" ist laut man pages erlaubt.
Habe jetzt die partition mit "DEVICE /dev/sda* /dev/sdb*"
eingetragen ohne Ergebnis.

Das Problem ist das das ganze RAID 1 ist und hotswapable sein soll.
und das ganze sieht so aus (mdadm -Q -D /dev/mdx)

/dev/sda1 	RaidDevice 1
/dev/sda2 	RaidDevice 1
/dev/sda3 	RaidDevice 1
/dev/sda5 	RaidDevice 0
/dev/sda6 	RaidDevice 0

Ich habe hier die Befürchtung, dass die Daten beim hotswap
beim Synchronisiren (also nach wieder hinzufügen zum raid)
von den falschen platten synchronisiert werden.

Gibt es da eine Idee?

Danke.  Viele Grüße Fred



Reply to: