linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Disk link failure impact on Disks and RAID superblock in MD.
@ 2012-04-18 11:52 Benjamin ESTRABAUD
  2012-04-18 12:39 ` David Brown
  0 siblings, 1 reply; 3+ messages in thread
From: Benjamin ESTRABAUD @ 2012-04-18 11:52 UTC (permalink / raw)
  To: linux-raid

Hi,

I was wondering about the following:

Superblocks, and all RAID metadata, are stored on disks (to assemble the 
RAID), and also on the RAID (while assembled), and are necessary to run 
a RAID correctly, so long as at least <parity reached> of superblocks on 
disks are available, as <parity reached> number of disks are required 
for a specific RAID level to run (this excludes RAID 0 obviously).

This means that so long as less than 1 disk fails in RAID5, no more than 
one superblock will be lost and therefore the RAID can still assemble, 
and the metadata be read.

However, in modern RAID systems, the disks are all connected through a 
single path, being a SAS cable connected to a JBOD or a single SATA 
controller that can fail/crash.

Also, the RAID is not protected against power failure, which in my head 
are a bit equivalent to a complete disk link failure (SAS cable pulled).

In these cases where all the disks are lost at once, what is the 
probability of superblock corruption (both on the RAID superblock and 
the individual disks)?

If the superblock was being written during the failure, would it be 
incompletely written and therefore corrupted?

How reliably is it to keep a RAID alive (being able to re-assemble it) 
after continuously pulling and pushing the SAS cable?

Regards,
Ben.

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

end of thread, other threads:[~2012-04-24 10:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-18 11:52 Disk link failure impact on Disks and RAID superblock in MD Benjamin ESTRABAUD
2012-04-18 12:39 ` David Brown
2012-04-24 10:55   ` Benjamin ESTRABAUD

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).