Mailinglist Archive: opensuse (1495 mails)

< Previous Next >
Re: [opensuse] mdraid 1 - is one driver primary for read/write, then sync mirrors?
  • From: Per Jessen <per@xxxxxxxxxxxx>
  • Date: Wed, 01 Apr 2009 12:01:41 +0200
  • Message-id: <gqve25$j0c$1@xxxxxxxxxxxxxxxx>
David C. Rankin wrote:

Thinking about it (dangerous thing to do) the questions arose of (1)
how does mdraid actually work, is there a primary drive that is uses
for read/write while the other is there for sync/backup?

Not that I know of - I think it would make sense to (attempt to) read
from both drives.

(2) If you can't write simultaneously to both at the same time using
the same clock cycle (can you??)

Not simultaneously, the write command is undoubtedly sent to all mirrors
one by one.

so somewhere it seems there must be a write/copy function in the
mdraid scheme, and if the drives are slaved together by my the data in
mdadm.conf,

AFAIK, use of mdadm.conf is optional. If your RAID partitions are type
0xFD, the driver can sort out the rest.


/Per

--
Per Jessen, Zürich (7.1°C)

--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
References