DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 12th November 2008
graudeejs's Avatar
graudeejs graudeejs is offline
Real Name: Aldis Berjoza
ISO Quartermaster
 
Join Date: Jul 2008
Location: Riga, Latvia
Posts: 589
Default RAID0 speed?

do you think RAID0 would increase read/write speed on my box:

ad4: 238475MB <WDC WD2500KS-00MJB0 02.01C03> at ata2-master SATA150
and?
ad0: 152627MB <SAMSUNG SP1604N TM100-30> at ata0-master UDMA33

ad4 is connected on sata150 (250GB)
while ad0 is connected on IDE (160GB)


I was reading wiki:
Quote:
RAID 0 (striped disks) distributes data across several disks in a way that gives improved speed and full capacity, but all data on all disks will be lost if any one disk fails.
and, i wanted to know:
Is it meant that HDD completely fails (and you can throw it out), or
fails after some reboot, when on non-raid disk you can use fsck to fix?


Would you recommend me using raid?
Reply With Quote
  #2   (View Single Post)  
Old 12th November 2008
Bruco Bruco is offline
Fdisk Soldier
 
Join Date: May 2008
Location: Kalamazoo, MI, USA
Posts: 61
Default

I wouldn't, simply because you'll lose a large amount of the capacity of ad4 if you use RAID-0.

And while I don't use geom (I have a hardware IDE RAID-5 card I do use), I would imagine the difference in I/O between your IDE drive and SATA drive could either cause problems, or negate any performance increase you might be looking for. That's just me theorizing, I don't actually know. (I'm also assuming geom allows RAID sets to be built from disks on different types of interfaces!)

I'm not sure I understand the last question - if one of your drives fails in a RAID-0 you lose your data, yes... but I'm not sure what else you are asking about?
Reply With Quote
  #3   (View Single Post)  
Old 12th November 2008
graudeejs's Avatar
graudeejs graudeejs is offline
Real Name: Aldis Berjoza
ISO Quartermaster
 
Join Date: Jul 2008
Location: Riga, Latvia
Posts: 589
Default

Should bough disk be same size?


My mother board supports RAID0/1
it also support combining ATA and SATA in raid (some kind of enhanced raid)


also using software raid you can make raid of partitions....
Reply With Quote
  #4   (View Single Post)  
Old 12th November 2008
Bruco Bruco is offline
Fdisk Soldier
 
Join Date: May 2008
Location: Kalamazoo, MI, USA
Posts: 61
Default

Unless something has changed that I don't know about, yes, you would probably want to use disks of the same size. I don't believe you HAVE to, but the useable space on each disk would be that of the smallest disk. So, in your case you could only use 160GB of your SATA drive, giving you a total of 320GB in the RAID set.

That's cool that your motherboard will allow you to mix the interface types to create a RAID set. You can tell how long it's been since I've purchased a new PC motherboard... sigh.

Ah, well, like I said, I haven't used software RAID. My box at home does have a hardware RAID, but that's it.

I'd be curious what others' opinions are on this, too.
Reply With Quote
  #5   (View Single Post)  
Old 12th November 2008
graudeejs's Avatar
graudeejs graudeejs is offline
Real Name: Aldis Berjoza
ISO Quartermaster
 
Join Date: Jul 2008
Location: Riga, Latvia
Posts: 589
Default

Quote:
Originally Posted by Bruco View Post
That's cool that your motherboard will allow you to mix the interface types to create a RAID set. You can tell how long it's been since I've purchased a new PC motherboard... sigh.
My box is about 4-5 years old
Motherboard: Abit AS-8
Reply With Quote
  #6   (View Single Post)  
Old 12th November 2008
Bruco Bruco is offline
Fdisk Soldier
 
Join Date: May 2008
Location: Kalamazoo, MI, USA
Posts: 61
Default

Well, then, you see what I mean! I do actually have one PC at home that's pretty new, but I got it pre-built and I'm only doing RAID with SATA drives on that one (RAID-0, in fact!). So I was not aware of the mixing of disk types that could be done. Pretty cool.

(Edited to add - that's a Windows box, which is why I didn't mention it before. I'm doing IDE RAID-5 with a Highpoint card on my FreeBSD box at home.)
Reply With Quote
  #7   (View Single Post)  
Old 12th November 2008
phoenix's Avatar
phoenix phoenix is offline
Risen from the ashes
 
Join Date: May 2008
Posts: 696
Default

You don't want to run RAID0, period, unless you have a super-stringent, continuously running, backup setup. If any 1 disk in a RAID0 array dies, you lose all data in the array.

The only time you should use RAID0 is when it's part of a RAID1+RAID0 (aka RAID1+0, or RAID10). But, that requires 4 drives as a minimum.

You also don't want to create RAID arrays using different sized or different speed of drives. It's possible to do, but will impact throughput for any data stored on the slower drives/interfaces.
__________________
Freddie

Help for FreeBSD: Handbook, FAQ, man pages, mailing lists.
Reply With Quote
  #8   (View Single Post)  
Old 12th November 2008
Bruco Bruco is offline
Fdisk Soldier
 
Join Date: May 2008
Location: Kalamazoo, MI, USA
Posts: 61
Default

Well put, phoenix. Sort of what I was trying to say, but yours was a much clearer and concise post!

The reason I run RAID-0 on that Windows box is because I want speed, speed, speed, and have absolutely no important data on it. The important data is, of course, on the FreeBSD box with RAID-5!
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
A Few Questions, Opera, CS, Speed, Jail. bryn1u OpenBSD General 11 12th May 2009 02:54 PM
speed pkg_add netbsd vs. freebsd kasse NetBSD General 3 23rd November 2008 07:52 PM
FreeBSD + Disk speed graudeejs FreeBSD Installation and Upgrading 9 19th November 2008 09:33 PM
Speed of and speeding up sshfs ninjatux FreeBSD General 2 30th July 2008 08:44 PM
Set speed limit for ports download pax FreeBSD Ports and Packages 2 29th July 2008 02:41 PM


All times are GMT. The time now is 09:54 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick