* 3 disk RAID1? @ 2010-03-08 20:39 Mark Knecht 2010-03-08 20:58 ` Robin Hill 0 siblings, 1 reply; 8+ messages in thread From: Mark Knecht @ 2010-03-08 20:39 UTC (permalink / raw) To: Linux-RAID Hi all, I'm still very much on a steep learning curve about what I can do with Linux software RAID. In another thread this weekend a couple of responders discussed among themselves 3-disk RAID1 solutions that can survive if 2 disks die. I don't understand what that means. Can someone point me at a quick explanation? Is that really possible? In general I'm using a few Wikipedia pages and gravitate toward the diagrams as much as anything. http://en.wikipedia.org/wiki/RAID http://en.wikipedia.org/wiki/RAID1#RAID_1 RAID0 - striping, speed not reliability (2 disk minimum) RAID1 - duplicate data, no other protection (2 disk minimum) How do I build RAID1 using three drives? Just duplicate the data 3 times? If drives start going bad how do I determine which one or two are failing? (fsck? SMART?) With 3 drives 1 fail seems relatively straightforward to figure out, but 2? Thanks, Mark ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: 3 disk RAID1? 2010-03-08 20:39 3 disk RAID1? Mark Knecht @ 2010-03-08 20:58 ` Robin Hill 2010-03-08 21:04 ` Mark Knecht 0 siblings, 1 reply; 8+ messages in thread From: Robin Hill @ 2010-03-08 20:58 UTC (permalink / raw) To: Linux-RAID [-- Attachment #1: Type: text/plain, Size: 1971 bytes --] On Mon Mar 08, 2010 at 12:39:26PM -0800, Mark Knecht wrote: > Hi all, > I'm still very much on a steep learning curve about what I can do > with Linux software RAID. In another thread this weekend a couple of > responders discussed among themselves 3-disk RAID1 solutions that can > survive if 2 disks die. I don't understand what that means. Can > someone point me at a quick explanation? Is that really possible? > > In general I'm using a few Wikipedia pages and gravitate toward the > diagrams as much as anything. > > http://en.wikipedia.org/wiki/RAID > http://en.wikipedia.org/wiki/RAID1#RAID_1 > > RAID0 - striping, speed not reliability (2 disk minimum) > RAID1 - duplicate data, no other protection (2 disk minimum) > > How do I build RAID1 using three drives? Just duplicate the data 3 > times? If drives start going bad how do I determine which one or two > are failing? (fsck? SMART?) With 3 drives 1 fail seems relatively > straightforward to figure out, but 2? > A 3-disk RAID1 is just 3 duplicate copies, yes. And RAID only protects against hardware failures, so you know which disk has failed because it gets kicked out of the array as faulty. This is the same regardless of how many mirrored copies you have (md will detect a write failure to a drive and mark it as faulty - read errors will cause the failed block to get rewritten). As for how to create it - it's just the same process as for a 2-disk RAID1 but specifying 3 drives (assuming you're using Linux md software RAID - if not, please specify what you're intending to use). The manual page for mdadm should give you everything you need - do ask if there's anything you want clarifying though. Cheers, Robin -- ___ ( ' } | Robin Hill <robin@robinhill.me.uk> | / / ) | Little Jim says .... | // !! | "He fallen in de water !!" | [-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --] ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: 3 disk RAID1? 2010-03-08 20:58 ` Robin Hill @ 2010-03-08 21:04 ` Mark Knecht 2010-03-08 22:11 ` Michael Evans 0 siblings, 1 reply; 8+ messages in thread From: Mark Knecht @ 2010-03-08 21:04 UTC (permalink / raw) To: Linux-RAID On Mon, Mar 8, 2010 at 12:58 PM, Robin Hill <robin@robinhill.me.uk> wrote: > On Mon Mar 08, 2010 at 12:39:26PM -0800, Mark Knecht wrote: > >> Hi all, >> I'm still very much on a steep learning curve about what I can do >> with Linux software RAID. In another thread this weekend a couple of >> responders discussed among themselves 3-disk RAID1 solutions that can >> survive if 2 disks die. I don't understand what that means. Can >> someone point me at a quick explanation? Is that really possible? >> >> In general I'm using a few Wikipedia pages and gravitate toward the >> diagrams as much as anything. >> >> http://en.wikipedia.org/wiki/RAID >> http://en.wikipedia.org/wiki/RAID1#RAID_1 >> >> RAID0 - striping, speed not reliability (2 disk minimum) >> RAID1 - duplicate data, no other protection (2 disk minimum) >> >> How do I build RAID1 using three drives? Just duplicate the data 3 >> times? If drives start going bad how do I determine which one or two >> are failing? (fsck? SMART?) With 3 drives 1 fail seems relatively >> straightforward to figure out, but 2? >> > A 3-disk RAID1 is just 3 duplicate copies, yes. And RAID only protects > against hardware failures, so you know which disk has failed because it > gets kicked out of the array as faulty. This is the same regardless of > how many mirrored copies you have (md will detect a write failure to a > drive and mark it as faulty - read errors will cause the failed block to > get rewritten). > > As for how to create it - it's just the same process as for a 2-disk > RAID1 but specifying 3 drives (assuming you're using Linux md software > RAID - if not, please specify what you're intending to use). The manual > page for mdadm should give you everything you need - do ask if there's > anything you want clarifying though. > > Cheers, > Robin Thanks Robin. Maybe I am getting smarter about this if I'm figuring out what others are talking about! ;-) Cheers, Mark -- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: 3 disk RAID1? 2010-03-08 21:04 ` Mark Knecht @ 2010-03-08 22:11 ` Michael Evans 2010-03-08 22:18 ` Kristleifur Daðason 0 siblings, 1 reply; 8+ messages in thread From: Michael Evans @ 2010-03-08 22:11 UTC (permalink / raw) To: Mark Knecht; +Cc: Linux-RAID On Mon, Mar 8, 2010 at 1:04 PM, Mark Knecht <markknecht@gmail.com> wrote: > On Mon, Mar 8, 2010 at 12:58 PM, Robin Hill <robin@robinhill.me.uk> wrote: >> On Mon Mar 08, 2010 at 12:39:26PM -0800, Mark Knecht wrote: >> >>> Hi all, >>> I'm still very much on a steep learning curve about what I can do >>> with Linux software RAID. In another thread this weekend a couple of >>> responders discussed among themselves 3-disk RAID1 solutions that can >>> survive if 2 disks die. I don't understand what that means. Can >>> someone point me at a quick explanation? Is that really possible? >>> >>> In general I'm using a few Wikipedia pages and gravitate toward the >>> diagrams as much as anything. >>> >>> http://en.wikipedia.org/wiki/RAID >>> http://en.wikipedia.org/wiki/RAID1#RAID_1 >>> >>> RAID0 - striping, speed not reliability (2 disk minimum) >>> RAID1 - duplicate data, no other protection (2 disk minimum) >>> >>> How do I build RAID1 using three drives? Just duplicate the data 3 >>> times? If drives start going bad how do I determine which one or two >>> are failing? (fsck? SMART?) With 3 drives 1 fail seems relatively >>> straightforward to figure out, but 2? >>> >> A 3-disk RAID1 is just 3 duplicate copies, yes. And RAID only protects >> against hardware failures, so you know which disk has failed because it >> gets kicked out of the array as faulty. This is the same regardless of >> how many mirrored copies you have (md will detect a write failure to a >> drive and mark it as faulty - read errors will cause the failed block to >> get rewritten). >> >> As for how to create it - it's just the same process as for a 2-disk >> RAID1 but specifying 3 drives (assuming you're using Linux md software >> RAID - if not, please specify what you're intending to use). The manual >> page for mdadm should give you everything you need - do ask if there's >> anything you want clarifying though. >> >> Cheers, >> Robin > > Thanks Robin. Maybe I am getting smarter about this if I'm figuring > out what others are talking about! ;-) > > Cheers, > Mark > -- > To unsubscribe from this list: send the line "unsubscribe linux-raid" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > When in doubt, read the manual two or three more times. This might also help you: http://wiki.tldp.org/LVM-on-RAID I wrote some background comparison sections when I made that... -- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: 3 disk RAID1? 2010-03-08 22:11 ` Michael Evans @ 2010-03-08 22:18 ` Kristleifur Daðason 2010-03-09 1:19 ` Mark Knecht 0 siblings, 1 reply; 8+ messages in thread From: Kristleifur Daðason @ 2010-03-08 22:18 UTC (permalink / raw) To: Mark Knecht; +Cc: Linux-RAID On Mon, Mar 8, 2010 at 10:11 PM, Michael Evans <mjevans1983@gmail.com> wrote: > On Mon, Mar 8, 2010 at 1:04 PM, Mark Knecht <markknecht@gmail.com> wrote: >> On Mon, Mar 8, 2010 at 12:58 PM, Robin Hill <robin@robinhill.me.uk> wrote: >>> On Mon Mar 08, 2010 at 12:39:26PM -0800, Mark Knecht wrote: >>> >>>> Hi all, >>>> I'm still very much on a steep learning curve about what I can do >>>> with Linux software RAID. In another thread this weekend a couple of >>>> responders discussed among themselves 3-disk RAID1 solutions that can >>>> survive if 2 disks die. I don't understand what that means. Can >>>> someone point me at a quick explanation? Is that really possible? >>>> >>>> In general I'm using a few Wikipedia pages and gravitate toward the >>>> diagrams as much as anything. >>>> >>>> http://en.wikipedia.org/wiki/RAID >>>> http://en.wikipedia.org/wiki/RAID1#RAID_1 >>>> >>>> RAID0 - striping, speed not reliability (2 disk minimum) >>>> RAID1 - duplicate data, no other protection (2 disk minimum) >>>> >>>> How do I build RAID1 using three drives? Just duplicate the data 3 >>>> times? If drives start going bad how do I determine which one or two >>>> are failing? (fsck? SMART?) With 3 drives 1 fail seems relatively >>>> straightforward to figure out, but 2? >>>> >>> A 3-disk RAID1 is just 3 duplicate copies, yes. And RAID only protects >>> against hardware failures, so you know which disk has failed because it >>> gets kicked out of the array as faulty. This is the same regardless of >>> how many mirrored copies you have (md will detect a write failure to a >>> drive and mark it as faulty - read errors will cause the failed block to >>> get rewritten). >>> >>> As for how to create it - it's just the same process as for a 2-disk >>> RAID1 but specifying 3 drives (assuming you're using Linux md software >>> RAID - if not, please specify what you're intending to use). The manual >>> page for mdadm should give you everything you need - do ask if there's >>> anything you want clarifying though. >>> >>> Cheers, >>> Robin >> >> Thanks Robin. Maybe I am getting smarter about this if I'm figuring >> out what others are talking about! ;-) >> >> Cheers, >> Mark >> -- >> To unsubscribe from this list: send the line "unsubscribe linux-raid" in >> the body of a message to majordomo@vger.kernel.org >> More majordomo info at http://vger.kernel.org/majordomo-info.html >> > > When in doubt, read the manual two or three more times. > > This might also help you: http://wiki.tldp.org/LVM-on-RAID I wrote > some background comparison sections when I made that... Good advice. The contents of the manual didn't really stick for me until I'd actually *done* the tasks I was trying to figure out. The beautiful and classic Catch-22 of learning new things. So I somewhat empathically suggest you obtain a virtual machine program and start up a few disposable virtual machines. (VirtualBox is pretty good and also free.) Try creating some RAID's on VM's and getting them to boot, try failing a device and readding it, etc. And keep the manual in a window next to the virtual machine's window :) -- Kristleifur -- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: 3 disk RAID1? 2010-03-08 22:18 ` Kristleifur Daðason @ 2010-03-09 1:19 ` Mark Knecht 2010-03-09 1:26 ` Leslie Rhorer 0 siblings, 1 reply; 8+ messages in thread From: Mark Knecht @ 2010-03-09 1:19 UTC (permalink / raw) To: Kristleifur Daðason; +Cc: Linux-RAID On Mon, Mar 8, 2010 at 2:18 PM, Kristleifur Daðason <kristleifur@gmail.com> wrote: <SNIP> >> >> When in doubt, read the manual two or three more times. >> >> This might also help you: http://wiki.tldp.org/LVM-on-RAID I wrote >> some background comparison sections when I made that... > > Good advice. > > The contents of the manual didn't really stick for me until I'd > actually *done* the tasks I was trying to figure out. The beautiful > and classic Catch-22 of learning new things. So I somewhat > empathically suggest you obtain a virtual machine program and start up > a few disposable virtual machines. (VirtualBox is pretty good and also > free.) Try creating some RAID's on VM's and getting them to boot, try > failing a device and readding it, etc. > > And keep the manual in a window next to the virtual machine's window :) > > -- Kristleifur > Exactly what I'm working on this afternoon. I've not created many VM's from scratch so there's a learning curve there, but potentially making the hard drives virtual in the new VM setup and then applying RAID to them seems like a good way to practice. Additionally I'm going to purchase maybe 3 or 4 drives and then see about using the other SATA ports on my desktop motherboard to create additional storage that I can get some real performance numbers on. Thanks! - Mark -- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 8+ messages in thread
* RE: 3 disk RAID1? 2010-03-09 1:19 ` Mark Knecht @ 2010-03-09 1:26 ` Leslie Rhorer 2010-03-09 3:17 ` Michael Evans 0 siblings, 1 reply; 8+ messages in thread From: Leslie Rhorer @ 2010-03-09 1:26 UTC (permalink / raw) To: 'Mark Knecht'; +Cc: 'Linux-RAID' > -----Original Message----- > From: linux-raid-owner@vger.kernel.org [mailto:linux-raid- > owner@vger.kernel.org] On Behalf Of Mark Knecht > Sent: Monday, March 08, 2010 7:19 PM > To: Kristleifur Daðason > Cc: Linux-RAID > Subject: Re: 3 disk RAID1? > > On Mon, Mar 8, 2010 at 2:18 PM, Kristleifur Daðason > <kristleifur@gmail.com> wrote: > <SNIP> > >> > >> When in doubt, read the manual two or three more times. > >> > >> This might also help you: http://wiki.tldp.org/LVM-on-RAID I wrote > >> some background comparison sections when I made that... > > > > Good advice. > > > > The contents of the manual didn't really stick for me until I'd > > actually *done* the tasks I was trying to figure out. The beautiful > > and classic Catch-22 of learning new things. So I somewhat > > empathically suggest you obtain a virtual machine program and start up > > a few disposable virtual machines. (VirtualBox is pretty good and also > > free.) Try creating some RAID's on VM's and getting them to boot, try > > failing a device and readding it, etc. > > > > And keep the manual in a window next to the virtual machine's window :) > > > > -- Kristleifur > > > > Exactly what I'm working on this afternoon. I've not created many VM's > from scratch so there's a learning curve there, but potentially making > the hard drives virtual in the new VM setup and then applying RAID to > them seems like a good way to practice. > > Additionally I'm going to purchase maybe 3 or 4 drives and then see > about using the other SATA ports on my desktop motherboard to create > additional storage that I can get some real performance numbers on. Your mileage may definitely vary, but neither of the servers on which I run mdadm have motherboards which allow mdadm to recognize the drives. For both of them, only drives 0 and 1 are properly recognized by Linux. I had to purchase SATA controllers for both. Both are Asus AMD-64 motherboards. -- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: 3 disk RAID1? 2010-03-09 1:26 ` Leslie Rhorer @ 2010-03-09 3:17 ` Michael Evans 0 siblings, 0 replies; 8+ messages in thread From: Michael Evans @ 2010-03-09 3:17 UTC (permalink / raw) To: Leslie Rhorer; +Cc: Mark Knecht, Linux-RAID Quite odd, my AMD64 asus mobos work just fine. Of course I have been avoiding all NForce chipsets for years. Maybe you should set the BIOS so that the discs are presented as AHCI devices? On Mon, Mar 8, 2010 at 5:26 PM, Leslie Rhorer <lrhorer@satx.rr.com> wrote: > > >> -----Original Message----- >> From: linux-raid-owner@vger.kernel.org [mailto:linux-raid- >> owner@vger.kernel.org] On Behalf Of Mark Knecht >> Sent: Monday, March 08, 2010 7:19 PM >> To: Kristleifur Dašason >> Cc: Linux-RAID >> Subject: Re: 3 disk RAID1? >> >> On Mon, Mar 8, 2010 at 2:18 PM, Kristleifur Dašason >> <kristleifur@gmail.com> wrote: >> <SNIP> >> >> >> >> When in doubt, read the manual two or three more times. >> >> >> >> This might also help you: http://wiki.tldp.org/LVM-on-RAID I wrote >> >> some background comparison sections when I made that... >> > >> > Good advice. >> > >> > The contents of the manual didn't really stick for me until I'd >> > actually *done* the tasks I was trying to figure out. The beautiful >> > and classic Catch-22 of learning new things. So I somewhat >> > empathically suggest you obtain a virtual machine program and start up >> > a few disposable virtual machines. (VirtualBox is pretty good and also >> > free.) Try creating some RAID's on VM's and getting them to boot, try >> > failing a device and readding it, etc. >> > >> > And keep the manual in a window next to the virtual machine's window :) >> > >> > -- Kristleifur >> > >> >> Exactly what I'm working on this afternoon. I've not created many VM's >> from scratch so there's a learning curve there, but potentially making >> the hard drives virtual in the new VM setup and then applying RAID to >> them seems like a good way to practice. >> >> Additionally I'm going to purchase maybe 3 or 4 drives and then see >> about using the other SATA ports on my desktop motherboard to create >> additional storage that I can get some real performance numbers on. > > Your mileage may definitely vary, but neither of the servers on > which I run mdadm have motherboards which allow mdadm to recognize the > drives. For both of them, only drives 0 and 1 are properly recognized by > Linux. I had to purchase SATA controllers for both. Both are Asus AMD-64 > motherboards. > > -- > To unsubscribe from this list: send the line "unsubscribe linux-raid" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > -- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2010-03-09 3:17 UTC | newest] Thread overview: 8+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2010-03-08 20:39 3 disk RAID1? Mark Knecht 2010-03-08 20:58 ` Robin Hill 2010-03-08 21:04 ` Mark Knecht 2010-03-08 22:11 ` Michael Evans 2010-03-08 22:18 ` Kristleifur Daðason 2010-03-09 1:19 ` Mark Knecht 2010-03-09 1:26 ` Leslie Rhorer 2010-03-09 3:17 ` Michael Evans
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).