linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* consistency detect
@ 2004-10-11  3:32 Ming Zhang
  2004-10-11  8:54 ` Brad Campbell
  2004-10-11 23:23 ` Neil Brown
  0 siblings, 2 replies; 9+ messages in thread
From: Ming Zhang @ 2004-10-11  3:32 UTC (permalink / raw)
  To: linux-raid

I have a question on RAID error detect. hope somebody can help me to
find it out. thanks.

take raid1 as an example, if one disk fail, raid 1 can detect the data
on disk is compromised and then reconstruct it using a spare disk. this
is straight forward.

but if one request comes to raid1 and raid1 sends requests to both
disks, at this time, system reboots because power outage, system
crashes, or any other reason. then after system reboots, how raid 1
detects which disk has consistent data? since before reboot, anything
can happen, data may in disk1 but not in disk2, or in disk2 but not in
disk1, or not in both disks, or already on both disks.

how raid1 or other raid code deal with this?


ming


-- 
 --------------------------------------------------
| Ming Zhang, PhD. Student
| Dept. of Electrical & Computer Engineering
| College of Engineering
| University of Rhode Island
| Kingston RI. 02881
| e-mail: mingz at ele.uri.edu
| Tel. (401) 874-2293 
| Fax. (401) 782-6422
| http://www.ele.uri.edu/~mingz/
| http://crab.ele.uri.edu/gallery/albums.php
 --------------------------------------------------



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2004-10-12  0:43 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-11  3:32 consistency detect Ming Zhang
2004-10-11  8:54 ` Brad Campbell
2004-10-11 10:42   ` Michael Tokarev
2004-10-11 10:58     ` Brad Campbell
2004-10-11 21:15       ` Ming Zhang
2004-10-11 23:23 ` Neil Brown
2004-10-12  0:05   ` Ming Zhang
2004-10-12  0:13     ` Neil Brown
2004-10-12  0:43       ` Ming Zhang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).