Go Back   { mindfrost82.com } > Gadget Corner > Tech Newsgroups > Linux

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-19-2008, 04:51 AM
David T. Ashley
 
Posts: n/a
RAID 1 Questions

Just a couple of RAID 1 questions:

a)If I set up a RAID 1 system with two hard disks, what is possible in terms
of swap partitions? It seems that I kind of need a third disk ...

Can swap partitions be RAID as well?

The reason I'm asking is that if a hard drive containing a swap partition
dies, the system is pretty well dead as well. With only two hard disks, it
isn't clear the best arrangement.

b)I've noticed that on Dell's web page, if one configures a server for RAID
1, it typically requires a separate disk controller. Why is this? Does
RAID 1 require special hardware support?

Thanks, Dave A.

Reply With Quote
  #2 (permalink)  
Old 07-19-2008, 05:12 AM
J.O. Aho
 
Posts: n/a
Re: RAID 1 Questions

David T. Ashley wrote:

> a)If I set up a RAID 1 system with two hard disks, what is possible in
> terms of swap partitions? It seems that I kind of need a third disk ...
>
> Can swap partitions be RAID as well?


Yes it can, but you don't gain much of from that as the data in the swap is
more or less temporal.

> The reason I'm asking is that if a hard drive containing a swap
> partition dies, the system is pretty well dead as well. With only two
> hard disks, it isn't clear the best arrangement.


The system can manage quite well after loosing the swap disk (if you have a
lot or ram, you most likely won't be using the swap at all), but in your case
where you have your system on the same hard drive as the swap, your system
will be gone until swap the hard drives.


> b)I've noticed that on Dell's web page, if one configures a server for
> RAID 1, it typically requires a separate disk controller. Why is this?
> Does RAID 1 require special hardware support?


No, you don't any special hardware for using RAID 1, when using Linux the only
requirements is two hard drives, as you can use softRAID (software based
raid). Most motherboards for home end users with RAID has a "low quality raid"
and most people seems to recommend the softRAID over the motherboards raid.

If you are looking at the DELLs servers, here you usually have a good hardware
based RAID, those costs more money, you attach a proper SCSI hard disk array,
but yes of course you have to spend a lot more money and may not be something
for a home user.


--

//Aho
Reply With Quote
  #3 (permalink)  
Old 07-19-2008, 09:21 AM
wisdomkiller & pain
 
Posts: n/a
Re: RAID 1 Questions

David T. Ashley wrote:

> Just a couple of RAID 1 questions:
>
> a)If I set up a RAID 1 system with two hard disks, what is possible in
> terms
> of swap partitions? It seems that I kind of need a third disk ...
>
> Can swap partitions be RAID as well?
>

Yes, they can, but it is not recommended.

> The reason I'm asking is that if a hard drive containing a swap partition
> dies, the system is pretty well dead as well. With only two hard disks,
> it isn't clear the best arrangement.
>

Most of the times, when a harddisk dies during work, it isn't (just) the
plattern that fails - it will bring down the ide or sata controller, at
least the driver, as well, making the system almost stall or even need a
hard reboot.
After a reboot, the content of your previous swapspace is not that important
anymore ;-)
You may have two swap partitions unraided, one on each drive, and linux will
manage to load-balance their usage.

> b)I've noticed that on Dell's web page, if one configures a server for
> RAID
> 1, it typically requires a separate disk controller. Why is this? Does
> RAID 1 require special hardware support?
>

There are real hardware raid controllers - the OS will only see ones scsi
disk, so you have not much choice for the swapfile either. These devices
contain a bios and a dedicated processor. Therefore they are not really
dirt cheap, and they are not part of common mainboards either. Monitoring
is a proprietary application, if even supplied for linux.

Then, there is bios-raid pretending to do the same, but it needs a OS driver
module once control is at kernel level. These are most "mainboard raid
controllers". The workload is on the CPU. Changing the kernel implies
recompiling the module if it's not already included. Monitoring may be a
proprietary solution as well.

Third, you (and I) probably have linux software raid, which lets the CPU do
the work as well, but allows full control (you may have 3 or more disks,
the /boot partition raid1 with spare, others raid5, /tmp raid0 and so on)
and standard mdadm monitoring features.

Reply With Quote
  #4 (permalink)  
Old 07-22-2008, 11:58 PM
Ivan Marsh
 
Posts: n/a
Re: RAID 1 Questions

On Sat, 19 Jul 2008 00:51:40 -0400, David T. Ashley wrote:

> b)I've noticed that on Dell's web page, if one configures a server for
> RAID 1, it typically requires a separate disk controller. Why is this?
> Does RAID 1 require special hardware support?


If you have one controller and two drives one of the drives can fail.
If you have two controllers and two drives one of the controllers or one
of the drives can fail.

It's just an added level of redundancy... and depending on the hardware,
may improve performance.
Reply With Quote
Reply

  { mindfrost82.com } > Gadget Corner > Tech Newsgroups > Linux


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

vB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 05:51 AM.


Powered by vBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
© 1999-2008 mindfrost82.com v11.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109