SageTV Community  

Go Back   SageTV Community > Hardware Support > Hardware Support
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

Hardware Support Discussions related to using various hardware setups with SageTV products. Anything relating to capture cards, remotes, infrared receivers/transmitters, system compatibility or other hardware related problems or suggestions should be posted here.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 02-19-2018, 09:46 AM
mgpaulus mgpaulus is offline
Sage Advanced User
 
Join Date: Mar 2011
Location: Colorado Springs, CO
Posts: 193
Using an SSD (or 2) as recording only drive - then moving recording?

with the 3D SSD drives (like the Samsung 850/860) becoming reasonably affordable in the 1GB range, I was thinking about putting 1 or 2 in my SAGE setup and using them as recording drives. But, here's where I'm not sure exactly how to go about this:

Does anyone know of or have a script/utility that will move the just recorded show off of the SSD onto my magnetic storage, that will balance the drives, etc?

I was hoping that by recording to SSD, I could help relieve some IO stress when I've got 4 or 5 tuners going at the same time (which is happening right now during the Olympics).

Thanks

Mark
Reply With Quote
  #2  
Old 02-19-2018, 09:57 AM
KarylFStein KarylFStein is offline
Sage Fanatic
 
Join Date: Apr 2006
Location: Westland, Michigan, USA
Posts: 999
Quote:
Originally Posted by mgpaulus View Post
with the 3D SSD drives (like the Samsung 850/860) becoming reasonably affordable in the 1GB range, I was thinking about putting 1 or 2 in my SAGE setup and using them as recording drives. But, here's where I'm not sure exactly how to go about this:

Does anyone know of or have a script/utility that will move the just recorded show off of the SSD onto my magnetic storage, that will balance the drives, etc?

I was hoping that by recording to SSD, I could help relieve some IO stress when I've got 4 or 5 tuners going at the same time (which is happening right now during the Olympics).

Thanks

Mark
You might want to look into switching to unRAID. It does this and is well-supported by the SageTV development community. It can be daunting to overhaul a server, but something to consider. There's an unRAID subforum on here.

Otherwise I think some people use SJQ and a Groovy script to move files after recording, which is what I'm thinking about doing (along with making the file names so Emby recognizes them as TV recordings).
__________________
Home Network: https://karylstein.com/technology.html
Reply With Quote
  #3  
Old 02-19-2018, 10:18 AM
Zogg's Avatar
Zogg Zogg is offline
Sage Aficionado
 
Join Date: May 2011
Location: Frisco, TX
Posts: 428
My recording drive is a 250GB SSD for all recordings, and at 3AM a DOS batch file runs and moves the recording and comskip files to my NAS. It's pretty simple but it works.

I should probably add another drive for load balancing but so far it hasn't been an issue. I also run comskip on the recordings but limit it to 1 session at a time to make sure the drive I/O doesn't get overloaded.
Reply With Quote
  #4  
Old 02-19-2018, 11:30 AM
Telecore's Avatar
Telecore Telecore is offline
Sage Aficionado
 
Join Date: Oct 2010
Location: Allen, TX
Posts: 347
I'm not sure if you really need an SSD for 5-6 simultaneous recordings, usually two HDD's optimized for bandwidth will work - but you could try Stablebit Drivepool with an SSD cache. I use this on my desktop PCs (one SSD + two HDDs) and it has the added benefit of software raid to duplicate/back-up files. (For SageTV, I just use two x 2.5 inch HDDs @4TB each)
__________________
SageTV-V9(64bit): Win10/i3-4370/OpenDCT/HDHR-Quatro (OTA)
AndroidTV+Miniclient: Nvidia Shield(x3)/FireTV-4K(x8)
Channels-DVR:Win10/i3-4340/HDHR Quatro 4K/TVE(YTTV)
Reply With Quote
  #5  
Old 02-20-2018, 12:02 AM
newyankee's Avatar
newyankee newyankee is offline
Sage User
 
Join Date: Jul 2012
Location: Palo Alto
Posts: 45
I record to a 2T SSD, and manually transfer to a NAS every two weeks. Being conservative, I stop the Sage service, backup the wiz.bin file, move the files to the NAS, and then restart Sage.
__________________
Asus Z170Pro, I7 skylake, hyperthread off, Win 7 64 Ult, 32Gig, 2ea Hauppauge 2250, DTV SD & OTA, HD300
Reply With Quote
  #6  
Old 02-20-2018, 03:46 PM
matt91's Avatar
matt91 matt91 is offline
Sage Icon
 
Join Date: Feb 2005
Location: Washington, DC
Posts: 1,185
Sage moves my recordings nightly to NAS via cron job. I don't stop/start sage, it just finds the files in their new location automatically.

(And then the NAS keeps the drives balanced.)
__________________
Server: Ubuntu 16.04 running Sage for Linux v9
Reply With Quote
  #7  
Old 02-24-2018, 02:02 PM
benjamintm benjamintm is offline
Sage Advanced User
 
Join Date: Jan 2007
Posts: 165
During premier season in the US, I regularly recorded 6-8 shows at the same time to a standard HDD, so an SSD would work.

That said, as others mentioned, you might want to look at Unraid. I switched over to it last year and it's been running perfectly ever since without an SSD in the mix.

Ben

Quote:
Originally Posted by mgpaulus View Post
with the 3D SSD drives (like the Samsung 850/860) becoming reasonably affordable in the 1GB range, I was thinking about putting 1 or 2 in my SAGE setup and using them as recording drives. But, here's where I'm not sure exactly how to go about this:

Does anyone know of or have a script/utility that will move the just recorded show off of the SSD onto my magnetic storage, that will balance the drives, etc?

I was hoping that by recording to SSD, I could help relieve some IO stress when I've got 4 or 5 tuners going at the same time (which is happening right now during the Olympics).

Thanks

Mark
Reply With Quote
  #8  
Old 02-25-2018, 05:33 AM
AlphaCrew AlphaCrew is offline
Sage Aficionado
 
Join Date: May 2010
Location: Whosevile
Posts: 303
Take a look at MCEBuddy.
Reply With Quote
  #9  
Old 02-25-2018, 09:04 PM
Zogg's Avatar
Zogg Zogg is offline
Sage Aficionado
 
Join Date: May 2011
Location: Frisco, TX
Posts: 428
Quote:
Originally Posted by benjamintm View Post
During premier season in the US, I regularly recorded 6-8 shows at the same time to a standard HDD, so an SSD would work.

That said, as others mentioned, you might want to look at Unraid. I switched over to it last year and it's been running perfectly ever since without an SSD in the mix.

Ben
In the past, I've had issues when recording 4-6 shows at a time while also running comskip and playing back a recording.

Now this was with BeyondTV, and the solution was to have 2 recording drives. In BTV you could assign recordings to a specific drive, so for busy recording times I would move some recordings to an alternate drive. This also helped to spread the comskip load.

But since you can't specify a recording folder in SageTV, I just got an SSD that is fast enough to handle the load and limited comskip to only 1 instance. So far so good.
Reply With Quote
  #10  
Old 02-26-2018, 07:29 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 Zogg View Post
In the past, I've had issues when recording 4-6 shows at a time while also running comskip and playing back a recording.

Now this was with BeyondTV, and the solution was to have 2 recording drives. In BTV you could assign recordings to a specific drive, so for busy recording times I would move some recordings to an alternate drive. This also helped to spread the comskip load.

But since you can't specify a recording folder in SageTV, I just got an SSD that is fast enough to handle the load and limited comskip to only 1 instance. So far so good.
Sage doesn’t let you assign specific recordings to specific drives, but it does have an option to spread recordings across all available drives to optimize for bandwidth. You can choose to optimize for bandwidth or for space - if you choose space it records everything to the drive with the most free space; if you choose bandwidth and if there are multiple recordings at the same time, the first goes to the drive with the most space, the second to the drive with the next most space and so on.

Of course I’m not sure how well that works if you are recording to something like UnRaid or tRaid. In those cases, even if Sage spreads the recordings around to multiple hard drives, the parity disk will get hammered and become the bottleneck.
__________________
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
  #11  
Old 02-27-2018, 12:13 AM
benjamintm benjamintm is offline
Sage Advanced User
 
Join Date: Jan 2007
Posts: 165
I record to a cache drive in unRaid. The parity doesn’t get involved until the recording are moved to the array from the cache drive.

Ben

Quote:
Originally Posted by Tiki View Post
Sage doesn’t let you assign specific recordings to specific drives, but it does have an option to spread recordings across all available drives to optimize for bandwidth. You can choose to optimize for bandwidth or for space - if you choose space it records everything to the drive with the most free space; if you choose bandwidth and if there are multiple recordings at the same time, the first goes to the drive with the most space, the second to the drive with the next most space and so on.

Of course I’m not sure how well that works if you are recording to something like UnRaid or tRaid. In those cases, even if Sage spreads the recordings around to multiple hard drives, the parity disk will get hammered and become the bottleneck.
Reply With Quote
  #12  
Old 02-27-2018, 09:38 PM
Telecore's Avatar
Telecore Telecore is offline
Sage Aficionado
 
Join Date: Oct 2010
Location: Allen, TX
Posts: 347
Quote:
Originally Posted by Telecore View Post
I'm not sure if you really need an SSD for 5-6 simultaneous recordings, usually two HDD's optimized for bandwidth will work - but you could try Stablebit Drivepool with an SSD cache. I use this on my desktop PCs (one SSD + two HDDs) and it has the added benefit of software raid to duplicate/back-up files. (For SageTV, I just use two x 2.5 inch HDDs @4TB each)
Anyone using 2.5 inch HDD's+Windows - a lot of these want to park every 8s or so, which can lead to premature wear. To prevent, load CrystalDiskInfo at boot time to modify APM settings of drives from default of 0x80 to 0xC0..0xFE.
__________________
SageTV-V9(64bit): Win10/i3-4370/OpenDCT/HDHR-Quatro (OTA)
AndroidTV+Miniclient: Nvidia Shield(x3)/FireTV-4K(x8)
Channels-DVR:Win10/i3-4340/HDHR Quatro 4K/TVE(YTTV)
Reply With Quote
  #13  
Old 02-28-2018, 09:24 PM
mgpaulus mgpaulus is offline
Sage Advanced User
 
Join Date: Mar 2011
Location: Colorado Springs, CO
Posts: 193
Thanks all for the good info here.

I'm currently exploring using DrivePool for my 30TB of storage. I happened to have an extra (2) 120GB SSD drives that I put in as caching SSD drives in the DP pool. When I get some more cash, I'll probably replace those with a 512GB or 1TB 3D SSD, more for longevity sake than anything else. Still working on seeding all my recordings into the DP pool, but things look good so far.

Does anyone know if Sagetv will choke if 1 directory (/Videos) will have 10s of thousands of files in it? That is my one concern with using DrivePool. What's going to happen when I have a single "drive" with 24TB worth of recordings on it?

Anyway, thanks again for the feedback.
Reply With Quote
  #14  
Old 02-28-2018, 09:25 PM
mgpaulus mgpaulus is offline
Sage Advanced User
 
Join Date: Mar 2011
Location: Colorado Springs, CO
Posts: 193
Quote:
Originally Posted by AlphaCrew View Post
Take a look at MCEBuddy.
I already have a Plex server running on my unRaid box that connects to my Sagetv box that my kid and I both share, so I'm not sure what mcebuddy would do for me, but thanks for the input. I'll look at it again sometime.
Reply With Quote
  #15  
Old 03-01-2018, 08:50 AM
Telecore's Avatar
Telecore Telecore is offline
Sage Aficionado
 
Join Date: Oct 2010
Location: Allen, TX
Posts: 347
Quote:
Originally Posted by mgpaulus View Post
Thanks all for the good info here.

I'm currently exploring using DrivePool for my 30TB of storage. I happened to have an extra (2) 120GB SSD drives that I put in as caching SSD drives in the DP pool. When I get some more cash, I'll probably replace those with a 512GB or 1TB 3D SSD, more for longevity sake than anything else. Still working on seeding all my recordings into the DP pool, but things look good so far.

Does anyone know if Sagetv will choke if 1 directory (/Videos) will have 10s of thousands of files in it? That is my one concern with using DrivePool. What's going to happen when I have a single "drive" with 24TB worth of recordings on it?

Anyway, thanks again for the feedback.
I don't think that's a problem - I have a Windows Home Server 2011 with 30+ TB of Drivepool storage with thousands of music files and a lot of videos as well.
__________________
SageTV-V9(64bit): Win10/i3-4370/OpenDCT/HDHR-Quatro (OTA)
AndroidTV+Miniclient: Nvidia Shield(x3)/FireTV-4K(x8)
Channels-DVR:Win10/i3-4340/HDHR Quatro 4K/TVE(YTTV)
Reply With Quote
  #16  
Old 03-01-2018, 03:03 PM
texneus texneus is offline
Sage Aficionado
 
Join Date: Nov 2009
Location: DFW
Posts: 279
Quote:
Originally Posted by Telecore View Post
Anyone using 2.5 inch HDD's+Windows - a lot of these want to park every 8s or so, which can lead to premature wear. To prevent, load CrystalDiskInfo at boot time to modify APM settings of drives from default of 0x80 to 0xC0..0xFE.

I highly doubt that. If they park their heads its because they are designed to do so...let it do its thing. It's no different than using the same HDD in an actual laptop. I've used 2.5" drives for recording for many years, no modifications, no problems.

The specific problem your referring to is the WD green drives when used in Linux. That problem was only on Linux because one/some/most (not sure on that) distros felt they had to poll the drive for SMART data every 30 seconds or so, as if it really changes that fast. And even then it seemed to be mostly FUD, because some vocal people are under the belief the drive automatically dies once some specific number of cycles were reached.
__________________
Server: Xeon E3-1225, 32GB RAM, Open Media Vault 5, SageTV Docker
Tuners: HD Homerun Quatro (OTA)
Clients: NVidia SheildTV x3
Reply With Quote
  #17  
Old 03-01-2018, 03:35 PM
Telecore's Avatar
Telecore Telecore is offline
Sage Aficionado
 
Join Date: Oct 2010
Location: Allen, TX
Posts: 347
Quote:
Originally Posted by texneus View Post
I highly doubt that. If they park their heads its because they are designed to do so...let it do its thing. It's no different than using the same HDD in an actual laptop. I've used 2.5" drives for recording for many years, no modifications, no problems.

The specific problem your referring to is the WD green drives when used in Linux. That problem was only on Linux because one/some/most (not sure on that) distros felt they had to poll the drive for SMART data every 30 seconds or so, as if it really changes that fast. And even then it seemed to be mostly FUD, because some vocal people are under the belief the drive automatically dies once some specific number of cycles were reached.
I have read a lot of things on the internet about this and have experienced failures myself in my SageTV PC with Seagate ST4000LM024 or ST5000LM000 (4TB and 5TB 2.5 HDDs). Recently, I have put many of these into PCs that I have built and have had 2 drives fail with less than 2 years of use. Right now, I have 2 drives indicating >600,000 and >800,000 load/unload cycles on them and they are not that old. The manufacturers data sheet rates them for a max of 600,000 lifetime. In any event, they are parking heads a crazy amount of times per day. You can investigate this yourself and yes, I have had a couple of failures with limited use time so I do believe it is a problem.

I just discovered this in the past couple of days and now have a potential solution. The appeal of these drives is that you can buy them in USB enclosures for $99-$129 and take them out and use them (it voids the warranty). Performance is fine with SageTV (5900 RPM) and on desktop systems, I run Drivepool+SSD cache. I am presently running two PCs at work with these and 3 at home (SageTV, WMC and my desktop) all have a very large load/unload cycle count for the length of time that they have been in use.

By the way, the potential solution I have is to run hdparm, a free disk utility, to change the drive APM setting via task manager at startup and when resuming from sleep. This appears to cut down the # of load/unload cycles a lot.
__________________
SageTV-V9(64bit): Win10/i3-4370/OpenDCT/HDHR-Quatro (OTA)
AndroidTV+Miniclient: Nvidia Shield(x3)/FireTV-4K(x8)
Channels-DVR:Win10/i3-4340/HDHR Quatro 4K/TVE(YTTV)
Reply With Quote
  #18  
Old 03-01-2018, 06:58 PM
texneus texneus is offline
Sage Aficionado
 
Join Date: Nov 2009
Location: DFW
Posts: 279
You're sure those drives failed due to excessive head off loading? This would be the first confirmed case I know of. The life time in a spec sheet is a waranty parameter. It's a minimum number the drive is guaraneed to meet. Not sure where you read it was a maximum and the drive must fail at this number. Off loading the heads is not a tramatic experience, it's something the drive is designed to do as a matter of routine. I would expect the average drive to run well beyond this figure.

I have green that by all a counts should be dead. Originally used as a SageTV recording drive for 2-3 years, then as a server drive, and finally as my son's main HDD for many years. Still worked just fine when we pulled it, SMART says the drive is completely healthy.

Meanwhile at WD, Blue is the new Green. The new Blue drives don't work with WDIDLE which is opening this whole old wound once again. WD appears to be digging it's heals in this time...if they're wrong, I guess we'll all know soon enough. Got one myself I'm getting ready to install.

600,000 cycles in 2 years is ~6 cycles per minute asuing 24/7 operation. Defiantly not a typical HDD user.
__________________
Server: Xeon E3-1225, 32GB RAM, Open Media Vault 5, SageTV Docker
Tuners: HD Homerun Quatro (OTA)
Clients: NVidia SheildTV x3
Reply With Quote
  #19  
Old 03-01-2018, 09:45 PM
Telecore's Avatar
Telecore Telecore is offline
Sage Aficionado
 
Join Date: Oct 2010
Location: Allen, TX
Posts: 347
Honestly, not 100% sure it was due to excessive head parking because those failed before I even heard about this - but I have Stablebit Scanner installed on a couple machines and a few days ago it e-mailed me about the excessive load/unload cycles and indicated that the drive could be about to fail, which started my investigation, at which point I discovered a 2nd drive had even more load/unload cycles on my desktop (but apparently, for that one, I clicked on something to ignore the warning). For now, I have decreased the cycles at the expense of keeping drives spinning longer, more power and heat, but it also makes all the PCs more responsive - less waiting on drive spin-up - I do believe the default drive parking was excessive, probably because these drives came from a portable USB enclosure. I am going to keep an eye on this and continue to use the drives in the meantime. Last time I had a failure, a few months ago, I lost 1/2 of my SageTV recordings, so I am a bit concerned about re-purposing these drives.
__________________
SageTV-V9(64bit): Win10/i3-4370/OpenDCT/HDHR-Quatro (OTA)
AndroidTV+Miniclient: Nvidia Shield(x3)/FireTV-4K(x8)
Channels-DVR:Win10/i3-4340/HDHR Quatro 4K/TVE(YTTV)
Reply With Quote
  #20  
Old 03-02-2018, 02:51 PM
texneus texneus is offline
Sage Aficionado
 
Join Date: Nov 2009
Location: DFW
Posts: 279
Sorry to hear of that. Failures are guaranteed. As they say...In God we trust, everything else gets a backup
__________________
Server: Xeon E3-1225, 32GB RAM, Open Media Vault 5, SageTV Docker
Tuners: HD Homerun Quatro (OTA)
Clients: NVidia SheildTV x3
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
Moving Recording waltraud SageTV Beta Test Software 2 06-30-2010 06:00 AM
Moving Recording To New Sage Server By Moving The Drives Savage1701 SageTV Software 1 08-03-2009 04:11 PM
Moving recording library to new drive? ryanroat SageTV Software 2 04-08-2009 08:53 AM
Recording drive question (calling all hard drive experts!) Kirby Hardware Support 4 07-17-2006 12:01 PM
Moving Recording Files srothwell SageTV Software 1 03-18-2006 09:22 PM


All times are GMT -6. The time now is 02:06 PM.


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