SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV Github Development
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV Github Development Discussion related to SageTV Open Source Development. Use this forum for development topics about the Open Source versions of SageTV, hosted on Github.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 02-04-2016, 07:48 AM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
Windows to Linux - How to?

So, I've kind of wanted to do this for a while, but I was never big on spending for the linux license, anyway the stars are aligning (V9/Linux development is active, I've got a "linux" server....) that I'm seriously considering finally switching.

Specifically I'm looking at moving SageTV from a Windows 7 VM to a Docker.

The focus of this thread is to collect info on how to migrate from a Windows install to a Linux one.

I don't run much for plugins, webserver and sjq are about it for server plugins, I access everything from extenders (maybe clients someday), and I also run comskip/SA.

The big issue/question for me is how do you handle moving the wiz.bin/recordings without losing any info? Windows and Linux look at paths entirely differently. Is it best to just record to a samba/unc path share?
Reply With Quote
  #2  
Old 02-04-2016, 08:02 AM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,491
I am in the process of moving from V7 Win7 to V90 on Win10 and I have migrated my recordings to new drives on the new PC. I would suggest making sure that you have .properties files created and then when you copy or move the files over to the new box the metadata from the .properties files can be read in to the new wiz.bin. This worked fine for me with the exception of some Fanart that didn't display properly which appears to be a bit of a or bug in Phoenix or Gemstone.
__________________
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
  #3  
Old 02-06-2016, 06:28 AM
bcjenkins bcjenkins is offline
SageTVaholic
 
Join Date: Jan 2006
Posts: 3,764
Readers Digest version

You could look at some of my old posts. When I made that switch, I just moved the Wiz.bin file and the content to the right locations. If you ever set up actual clients, you recreate the paths using a junction link on Windows to mount the share using the same path structure.
__________________
Running SageTV on unRAID via Docker
Tuning handled by HDHR3-6CC-3X2 using OpenDCT
Reply With Quote
  #4  
Old 02-24-2016, 10:11 AM
rerooks rerooks is offline
Sage Advanced User
 
Join Date: Jan 2007
Location: Buffalo, NY
Posts: 157
Stanger, how did your transition to Linux go? What was your big driver, the amount of Java memory available?
Reply With Quote
  #5  
Old 02-24-2016, 12:02 PM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
I still haven't yet. Everything is working as is.

But for me the main driver is streamlining, currently I have Sage running on a Windows 7 VM on my unRAID (essentially linux) server. Seems like it would be much more streamlined to just run Sage on unRAID (via Docker).
Reply With Quote
  #6  
Old 02-24-2016, 05:25 PM
hugenbdd hugenbdd is offline
Sage Advanced User
 
Join Date: Feb 2009
Location: Cincinnati, KY
Posts: 81
Quote:
Originally Posted by stanger89 View Post
I still haven't yet. Everything is working as is.

But for me the main driver is streamlining, currently I have Sage running on a Windows 7 VM on my unRAID (essentially linux) server. Seems like it would be much more streamlined to just run Sage on unRAID (via Docker).
Would love to have Sage in a Docker for unRAID. Are you working on a docker or have you tested one?
Reply With Quote
  #7  
Old 02-26-2016, 06:53 AM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
There's another user here who created a docker early on. I've played with it in a VM, it can actually be simplified a good bit now that there are installers for V9. It seemed to work, but I didn't spend much time with it.

I also haven't tackled issues like what to record to, if the unRAID pool is fast enough to be recorded to directly for example (I suppose an enormous cache drive would be one option).
Reply With Quote
  #8  
Old 02-26-2016, 03:57 PM
SomeWhatLost's Avatar
SomeWhatLost SomeWhatLost is offline
Sage Expert
 
Join Date: Jan 2009
Location: earth
Posts: 532
Quote:
Originally Posted by stanger89 View Post
I also haven't tackled issues like what to record to, if the unRAID pool is fast enough to be recorded to directly for example (I suppose an enormous cache drive would be one option).
simple, just get one of those 16TB SSD's from Samsung for a cache drive and call it a day...
maybe replace the array+parity drives with them also?
problem solved...

I am sure they are repetitively cheap by now...
__________________
NOTE: As one wise professional something once stated, I am ignorant & childish, with a mindset comparable to 9/11 troofers and wackjob conspiracy theorists. so don't take anything I say as advice...
Reply With Quote
  #9  
Old 03-11-2016, 11:59 AM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
This is probably going to take a while, but just wanted to post some thoughts.

I mentioned I have concerns about writing directly to the unRAID pool, so I did a little investigating about the practicality of using a "really large" cached drive and having Sage write to that.

I used a program SSD Ready* and measured my average writes over about a week. By that, Sage writes about 90GB/day of recordings. First thing, that's easily handled by "normal" SSD capacities.

Second, that seems to be well within the capabilities of SSDs without having to worry about write endurance. The 500GB 840 EVO that would probably find itself as my cache drive if/when I do this, should last 15 years at that rate:
http://www.anandtech.com/show/7173/s...odels-tested/3

So basically, it seems plausible to put a big SSD cache drive in unRAID and record to a cache enabled share. That should provide plenty of performance and I shouldn't need to worry about burning out the SSD.

Now, when my cash flow opens up and I can upgrade the SSD in my desktop I may take on this experiment.

*SSDReady seemed to work fine, but I got a out of memory error in Sage which I've never had before. Coincidence? Possibly.
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
Linux, Windows 7 or WHS ? RonnieHafoss General Discussion 12 03-18-2011 08:51 AM
Windows or Linux for v7? surge SageTV Beta Test Software 8 12-12-2010 02:03 PM
Linux or Windows? Which to buy? Joe Bloggins SageTV Linux 7 11-16-2007 08:59 PM
Windows --> Linux ChePazzo SageTV Linux 1 10-31-2006 09:15 AM
Linux vs. Windows Anyone? RAlfieri SageTV Linux 1 05-15-2006 03:08 PM


All times are GMT -6. The time now is 02:00 AM.


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