|
SageTV for unRAID/Docker Discussion related to SageTV for unRAID/Docker. Questions, issues, problems, suggestions, etc. relating to SageTV for unRAID/Docker should be posted here. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
Moving to unRAID
Hi All,
I've decided to move my SageTV setup from Windows to an unRAID setup. This means I have to reconfigure my system significantly and do a bunch of moving of bits around to free up things so I wanted to get some advice. Here's my current setup for Windows: Motherboard: Intel DH67CF CPU: i5-2400S @ 2.50Ghz PSU: 340 watt bronze Memory: 8 (4GBx2) DDR3 OS SDD: Samsung 840 SSD - 240GB Media HDD: Seagate ST4000DM000 4TB SageTV Recordings HDD: WD Black WD1002FAEX 1TB Tuners: 4x HDHomeRuns Duals (all pre-2011 models) After I migrate to unRAID, it will be identical except I will remove the SSD and re-arrange and add hard drives like this: Parity Drive: Seagate ST4000DM000 4TB (from above) Array Drive 1: WD Green WD20EARS 2TB (from a Drobo) Array Drive 2: WD Green WD20EARX 2TB (from a Drobo) Cache Drive: WD Black WD1002FAEX 1TB (from above) I'll also be adding a SYBA SI-PEX40094 PCIe 2-Port SATA III adapter as my motherboard only has 4 SATA ports (only 2 at 6.0 Gb/s) and I want to add additional drives at some point in the future. My plan is to use the array and parity for media and backups; and the cache as my storage for recordings and docker containers. I've spent the last month prepping for this, copying the media drive over to the 2x2TB unRAID array and this weekend backing up my recordings to a couple of 1 TB drives I had from a Drobo. Everything is in place and I'd like to migrate the weekend of March 11, but I want to get feedback from the community to some questions I have.
Your help is appreciated. Thanks, Ben |
#2
|
|||||
|
|||||
Quote:
Quote:
Quote:
Quote:
Quote:
__________________
Buy Fuzzy a beer! (Fuzzy likes beer) unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers. Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA. Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S Other Clients: Mi Box in Master Bedroom, HD-200 in kids room |
#3
|
||||
|
||||
My only comments is that I don't see the point in using a 1TB regular drive for cache, and I'd just move it into the Array. Typically your cache drive would be one or more SSD drives and you'd use them for disk IO performance.
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#4
|
||||
|
||||
Quote:
Writing a block to the cache drive takes the time it takes to seek to that position, and write that block. Writing that same block to the array takes the time it takes to seek to that position on the drive, read that block, seek back to that position and write the block while also seeking to that position on the parity drive, reading the parity block, seeking back to the position and writing the modified parity for that block. Yes, and SSD is going to be faster than the WD Black, but most of the speed improvement will come from the direct write than the type of drive it's going to. unRAID's turbo write feature is a lot quicker than the above, if enabled, but requires all drives to be up and spinning for any write to the array. It essentially reads that block from every drive, and calculates new parity to write to the parity block while writing the data block.
__________________
Buy Fuzzy a beer! (Fuzzy likes beer) unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers. Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA. Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S Other Clients: Mi Box in Master Bedroom, HD-200 in kids room Last edited by Fuzzy; 03-06-2017 at 07:26 AM. |
#5
|
|||
|
|||
I am using an SSD as a cache drive on unRAID to hold my appdata partition.
I haven't done an A/B comparison on unRAID but I know that when I switched my Windows SageTV server system drive to an SSD many years ago it hugely improved performance of my system. Wouldn't this also be the case with unRAID? Especially if you have lots of Fanart that has to be read in when displaying screens?
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server |
#6
|
||||
|
||||
Yes, random access of many smaller files is greatly improved with an SSD, because seek times are essentially zero. That doesn't mean appdata/sagetv HAS to reside on an SSD, and even if it does, it doesn't HAVE to be an unRAID cache drive. You could just as easily mount an SSD as just a bare drive, and point the docker to store stuff there. The only real reason appdata defaults to the cache drive is because it is expected to the be fastest location on a 'basic' unRAID server.
__________________
Buy Fuzzy a beer! (Fuzzy likes beer) unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers. Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA. Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S Other Clients: Mi Box in Master Bedroom, HD-200 in kids room |
#7
|
|||
|
|||
I would agree with Fuzzy. If you only have a one or two simultaneous recordings it would probably be fine going directly to the array. In my case I've had 10 going at a time for the length of the padding on the respective recordings - usually about 4 minutes. I have it going to 4 separate recording drives assigned with the "Unassigned Devices" plugin so that I can keep the number of recordings going to an individual drive lower during those peak times.
__________________
"Keep your goals away from the trolls" |
#8
|
||||
|
||||
I record directly to individual drives within my "recorded tv" share and it works great.
I will say that I'd check those green drives to make sure they are still OK. I've had quite a few of those and only two are still being used. I have a first gen black 1tb that is still going strong along with 1tb green that is also doing well. For some reason the 2tb green drives were not that good for me. Just want to make sure you don't have any issues going forward.
__________________
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. |
#9
|
|||
|
|||
Quote:
The 2TB WD Greens are older and I will be upgrading them to proper Reds (or equivalent) at a point in the future, but hopefully they should last. There isn't anything on them that can't be easily recovered. Thanks for the feedback. Now I just need to take the plunge. Ben |
#10
|
|||
|
|||
Quote:
__________________
"Keep your goals away from the trolls" |
#11
|
|||
|
|||
Quote:
Of course right after I switch to unRAID my WD Black will die, laughing at me in it's whirl-clicky way. Ben |
#12
|
||||
|
||||
Quote:
__________________
SageTV v9 Server: ASRock Z97 Extreme4, Intel i7-4790K @ 4.4Ghz, 32GB RAM, 6x 3TB 7200rpm HD, 2x 5TB 7200rpm HD, 2x 6TB 7200rpm HD, 4x 256GB SSD, 4x 500GB SSD, unRAID Pro 6.7.2 (Dual Parity + SSD Cache). Capture: 1x Ceton InfiniTV 4 (ClearQAM), 2x Ceton InfiniTV 6, 1x BM1000-HDMI, 1x BM3500-HDMI. Clients: 1x HD300 (Living Room), 1x HD200 (Master Bedroom). Software: OpenDCT :: WMC Live TV Tuner :: Schedules Direct EPG |
#13
|
|||
|
|||
After some delay (pesky daylights savings), I had an opportunity to migrate my server to unRAID. The process was a bit time consuming, but in the end everything is working with one minor issue.
I'd figure I'd give an overall summary of what I did. Previously I had all of my ripped data on a 4TB Seagate ST4000DM000. I needed to move this data off as the drive was going to become the parity for the system. To do this, I pulled out two 2TB WD greens I had from an unused Drobo, booted into unRAID, and created an array out of the two drives. I then used rsync to move all of the ripped media from the 4TB to the array. This took an unusually long time, which I later realizes was a result of using rsync instead of the cp. rsync is great for incremental transfers of data, but cp is significantly faster when you just need to move a bunch of data. I wasted a lot of time waiting of rsync. After the ripped data was copied over, I needed to copy my recordings over, since I was going to continue to use my 1TB WD Black WD Black WD1002FAEX for recordings. I did this in Windows with a pair of older 1TB hard drives (from the Drobo) connected via USB. I used rsync this time because I moved the data every night over a week so the new shows recorded were copied. Then last Saturday I pulled open the computer, connected up the drives and booted unRAID. This is were I ran into a problem. For some reason unRAID refused to mount my WD1002FAEX Black as a cache drive. It would see it, allow it to be assigned, but kept saying it was unmountable, even after I told unRAID to format the drive. After a bit of futzing about, I ssh'd in and fdisked the drive and then formatted it with xfs. This allowed unRAID to mount the drive. I then installed the SageTV docker containter and configured it to use the WD Black drive to store recording and started up my extender. And my goodness it was slow. Every action seemed to give me a spinning circle and remote key presses got queued up. After some more tinkering, I realized that the appdata was on the array and this was slowing things down. Once I moved the appdata to the WD Black, everything sped up nicely. It's been almost 5 days and there haven't any issues. I've added some additional dockers (crashplan and MineOS). But the primary purpose of the server is to serve media and with the SageTV docker container it's working great. Thanks to everyone for the feedback and help. Thanks to the community for continuing to develop SageTV. And thanks to Stuckless for his work on the docker container. Ben |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Moving files from Windows to unRAID | wayner | SageTV for unRAID/Docker | 35 | 04-19-2018 07:33 AM |
Can you use SJQ from within unRAID | wayner | SageTV for unRAID/Docker | 4 | 06-29-2017 12:54 PM |
unRAID 6.3 is out | wayner | SageTV for unRAID/Docker | 11 | 02-21-2017 07:32 AM |
unRAID 6.3.0-rc9 | EnterNoEscape | SageTV for unRAID/Docker | 5 | 02-05-2017 07:23 AM |
Moving Recording To New Sage Server By Moving The Drives | Savage1701 | SageTV Software | 1 | 08-03-2009 04:11 PM |