SageTV Community  

Go Back   SageTV Community > General Discussion > General Discussion
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

General Discussion General discussion about SageTV and related companies, products, and technologies.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 03-01-2014, 12:35 PM
Tiki's Avatar
Tiki Tiki is offline
Sage Icon
 
Join Date: Feb 2005
Location: Southwest Florida, USA
Posts: 2,009
Snapshot RAID with SageTV

After a couple of recent drive failures in my Sage rig, I've decided to rethink my data protection strategy. In the past I thought it was not worth doing any sort of backup on my Sage recordings, but I've learned that it can be very frustrating when you loose a few TB of recordings.

I still don't think full backups (for this type of data) are worthwhile, but some sort of parity based RAID makes sense. I would rather not shell out a ton of cash for a hardware appliance (Synology, QNAP, drobo, etc.). And I would rather not build a separate dedicated server running a software based raid (unRaid, etc.), because I don't have suitable hardware just laying around, don't want to make a large investment to buy all new hardware, and am concerned about throughput using an external unRaid server connected via Ethernet as a storage device for Sage (especially when I have multiple Ethernet-connected tuners and extenders).

I also briefly considered virtualization (running UnRaid and Sage in separate VM's on the same hardware on top of XEN or ESXI, or something), but I don't think my current Sage box is up to the task (CPU and Mobo need to support virtualization, need lots of RAM, etc.).

That brings me to look at snapshot based software raid (FlexRAID-F, or SnapRAID). This would only require adding one large hard drive to store parity information. I could set it to run snapshots daily, and then if I had a single drive failure I would (in theory) only lose changes made on the failed disk since the last snapshot (one day's recordings at most).

Is anyone using FlexRAID-F with Sage? Are you letting Sage write directly to the FlexRAID array, or doing some manual move process?

My main concern is that any files I add (new recordings) or delete (shows I manually delete through Sage after watching) between snapshots would affect the parity calculations and may make the restore fail.

FlexRAID claims that it can handle file additions (you would just lose any files that were added to a failed data drive since the last snapshot). Is this true? Wouldn't new files added to the non-failed drives throw off the parity calculation? Or is FlexRAID smart enough to recognize the added files and alter its parity calculation somehow?

I also see that FlexRAID implements its own custom recycle bin so it can temporarily hold any deleted files until the next snapshot. From what I have read, this is only available if you use the drive pooling feature (not sure why that is - I would rather not pool my drives). My question is - would this help with files deleted by Sage? I wonder because Sage normally bypasses the Windows recycle bin when deleting files. Would it bypass the FlexRAID recycle bin too?

If I do pool my drives, how much of a performance hit would it be?

Finally, how long do the snapshot updates take to run? It sounds like the initial parity generation can take more than 24 hours - hopefully the updates are much faster. Do I have to keep Sage from recording or deleting files during this whole time? What's the best way to schedule the updates so they don't interfere with Sage usage?

Sorry for the long post, and I know there have been lots of posts about RAID, but although I've read a ton, I haven't found the answers to my questions.
__________________
Server: Ryzen 2400G with integrated graphics, ASRock X470 Taichi Motherboard, HDMI output to Vizio 1080p LCD, Win10-64Bit (Professional), 16GB RAM
Capture Devices (7 tuners): Colossus (x1), HDHR Prime (x2)
,USBUIRT (multi-zone)
Source:
Comcast/Xfinity X1 Cable
Primary Client: Server Other Clients: (1) HD200, (1) HD300
Retired Equipment: MediaMVP, PVR150 (x2), PVR150MCE,
HDHR, HVR-2250, HD-PVR
Reply With Quote
  #2  
Old 03-01-2014, 04:13 PM
NetworkGuy NetworkGuy is offline
Sage Fanatic
 
Join Date: Dec 2009
Location: Central NJ
Posts: 869
I was using Windows Home Server to backup all of the PC's in the house. When I started to have hardware and with the next release of WHS removing drive pooling, I decided to invest in a Synology Raid. Yes, it was expensive, but since I reused the drives from WHS, I was able to keep the cost down.

As I start to have problems with a drive, I replace it with a larger drive and gain more space.

I am using SyncBack Free to do a nightly backup of my SageTV recordings.

It was worth the investment.

John
__________________
Hardware: Intel Core i5-3330 CPU; 8GB (2 x 4GB); 2-4TB WD Blue SATA 6.0Gb/s HDD; Windows 7
Servers: ChannelsDVR, Plex, AnyStream, PlayOn,
Tuner: HDHomeRun Connect Quatro
Tuner: HDHomeRun Connect Duo
Sources: OTA, Sling Blue, Prime, Disney+,
Clients: ShieldTV (2), Fire TV Stick 4K (4)
Reply With Quote
  #3  
Old 03-01-2014, 11:22 PM
Skirge01's Avatar
Skirge01 Skirge01 is offline
SageTVaholic
 
Join Date: Jun 2007
Location: New Jersey
Posts: 2,599
Take a look at my post here and let me know if you need more information. What you want is FlexRAID's tRAID software, not RAID-F. tRAID is real-time parity protection, so you don't have any of the concerns you mentioned.
__________________
Server: XP, SuperMicro X9SAE-V, i7 3770T, Thermalright Archon SB-E, 32GB Corsair DDR3, 2 x IBM M1015, Corsair HX1000W PSU, CoolerMaster CM Storm Stryker case
Storage: 2 x Addonics 5-in-3 3.5" bays, 1 x Addonics 4-in-1 2.5" bay, 24TB
Client: Windows 7 64-bit, Foxconn G9657MA-8EKRS2H, Core2Duo E6600, Zalman CNPS7500, 2GB Corsair, 320GB, HIS ATI 4650, Antec Fusion
Tuners: 2 x HD-PVR (HTTP tuning), 2 x HDHR, USB-UIRT
Software: SageTV 7
Reply With Quote
  #4  
Old 03-02-2014, 12:27 AM
nyplayer nyplayer is offline
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,997
Has anybody here tried Windows 8.1 Storage Spaces?
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct.
Reply With Quote
  #5  
Old 03-02-2014, 10:22 AM
Tiki's Avatar
Tiki Tiki is offline
Sage Icon
 
Join Date: Feb 2005
Location: Southwest Florida, USA
Posts: 2,009
Quote:
Originally Posted by Skirge01 View Post
Take a look at my post here and let me know if you need more information. What you want is FlexRAID's tRAID software, not RAID-F. tRAID is real-time parity protection, so you don't have any of the concerns you mentioned.
I was a little nervous about tRAID, because it's pretty new and I saw that thread and the OP had lots of problems.

I'm not sure I fully understand your post... Are you saying that you are still putting your Sage recording directories in the tRAID array, but you are writing to them directly, rather than writing to the "pool" and letting tRAID decide which disk they end up on?
__________________
Server: Ryzen 2400G with integrated graphics, ASRock X470 Taichi Motherboard, HDMI output to Vizio 1080p LCD, Win10-64Bit (Professional), 16GB RAM
Capture Devices (7 tuners): Colossus (x1), HDHR Prime (x2)
,USBUIRT (multi-zone)
Source:
Comcast/Xfinity X1 Cable
Primary Client: Server Other Clients: (1) HD200, (1) HD300
Retired Equipment: MediaMVP, PVR150 (x2), PVR150MCE,
HDHR, HVR-2250, HD-PVR
Reply With Quote
  #6  
Old 03-02-2014, 12:58 PM
Skirge01's Avatar
Skirge01 Skirge01 is offline
SageTVaholic
 
Join Date: Jun 2007
Location: New Jersey
Posts: 2,599
Quote:
Originally Posted by Tiki View Post
I was a little nervous about tRAID, because it's pretty new and I saw that thread and the OP had lots of problems.
Obviously, everyone's system is different, so that's just one example. I had no such issue with getting the service to start.

Quote:
I'm not sure I fully understand your post... Are you saying that you are still putting your Sage recording directories in the tRAID array, but you are writing to them directly, rather than writing to the "pool" and letting tRAID decide which disk they end up on?
I think you got it; however, let me try to explain it further. I have no doubt you got some/most of this, but I want to be thorough. (Sorry for the length.) Also, keep in mind that I'm speaking at a very high level, since I really don't know what tRAID is doing behind the scenes.

With tRAID, you have the option of having a storage pool and you have the option for parity protection. Additionally, the drives you put into either of these have their data completely untouched, meaning that you can remove a drive from tRAID, place it into any other computer and access the data. What tRAID does for pooling is present all of these drives to you under a single folder. If you opt for parity protection, tRAID will calculate it from your drives and store it on your parity drive (PPU, in tRAID speak).

Now, because tRAID (aka Transparent RAID) doesn't touch the data on your data drives (DRUs), it also allows you to access the drives outside of the pool, if you choose and set it up like I described in my other post. Using this method, you have the storage pool, parity protection, and access directly to each individual drive.

What my instructions in the other post were ensuring is that when you "moved" your recordings (as far as Sage is concerned) from the storage pool to individual disks, it was able to see that the old directory from the storage pool was now empty and that the files had "moved" to the new folder outside the pool. This prevents Sage from creating duplicates by keeping both the old location and the new.

So, I have Sage writing to UNC folders I've added to the individual drives, of which the drives themselves are still part of the pool and have parity protection under tRAID.

To illustrate this, here's my setup which includes 7 data drives and 1 parity drive): tRAID is configured to provide me with an array consisting of a storage pool which has parity protection. On my server, this array is locally listed as my V: drive. It is also shared as a UNC path on the server (named \\W7-Server\).

I have the following folders in that V: drive (pooling all 7 data--aka DRU--drives together and providing parity protection):

Code:
V:\Recordings (DVR)
V:\Photos
V:\Music
V:\Videos
They're shared as:

Code:
\\W7-Server\Recordings (DVR)
\\W7-Server\Photos
\\W7-Server\Music
\\W7-Server\Videos
Sage itself does not have access to any of the above folders, but all other users/computers on my network have access to them.

Using Windows' Disk Management, each of my DRUs which make up the tRAID array also have direct UNC mappings to an empty folder on my C: drive under C:\Shares, listed as:

Code:
C:\Shares\4_1
C:\Shares\4_2
C:\Shares\4_3
C:\Shares\4_4
C:\Shares\5_2
C:\Shares\5_3
C:\Shares\5_4
The UNC mappings are:

Code:
\\W7-Server\4_1
\\W7-Server\4_2
\\W7-Server\4_3
\\W7-Server\4_4
\\W7-Server\5_2
\\W7-Server\5_3
\\W7-Server\5_4
Combined, the above shares contain the exact same data as the V: drive, folders and all:

Code:
\\W7-Server\4_1\Recordings (DVR)
\\W7-Server\4_1\Photos
\\W7-Server\4_1\Music
\\W7-Server\4_1\Videos
\\W7-Server\4_2\Recordings (DVR)
\\W7-Server\4_2\Photos
...etc
These are the shares that Sage has access to. When Sage writes to them, V: is updated, which causes an update to the parity.
__________________
Server: XP, SuperMicro X9SAE-V, i7 3770T, Thermalright Archon SB-E, 32GB Corsair DDR3, 2 x IBM M1015, Corsair HX1000W PSU, CoolerMaster CM Storm Stryker case
Storage: 2 x Addonics 5-in-3 3.5" bays, 1 x Addonics 4-in-1 2.5" bay, 24TB
Client: Windows 7 64-bit, Foxconn G9657MA-8EKRS2H, Core2Duo E6600, Zalman CNPS7500, 2GB Corsair, 320GB, HIS ATI 4650, Antec Fusion
Tuners: 2 x HD-PVR (HTTP tuning), 2 x HDHR, USB-UIRT
Software: SageTV 7
Reply With Quote
  #7  
Old 03-03-2014, 02:20 AM
brianrent brianrent is offline
Sage Advanced User
 
Join Date: Jan 2010
Location: KY
Posts: 85
Quote:
Originally Posted by nyplayer View Post
Has anybody here tried Windows 8.1 Storage Spaces?
I currently use it and it seems to be fairly easy to use. I just had to transfer all of my recordings to another drive as it MUST format both drives to create the drive initially. Haven't had a failure yet but seems simple to replace a drive and it automatically copies from the remaining drive. So far so good anyway..
Reply With Quote
  #8  
Old 03-03-2014, 06:53 PM
toony toony is offline
Sage Aficionado
 
Join Date: Mar 2008
Posts: 339
Has anyone else tried Drive Bender? I've been using it for a couple years now ever since I dropped WHS. I used Flexraid briefly but it wasn't the drive pool replacement I wanted. DB is ver stable and works well. I use it as JBOD. It has file duplication if you want. Swapping drives is fairly easy. I have about 12TB on it spread over about 8 drives. I use it for my media server and have never noticed any performance issues.
__________________


2xhd300
Reply With Quote
  #9  
Old 03-03-2014, 07:07 PM
panteragstk's Avatar
panteragstk panteragstk is offline
SageTVaholic
 
Join Date: Oct 2008
Location: New Braunfels, TX
Posts: 3,312
I use drive bender on server 2012 and UnRAID for all the read only data. Drive bender is used for duplication on the 2012 server for the important stuff. Works well.
__________________
SageTV Server: unRAID Docker v9, S2600CPJ, Norco 24 hot swap bay case, 2x Xeon 2670, 64 GB DDR3, 3x Colossus for DirecTV, HDHR for OTA
Living room: nVidia Shield TV, Sage Mini Client, 65" Panasonic VT60
Bedroom: Xiomi Mi Box, Sage Mini Client, 42" Panasonic PZ800u
Theater: nVidia Shield TV, mini client, Plex for movies, 120" screen. Mitsubishi HC4000. Denon X4300H. 7.4.4 speaker setup.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

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
to raid or not toony Hardware Support 80 02-24-2009 08:47 AM
SageTV and RAID Spin-Down / staggered Spin-up dcardellini Hardware Support 7 10-28-2008 08:25 PM
WHS RAID SAGEaustin Hardware Support 2 01-27-2008 09:27 AM
To Raid or not to Raid? Anyone here running Raid5? Shield Hardware Support 29 12-11-2007 07:59 PM
One user's experiences with RAID 0 and RAID 5 stevech Hardware Support 0 04-04-2007 09:57 PM


All times are GMT -6. The time now is 12:22 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.