SageTV Community  

Go Back   SageTV Community > SageTV Products > SageTV Linux > SageTV for unRAID/Docker
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

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.

Reply
 
Thread Tools Search this Thread Display Modes
  #21  
Old 03-16-2017, 08:44 AM
willieb willieb is offline
Sage Advanced User
 
Join Date: Jan 2008
Location: Philadelphia
Posts: 175
Quote:
Originally Posted by Fuzzy View Post
I asked about the resolution thing, because if the box is changing resolutions on channel changes, it can definitely throw the HD-PVR for loops. Being locked is going to be much more reliable, but if you do want the native resolution of the channel, I'd recommend a pretty significant wait-after-tuning delay to give the boxes output time to steady out before having the HD-PVR try to lock onto it.
Got it. Then I don't think my issue is related to this, but it can't hurt to try something different. Mine initially tunes perfectly fine. It just drops out for 30 seconds or so a few times in the middle of the recording.
Reply With Quote
  #22  
Old 03-16-2017, 08:47 AM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,491
My recording errors also occur on recordings from an HDHR for OTA recordings, as well as from the HD-PVR. I do record to the drive pool but I have changed all my drives to never spin down and that didn't change anything. I don't record a lot usually just a 2-3 shows a day and I rarely have more than two simultaneous recordings.
__________________
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
Reply With Quote
  #23  
Old 03-16-2017, 09:26 AM
willieb willieb is offline
Sage Advanced User
 
Join Date: Jan 2008
Location: Philadelphia
Posts: 175
Quote:
Originally Posted by wayner View Post
My recording errors also occur on recordings from an HDHR for OTA recordings, as well as from the HD-PVR. I do record to the drive pool but I have changed all my drives to never spin down and that didn't change anything. I don't record a lot usually just a 2-3 shows a day and I rarely have more than two simultaneous recordings.
Just to keep the information flow going, I don't think I have seen this on an HDHR recording yet (either OTA HDHR or FiOS HDHR Prime).

I record to an SSD cache drive. I have not changed any settings related to how frequently the cache gets moved by the mover to the share, but I assume it does this before the cache drive gets full.

I actually don't recall seeing any setting related to frequency of the mover, but I can't say I have looked for it.

I also think my OTA HDHR recordings require more MB/sec than my HDPVR recordings do, so it wouldn't seem like a drive speed issue to me. Maybe a USB speed issue, though. Although if it is USB speed, I never had the problem in windows so it must be a linux driver issue. And the fact that Stuckless isn't having problems suggests it is not the driver...
Reply With Quote
  #24  
Old 03-16-2017, 09:31 AM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,491
I will try recording to a cache drive to see if that helps. You are right that HD-PVR recordings are at a lower bitrate.

But the difference is also the interface and from what BobPhoenix has been finding is that it may be an issue with USB ports in unRAID.
__________________
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
Reply With Quote
  #25  
Old 03-16-2017, 11:19 AM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
Quote:
Originally Posted by willieb View Post
Just to keep the information flow going, I don't think I have seen this on an HDHR recording yet (either OTA HDHR or FiOS HDHR Prime).

I record to an SSD cache drive. I have not changed any settings related to how frequently the cache gets moved by the mover to the share, but I assume it does this before the cache drive gets full.

I actually don't recall seeing any setting related to frequency of the mover, but I can't say I have looked for it.

I also think my OTA HDHR recordings require more MB/sec than my HDPVR recordings do, so it wouldn't seem like a drive speed issue to me. Maybe a USB speed issue, though. Although if it is USB speed, I never had the problem in windows so it must be a linux driver issue. And the fact that Stuckless isn't having problems suggests it is not the driver...
The mover schedule is configured in Settings -> Scheduler. It does not pay attention to how full the cache drive is. If the cache drive doesn't have enough space on it (determined by that particular share's 'Minimum free space' setting), then it will just write that file directly to the array instead of the cache.
__________________
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
Reply With Quote
  #26  
Old 03-16-2017, 05:35 PM
BobPhoenix BobPhoenix is offline
SageTVaholic
 
Join Date: Oct 2004
Posts: 3,152
Quote:
Originally Posted by stuckless View Post
I don't recall doing anything specific, myself, but now that you mention this... I do have my STB set to 720p output. I think I used to use 1080i, but I think that caused issues many years ago, when I first set this up. @BobPhoenix what is your STB set to? Side note... my recording quality is set to grest/best (forget which) and 1hr recordings take about 3.7g of space. I also record a lot less... about 3-4 recordings a night (sometimes a little more). I think your schedule has much more... but still seeing 75% failure rating would be concerning even for the amount of recordings I get. And lastly, the only failed recordings that I used to get were a result of the power supply... and since moving to using the power from the PC case... I haven't had any HALTs in HDPVR recordings.
Quote:
Originally Posted by Fuzzy View Post
I asked about the resolution thing, because if the box is changing resolutions on channel changes, it can definitely throw the HD-PVR for loops. Being locked is going to be much more reliable, but if you do want the native resolution of the channel, I'd recommend a pretty significant wait-after-tuning delay to give the boxes output time to steady out before having the HD-PVR try to lock onto it.
My DirecTV STBs were disconnected for a while when I put my account on hold for 6 months. So the box may be back to source resolution rather than fixed. Plus I do remember lengthening the tuning delay quite a bit when I was using SageTV v7 before that and I haven't done that on my V9 server Windows or Linux. I think the tuning delay will fix the start problem and making sure the resolution is locked will fix the disconnects in the middle. At least once I get mine on reliable power. Thanks hadn't remembered the tuning delay setting.

Yes I have ~1TB of scheduled HDPVR recordings in the next 360 hours (according to the "Disc space bar" anyway) and I don't think it is over estimated. The grand total for all tuners is 264 shows 2083.8GBs.

The only thing that confuses me about this is the differences between direct from linux verses from the VM Windows Network encoder. Most of my problems seem to disappear when using the VM network encoder and the same USB card but passed through to the VM for the network encoder verses directly attached. That could be a USB 3.0 problem on unRAID verses Windows I suppose and would likely be fixed going to a USB 2.0 card. Have never used a MB USB port for HDPVR since early in my usage history. Had way too many problems with multiple HDPVRs on the same hub even on MB USB 2.0 ports back then and I don't think that has improved any.

Note I've always used 1080i with my DirecTV/Cable boxes since I first got my HDPVRs so I don't think that was giving me any problems but I will try setting it to 720p just in case.

Also I'm done derailing this thread now and it could be cleaned up if needed or I'm asked. Sorry about that.
__________________
"Keep your goals away from the trolls"

Last edited by BobPhoenix; 03-16-2017 at 05:44 PM.
Reply With Quote
  #27  
Old 03-17-2017, 10:59 AM
willieb willieb is offline
Sage Advanced User
 
Join Date: Jan 2008
Location: Philadelphia
Posts: 175
Quote:
Originally Posted by BobPhoenix View Post

Also I'm done derailing this thread now and it could be cleaned up if needed or I'm asked. Sorry about that.
We are all guilty of derailing this, but I think this is an important topic as more people consider coming over to unRAID. Unfortunately it was split between 2 threads. Some of it is also here. Maybe a mod could move it into its own thread or at least pull the relevant topics from one to another. Or one of us can start a new one and refer back to these.
Reply With Quote
  #28  
Old 03-17-2017, 11:09 AM
willieb willieb is offline
Sage Advanced User
 
Join Date: Jan 2008
Location: Philadelphia
Posts: 175
Quote:
Originally Posted by Fuzzy View Post
The mover schedule is configured in Settings -> Scheduler. It does not pay attention to how full the cache drive is. If the cache drive doesn't have enough space on it (determined by that particular share's 'Minimum free space' setting), then it will just write that file directly to the array instead of the cache.
This is a great tip for new unRAiD users. I got home to an angry wife yesterday because SageTV wouldn't record anything. Turns out, my 250 GB cache SSD was FULL. My "mover" was set to a default "weekly" schedule, so nothing was being moved. I am not sure why it did not default over to the array but it didn't. I changed the mover schedule to daily and set it for 10:00 AM. I figured I have the space for a day's worth of recordings and that is a very low probability time for recording things.

That also led me to discover another tip that I think new users will appreciate. I want my "sagemedia" share set to "Yes" for "Use cache." I originally had set it on "Priority." I now understand that "priority" means unRAID will try to keep things on the cache. If it has to move data to the array because the cache runs out of space, as soon as space frees up on the cache, it will move the data back to the cache. For me, this meant even though I invoked the mover to move my shows from the cache to the array, nothing moved. I don't want any of my shows permanently on the cache, so setting this to "yes" means they will only be on the cache until the next move - which is what I wanted.
Reply With Quote
  #29  
Old 03-17-2017, 03:35 PM
BobPhoenix BobPhoenix is offline
SageTVaholic
 
Join Date: Oct 2004
Posts: 3,152
Quote:
Originally Posted by willieb View Post
This is a great tip for new unRAiD users. I got home to an angry wife yesterday because SageTV wouldn't record anything. Turns out, my 250 GB cache SSD was FULL. My "mover" was set to a default "weekly" schedule, so nothing was being moved. I am not sure why it did not default over to the array but it didn't. I changed the mover schedule to daily and set it for 10:00 AM. I figured I have the space for a day's worth of recordings and that is a very low probability time for recording things.

That also led me to discover another tip that I think new users will appreciate. I want my "sagemedia" share set to "Yes" for "Use cache." I originally had set it on "Priority." I now understand that "priority" means unRAID will try to keep things on the cache. If it has to move data to the array because the cache runs out of space, as soon as space frees up on the cache, it will move the data back to the cache. For me, this meant even though I invoked the mover to move my shows from the cache to the array, nothing moved. I don't want any of my shows permanently on the cache, so setting this to "yes" means they will only be on the cache until the next move - which is what I wanted.
You also need to set your minimum space free for the share to a higher number then your largest media file. Then unRAID will consider the cache as full before it really IS and start writing files directly to the array. If you don't do that then it will just continue until the cache drive really is full and your recordings stop. When a recording starts the file doesn't have a size yet so it looks like it would fit on the drive but then after a while it no longer fits and the recording fails. You can get into problems when copying to a share from the network this way too. That is why it is recommended you set the minimum free setting for the share to the largest media file you could have. For me it is a BluRay rip which can get to 50GB max so I have my minimum free setting between 50-100GB. I like to have a little headroom. Also if you have the share set to specific drives and all of those drives are full it will stop completely and not move anything from the cache because you only allowed the share on drives that are full. unRAID will not write to all drives unless you indicate that. Usually you indicate that by not specifying specific drives for the share or not excluding any drives.
__________________
"Keep your goals away from the trolls"
Reply With Quote
  #30  
Old 03-17-2017, 03:50 PM
willieb willieb is offline
Sage Advanced User
 
Join Date: Jan 2008
Location: Philadelphia
Posts: 175
Quote:
Originally Posted by BobPhoenix View Post
You also need to set your minimum space free for the share to a higher number then your largest media file. Then unRAID will consider the cache as full before it really IS and start writing files directly to the array. If you don't do that then it will just continue until the cache drive really is full and your recordings stop. When a recording starts the file doesn't have a size yet so it looks like it would fit on the drive but then after a while it no longer fits and the recording fails. You can get into problems when copying to a share from the network this way too. That is why it is recommended you set the minimum free setting for the share to the largest media file you could have. For me it is a BluRay rip which can get to 50GB max so I have my minimum free setting between 50-100GB. I like to have a little headroom. Also if you have the share set to specific drives and all of those drives are full it will stop completely and not move anything from the cache because you only allowed the share on drives that are full. unRAID will not write to all drives unless you indicate that. Usually you indicate that by not specifying specific drives for the share or not excluding any drives.

This explains why my cache filled up and unRAID didn't start recording to the array. Makes sense. Thanks. I will change that, too.
Reply With Quote
  #31  
Old 03-19-2017, 10:16 AM
hb4 hb4 is offline
Sage Aficionado
 
Join Date: Sep 2008
Location: Seattle, Wa
Posts: 346
Using UnRAID on Firefox with Adblock enabled does not show the user shares on the 'Shares' tab.
__________________
Server: Intel i5-11400 @4.4GHz 6 cores Windows10 Pro, Sage 9.2.6.976, Comskip Donators
Capture: Fubo/TVEverywhere/ChannelsDVR/OpenDCT_0.5.32_x86.
Storage: 120gB SSD, 4tB HD on Server
Network: gB Lan
Playback: FireStick 4K miniclient
Tech Level: Hobbyist
Reply With Quote
  #32  
Old 03-19-2017, 10:18 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by hb4 View Post
Using UnRAID on Firefox with Adblock enabled does not show the user shares on the 'Shares' tab.
That's a good point... I noticed using and ad-blocker on Chrome that some of the unRAID UI wasn't functional. I now whitelist the unRAID UI Good one.
Reply With Quote
  #33  
Old 03-19-2017, 12:26 PM
dealsdyker's Avatar
dealsdyker dealsdyker is offline
Sage Advanced User
 
Join Date: Dec 2006
Posts: 183
Quote:
Originally Posted by panteragstk View Post
What would you say would/could be better (ransomware) protection?
I had almost every share RW. For now until I figure out something better I changed the majority to read only. MP3s, pictures, etc... lots of static data.
__________________
This space intentionally left blank
Reply With Quote
  #34  
Old 03-20-2017, 09:12 PM
panteragstk's Avatar
panteragstk panteragstk is offline
SageTVaholic
 
Join Date: Oct 2008
Location: New Braunfels, TX
Posts: 3,312
Quote:
Originally Posted by dealsdyker View Post
I had almost every share RW. For now until I figure out something better I changed the majority to read only. MP3s, pictures, etc... lots of static data.
Good point. I've got lots of stuff like that. I'll probably do something like that too.
__________________
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
How to add additional actions to Send to... BKeadle SageMC Custom Interface 0 09-11-2011 03:07 PM
Additional Sorting Options rsagetv99 SageMC Custom Interface 3 03-18-2009 02:03 PM
Additional Airings; What does it mean when... Spies SageTV Software 2 06-13-2004 05:37 PM
Additional PVR 350 delgross Hardware Support 0 04-01-2004 09:02 AM


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


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