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
  #1  
Old 01-26-2017, 09:58 AM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,491
cache only setting

My appdata volume, and a few other volumes, are set to use the cache with the only setting. Do these volumes ever get backed up to the main data drives or are they only on the cache?

If they don't get backed up then is only the right setting or should I set up some sort of daily backup process?

Or should I be using an option other than only?
__________________
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
  #2  
Old 01-26-2017, 10:56 AM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
cache drive is not backed up to the pool. You can either run your own backup process for it, or you can install a second cache drive that unRAID will backup the data with.
__________________
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
  #3  
Old 01-26-2017, 11:16 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by wayner View Post
My appdata volume, and a few other volumes, are set to use the cache with the only setting. Do these volumes ever get backed up to the main data drives or are they only on the cache?

If they don't get backed up then is only the right setting or should I set up some sort of daily backup process?

Or should I be using an option other than only?
The Community Applications plugin (assuming you have it installed) contains a simple backup tool for doing automated backups of the appdata data to the pool.
Reply With Quote
  #4  
Old 01-26-2017, 03:10 PM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,491
I do have CA set up so I will install that. But just to ensure - Only is the best setting for the appdata drive rather than Yes or Prefer? I want to ensure the system is as fast as possible.

Why isn't there a built-in option for Only but Backup?
__________________
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
  #5  
Old 01-26-2017, 04:53 PM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
Quote:
Originally Posted by wayner View Post
I do have CA set up so I will install that. But just to ensure - Only is the best setting for the appdata drive rather than Yes or Prefer? I want to ensure the system is as fast as possible.

Why isn't there a built-in option for Only but Backup?
If your cache is faster at random access, like an SSD, then yes, cache only would be the best option. They do not duplicate data between cache and pool because writing to the pool along with the cache would eliminate the purpose of the cache. If you want cache redundancy, you really should just add a redundant cache drive.
__________________
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
  #6  
Old 01-26-2017, 05:43 PM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,491
My cache is an SSD but it seems the way that the cache drive is being used is reallly a misnomer as, unless I am misunderstanding things, then it really isn't caching anything. Having another SSD as a backup cache is kind of a waste as I don't need the speed on the cache backup, just the redundancy.
__________________
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
  #7  
Old 01-26-2017, 05:52 PM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
Keep in mind, everything in unRAID is built around the pool. The cache drive is there to compensate for the downside of the pool; that downside is the write speed, because of the parity writing needed. The 'caching' the cache drive is typically used for, is to take the data written 'to' the pool, and it is then transferred to the pool at the pools slower speed by the 'mover' process, which runs on a schedule. For the appdata and such, we are utilizing the cache drive simply because it is there, and for speed - there is nothing saying it HAS to be used, it's just that it is typically the fastest drive in an unRAID server, so it is the default location. Sage makes a very many small reads and writes, and years ago we noticed huge improvements moving sage to an SSD, even the much slower ones of that age.

If you are concerned about backing up the appdata folder, the three options were presented to you. The community sourced cache backup plugin that will make a copy on the pool in case you need to restore it; setting appdata's cache setting to yes or no, so it ultimately gets stored on the pool; or installing an additional cache drive so it has a redundancy at the cache level.
__________________
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
  #8  
Old 01-26-2017, 06:19 PM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
I do not currently have a cache pool, because I got incredibly lucky with my SSD purchase (a ridiculously good D2RSTK251E19-0400 for only $80) that I will never be able to find for that price again to give it a twin, and anything else near that price will slow down the cache considerably (this thing reads at 560 MB/sec, and writes at about 400 MB/sec).

THIS shows why sage will run so much better on a high speed cache. This is a test I just ran on my unRAID server (this is read speeds)
__________________
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; 01-26-2017 at 06:34 PM.
Reply With Quote
  #9  
Old 01-27-2017, 09:47 PM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,491
Quote:
Originally Posted by stuckless View Post
The Community Applications plugin (assuming you have it installed) contains a simple backup tool for doing automated backups of the appdata data to the pool.
Thanks - I see that now. It appears that it stops your dockers while doing the backups so I guess you have to be careful with this with SageTV so that you don't interrupt any 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
  #10  
Old 01-28-2017, 05:07 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by wayner View Post
Thanks - I see that now. It appears that it stops your dockers while doing the backups so I guess you have to be careful with this with SageTV so that you don't interrupt any recordings.
Yeah, I forgot about that (I don't use it myself).... That was a deterrent for me
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
Where is my phoenix cache? (And am I using it?) rwc SageTV v7 Customizations 1 09-18-2012 05:35 PM
Re-Cache of Posters gbob Diamond 25 07-19-2011 09:07 PM
Dvd covers cache? rnadeau Phoenix 2 06-23-2011 10:29 AM
Artist Cache BBCritical SageTV Software 19 05-02-2007 01:56 PM
Playback cache Stuntman SageTV Software 6 11-23-2004 10:38 PM


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.