![]() |
|
Hardware Support Discussions related to using various hardware setups with SageTV products. Anything relating to capture cards, remotes, infrared receivers/transmitters, system compatibility or other hardware related problems or suggestions should be posted here. |
![]() |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
||||
|
||||
Some questions about RAID
I have an ASUS motherboard that has 5 SATA connectors and hardware RAID capabililty. I currently have one 80GB IDE "OS" drive connected, and one 320GB SATA "recordings" drive connected. I would like to add 2 more 320GB SATA drives and convert the 3 SATA drives to a RAID 5 array (leaving the IDE drive untouched.)
What's the best approach to do this without affecting the current content? I don't want to lose any of the existing content on the 320GB drive, but I want that drive (and the contained data) to ultimately be included in the RAID 5 array. Next, once I have the three SATA drives successfully configured as a RAID 5 array, what are the implications of later adding a 4th or 5th drive? Can I just seamlessly integrate them into the existing array without risking losing data? Finally, what about Windows drivers? Do I need to be concerned if I re-install Windows? I know these questions are outside the scope of SageTV, but I hope that some fellow SageTV gurus have encountered this... Thanks! Update: I just realized that I cannot have a RAID 5 array with just 2 drives, so to do it right, I guess I would need a total of 4 drives (one to temporarily hold the existing data), create the RAID 5 array on three drives, move the data from the fourth to the array, and then integrate the 4th drive into the array. Hmmm.
__________________
-Jim Barr SageTVTips.com HTPC: AMD ASUS M2N-E Socket AM2 Motherboard; Athlon 64 3200+ Orleans 2.0GHz; 2GB RAM; eVGA 256MB Geforce 7300LE; 1x40GB IDE HDD (OS), 2xSeagate Barracuda 320GB SATA HDD (Recordings); Antec Overture II Case; Windows XP Pro SP2; SageTV v6.5 STV: SageMC Video sources: Currently, none. I'm using SageTV for Music, Photos, and Video playback. Last edited by jbarr; 04-05-2007 at 07:19 AM. |
#2
|
||||
|
||||
Quote:
Constrast that with true HW RAID which has a dedicated RAID processor. Quote:
But if your controller supports RAID Level Migration and Online Capacity Expansion, you should be able to install the drives, and first convert the single drive into a 2-drive RAID-1 Array, (using one of the new drives) and second, Migrate the RAID-1 array to a 3-drive RAID-5 array. Quote:
Quote:
|
#3
|
||||
|
||||
Is this correct? I know that on all my desktop boards there is a dedicated chip for the RAID (e.g. Silicon Image, ITE, NVRaid).
__________________
unRAID Server: Intel Core i5 7600K, 48GB DDR4, 2x512GB PCIe M.2 Cache Pool, 2x10TB SATA3 Parity Drive, 3x8TB SATA Array, 1x hdHomeRun DVB-T2 Quattro, IPTV via xTeVe, unRAID 6.8.3, tvHeadEnd for recording back end, Emby Clients: 3 Nvidia Shields, 3 FireTV, 3 Win10 Pro PC Clients |
#4
|
||||
|
||||
None of those are real/full hardware chips, Intel, 3ware, LSI are the only ones I can think of that are real hardware RAID chips (Areca uses Intel processors IIRC).
Price is a very easy way to tell if it's a full hardware RAID controller or not. |
#5
|
|||
|
|||
Isn't it true that current motherboards have true hardware RAID-0 and RAID-1 built-in?
From all I've read, for safety backup of hundreds of GB of mpeg files as produced by Sage, the best way to go is RAID-1, two-drive mirroring. RAID5 on affordable disks has a fairly low write speed due to the striping. And with 500GB drives at $120 ea now, a two-drive RAID-1 at least protects from losing all the video on a failed drive. If I outgrew 500GB, I guess I'd add another pair in RAID-1. We average every day a 300GB total of videos, and we don't archive movies. Can't imaging having a 500GB backlog, unless we start storing movies on hard disk. (just not many movies we care to keep). |
#6
|
||||
|
||||
Quote:
Quote:
However once you start getting into 3 drives of data, the costs of the extra HDDs outweighs the cost of a good RAID controller. Quote:
|
#7
|
|||
|
|||
I use raid a lot, there are several options however, to convert to raid 5 you really need to go in steps...first to raid 1 and then on to raid 5. The best raid controller for sata drives on the market, is probably the oldest one too...ide that is, is manufactured by Promise...it has true 3gb/s across mutiply drives and actually sees an increase in speed over the usual single drive configuration...you have an 80 gig drive right?
Here is one possibility and I did it for someone recently...take the 80 gig drive and go to raid 1 with one of the three 320 gig drives...most raid 1 controllers will equalize the two drive sizes to the smaller of the two...they will mirror...once they are done...take out the small 80 gig...put in another of the 320 drives...let them mirror again to raid 1...now you will have 320 gig and a raid 1 array in tact...then you can put in the 3rd 320 gig drive and convert the raid array from raid 1 to raid 5...most controllers will allow this although, this will take several hours....all the calculations needed internally to do the redundancy checks and write the data take a while...however, when done...it all worked for me... ![]() |
#8
|
||||
|
||||
Quote:
|
#9
|
||||
|
||||
Quote:
Would the Areca ARC-1210 be one of the good controllers? I was thinking of getting one of these, along with my 4x320GB SATA drives, for a 900GB RAID5 recording drive. There have been a few occasions when I've been recording 2 simultaneous HD shows, while trying to watch a 3rd recorded HD show, and my drives weren't able to keep up. This was a rare occasion, though, when all 3 shows were on one drive. -Chris
__________________
Win7, HDHomeRun, HD200 |
#10
|
||||
|
||||
Quote:
Quote:
|
#11
|
||||
|
||||
Quote:
-Chris
__________________
Win7, HDHomeRun, HD200 |
#12
|
||||
|
||||
My thoughts on Raid vary from day to day...
Raid 0 (striping) No thanks. Fast, but no data integrity. MTBF is less than half that of a single drive (because a controller/MB failure would also kill your data) I dont feel like losing several hundred Gb of data, even if it is 'only' recorded TV or ripped CDs/DVDs.. Raid 1 (Mirroring) ok, Slow write, fast read, and at least my data is secure from single disk failure... but I am using twice as many disks! What a waste of space!... A simple automatic backup script would be just as good (perhaps better as inadvertant deletions could be recovered, and I could only backup things I really want to keep) Raid 5 (Striped/mirrored 3disks gives 2disks worth of data) hmmm... Not sure about this one. Ok so my data is safe from a single disk failure, but what about a controller/MB failure? Can I unplug the disks and use them in another machine? Unlikely (as "RAID data configuration is almost always proprietary")... (Note I have un-Raid-1'd my machine by simply unplugging the disks and plugging them in non-RAID ports. They got recognised as 2 normal disks). So I end up with a backup script, but still think from time to time about going RAID again! BTW, a second way to tell if MB RAID is full HW or SW is if it lists CPU/Memory requirements, which pretty much means that its done in software... (My SI 3114 says that I need 1GB of RAM to do RAID 5, but does not list any RAM requirements for 0/1/0+1)
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki ![]() Last edited by nielm; 04-09-2007 at 04:55 PM. |
#13
|
|||
|
|||
Some very good and knowledgeable comments here.
The most important one is that RAID is NOT a backup strategy. It is fault tolerance. A mirrored set of drives does not mean your data is safe. Only protected from hardware failure. I put alot of thought into this over the last week or so as I thought about storage for my box. Here is the conclusion I came to for my situation: I will not use any RAID at all. I do not need more than 300 GB of continuous space, so RAID 0 or 5 doesn't buy me much of anything. As nielm pointed out, RAID 1 can be seen as a waste of space. What I am going to do is to just run my drives in normal mode, determine what content needs to be backed up and just script backing that up nightly. I do not see the need to make backups of ripped DVDs as I am willing to re-rip them if needed at this point. The time may come when I will back them up as well. RAID can introduce a whole host of possible problems on consumer hardware. Unless you need LOTS of continuous space, the risks probably don't outweigh the benefits. If you are willing to spend the money on a real/proper RAID controller, the situation changes significantly. The HP/Compaq SCSI RAID controllers I am used to dealing with at work are a good example of this. You can easily change out any part of it with no data loss or worries about if your array will be seen. But, they cost as much as most people's Sage server, not to mention the drives. Now, on performance.... I can saturate a 100 mb network with a regular old ATA 100/133 drive without much trouble. IMO, the smarter approach to I/O performance for a situation like this would be to put your data on drives in such a way that you use as many spindles as possible. Meaning, don't put your DVDs on the same physical drive as your recordings, move your recordings to another drive after they are complete, things like that. As cheap as large drives are, this is pretty reasonable to do. |
#14
|
|||
|
|||
wouldn't RAID-1 do the mirroring down in the controller and thus be a lot faster than an application doing backup dupes - all that data has to percolate twice in the driver pile, to the application buffers, to be written to a different disk, and two trips through the file system.
Do I correctly assume that cheap RAID-1 controllers (even the ones built-in) take the same data from the operating system and write it to two drives, transparently to the file system and applications? If not, what's the point of claiming the hardware is RAID-1? Last edited by stevech; 04-10-2007 at 02:00 PM. |
#15
|
|||
|
|||
The problem(s) with a mirror for me are
1) It's inefficient use of space. It takes 1TB to have 500GB of storage. This is ok if you are running near capacity because a backup will take just as much space, which is effectively the whole drive. 2) It's not protecting you against anything other than hardware failure. You are still just as vulnerable to accidental deletion and such. As my wife about the great MP3 disaster of 03..... My decision was based on what impact a hardware failure would have on the usability of the box. Worst case, I could flip over to using shares to another machine or transplant the drive until I got a replacement. So, in case of hardware failure, my Sage box may stop recording until I catch it and I am willing to trade that for the ability to recover something that is corrupted or accidentially deleted. |
#16
|
||||
|
||||
Quote:
|
#17
|
|||
|
|||
Oh, SCSI is not a requirement, it's just a reference to what I am used to. Even that is going away now, we just boot off SAN with no local drives allowed in the datacenter anymore.
|
#18
|
||||
|
||||
It was more a comment on cost than anything. SCSI equipment is very expensive (I think it still is at least). Good SATA/IDE RAID controller's aren't cheap, but they aren't outrageous either.
|
#19
|
|||
|
|||
Quote:
Copying big mpeg files at the application level seems way too slow, esp. if you have to use a LAN, or worse, like me, as for now the SageTV server connects by WiFi at 54Mbps = 20Mbps at the IP layer = l-o-n-g transfer times. To precude an Oh-oops delete, maybe we have to do these with an application program, as a special case, for those especially valuable files. Lastly, I am unconvinced that Sage will avoid goobering up (corrupting) the wiz.bin during and after a drive failure. Indeed, so far for me, Windows usually blue-screens on the failure of a non-boot drive. I keep the last 14 copies of wiz.bin now, having been burned twice (now using SecondCopy to automate this). Last edited by stevech; 04-10-2007 at 11:29 PM. |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Cluster sizes and Raid Setup | millers_35 | General Discussion | 16 | 01-30-2009 12:21 AM |
One user's experiences with RAID 0 and RAID 5 | stevech | Hardware Support | 0 | 04-04-2007 09:57 PM |
CPU use for MOBO Raid 1 | Jesse | Hardware Support | 1 | 12-24-2006 10:34 AM |
NVIDIA Raid Questions | lobosrul | Hardware Support | 13 | 11-29-2006 09:34 PM |
noob hardware questions | icky2000 | Hardware Support | 2 | 10-01-2006 08:34 PM |