hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Colocation and Data Centers : buying a server, some raid 5 questions
Reply

Colocation and Data Centers Find data centers, server hardware, bandwidth providers, and techniques for colocation purposes. Get advice on colocation web hosting, review providers and offer suggestions on choosing colocation hosting services and the right datacenter. If your service is unavailable, please click here.
Forum Jump

buying a server, some raid 5 questions

Reply Post New Thread In Colocation and Data Centers Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 04-05-2006, 03:12 PM
disgust disgust is offline
Junior Guru
 
Join Date: Jun 2004
Posts: 234

buying a server, some raid 5 questions


my understanding of raid 5 with three disks is as follows:

a data block is written to drive 1, a data block is written to drive 2. this accomplishes the speed increase. then, on disk 3, a parity file is placed.

my question is, what happens if the parity drive fails, NOT one of the data block drives?

also, assuming a drive fails, how do you rebuild things with another drive? and raid requires the disks to be identical, correct? if a disk fails, how do I know I'll be able to get another of the exact same model of drive?

Reply With Quote


Sponsored Links
  #2  
Old 04-05-2006, 05:26 PM
tnndotnet tnndotnet is offline
Web Hosting Guru
 
Join Date: Feb 2006
Location: Pittsburgh PA
Posts: 289
Parity information is stored on each drive.

So a small piece of parity information is written on each drive. So if one fails, you dont lose all of the parity information. This is one of the more popular raid methods.

Also here is a pretty nifty site I found about Raid 5:

http://www.pcguide.com/ref/hdd/perf/...eLevel5-c.html

Dan

Reply With Quote
  #3  
Old 04-05-2006, 05:31 PM
disgust disgust is offline
Junior Guru
 
Join Date: Jun 2004
Posts: 234
thanks for the link. what does this mean though? "Degradation and Rebuilding: Due to distributed parity, degradation can be substantial after a failure and during rebuilding."

does that mean not everything would be able to be recovered?

Reply With Quote
Sponsored Links
  #4  
Old 04-05-2006, 06:41 PM
lpmusic lpmusic is offline
Junior Guru
 
Join Date: Apr 2004
Posts: 202
everything will, lest two drives crap out on you, then you bust out that backup we all know you have.

When you are running with a failed drive (or a hot-spare is rebuilding to join the array) you experience slower speeds because the array is having to reconstruct half(?) the data using the parity.

__________________
http://denetron.com

Reply With Quote
  #5  
Old 04-05-2006, 07:19 PM
cwl@apaqdigital cwl@apaqdigital is offline
Web Hosting Master
 
Join Date: May 2004
Location: Atlanta, GA
Posts: 3,619
1. you need a method to get notification when array member failed, otherwise you won't even know RAID-5 is in degraded state (single drive failed). if 2nd drive also failed in degraded array or before the rebulding is completed, it's toasted! don't think it couldn't happen, the fact is that 2 drives can fail at the same time range if they are coming from the same batch.
2. unless you have standby hot-spare, the RAID5 won't get automatically rebuilt, you need to "manually" tell the raid card to rebuild
3. redundant array only provides redundancy against hardware failures, it can't replace the equally important OS/DATA "backups"

__________________
C.W. LEE, Apaq Digital Systems
http://www.apaqdigital.com
sales@apaqdigital.com


Reply With Quote
  #6  
Old 04-05-2006, 08:54 PM
lpmusic lpmusic is offline
Junior Guru
 
Join Date: Apr 2004
Posts: 202
Some raid cards do rebuild, for instance the raid cards in most [at least the compaqs i have] compaqs, will automatically rebuild as soon as you pop a good drive into the slot (these are hot-swap drives as well).

As for telling if a drive failed, in free/net bsd i've notice you'll get a load of "soft errors" in /var/log/messages / dmesg

__________________
http://denetron.com

Reply With Quote
  #7  
Old 04-06-2006, 11:33 PM
MrMan MrMan is offline
WHT Addict
 
Join Date: Feb 2005
Posts: 105
Newbie questions:
How can you tell which drive failed?

When doing backups, do you backup each drive, since each drive contains different blocks?

Reply With Quote
  #8  
Old 04-07-2006, 12:00 AM
lpmusic lpmusic is offline
Junior Guru
 
Join Date: Apr 2004
Posts: 202
depending on the setup, in your logs it should tell you which drive, and you should be able to get into the bios for the raid controller and "select" the drive and it'll flash the light on it for you, or the controller may automatically do this.

As for backing up, backup the whole logical drive, just as your OS sees it.

__________________
http://denetron.com

Reply With Quote
  #9  
Old 04-07-2006, 01:12 AM
MrMan MrMan is offline
WHT Addict
 
Join Date: Feb 2005
Posts: 105
Oh okay, so when restoring from a backup (hope one never has to do that though), the OS or RAID controller would handle the distributing of blocks to each drive?

Reply With Quote
  #10  
Old 04-07-2006, 09:53 AM
guyellis1988 guyellis1988 is offline
Web Hosting Evangelist
 
Join Date: Jun 2004
Posts: 506
Yes - the OS would if its software raid (bad!) or the raid card woulod if its proper raid (good!) you dont worry about the rebuilding just set it going and wait.

We recently had a drive fail on a Raid-5 array (405 gig, 4 x 146gb drives) a nice setup, we were lucky because another drive failed literally 45 minutes after the array had rebuild - if we didnt have a "hot spare" on board we could have been in trouble!

I highly reccomend keeping a hot spare and keeping your OS on a different array

We tend to build OS onto two mirrored 15k 36 gig drives, 4 x 72gb or 4 x 146gb 10k drives for the raid 5 array and a hot spare on the raid 5.

Reply With Quote
  #11  
Old 04-07-2006, 10:54 AM
easyplank easyplank is offline
Junior Guru Wannabe
 
Join Date: Apr 2006
Posts: 73
I have a number of raid5 arrays setup which do have exactly that, hot swap and with the OS partition seperate from the storage arrays as that makes it easier to manage when things do fail.

Saying that, rebuilds can be lengthy but are effective if a drive fails and the machine can continue to run once a drive fails without to much hassle in correcting it.

What RAID cards are you guys using for your setups?

Reply With Quote
  #12  
Old 04-09-2006, 05:30 AM
Gigalocker Gigalocker is offline
Newbie
 
Join Date: Aug 2004
Posts: 14
I'm using raid-5 on FreeBSD via 3Ware 9xxx-series raid controller. I'm curious if a drive fails, and you have your hotswap setup properly so it rebuilds the data from parity correctly. How would you know that you now have a dead drive and your array is without a hotswap?

Reply With Quote
  #13  
Old 04-09-2006, 10:28 PM
cwl@apaqdigital cwl@apaqdigital is offline
Web Hosting Master
 
Join Date: May 2004
Location: Atlanta, GA
Posts: 3,619
assuming you meant 'hot-spare' instead of 'hot-swap'. if you do have hot-spare pre-assigned in RAID BIOS, then the RAID card will automatically "deactivate" the defective member, swap in the hot-spare drive, then it will automatically rebuild the RAID5. all these steps are done without human intervention.

all major RAID cards have bundled array management software which provides "event notification' (such as array member fails) to preset email addresses (SNMP forwarding). however, it requires X-windows to work if you use linux/BSD.

__________________
C.W. LEE, Apaq Digital Systems
http://www.apaqdigital.com
sales@apaqdigital.com


Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
Swedish Police Raid Web Host PRQ, Take Down File-Sharing and Streaming Sites Web Hosting News 2012-10-02 11:19:32
Web Host ServInt Overhauls Dedicated Managed Servers with New Flex Line Web Hosting News 2012-03-13 10:48:00
Web Host 1&1 Enhances Dedicated Server Line with 32 Core, 64 GB RAM Server Web Hosting News 2011-12-20 15:30:05
Web Host WiredTree Upgrades Hybrid Server Plans Web Hosting News 2011-09-19 20:44:48
FBI Confiscates Servers from Swiss Web Host DigitalOne's Virginia Site Web Hosting News 2011-06-22 14:00:40


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?