[mythtv-users] SSD's for daily myth recordings storage and part time RAID for capacity.

Jerome Yuzyk jerome at supernet.ab.ca
Thu Apr 21 01:15:27 UTC 2016


On Thursday, April 21, 2016 12:30:08 AM David Scammell wrote:
> Hi there,
> 
> I'm considering using a moderate sized ssd for daily myth recordings so
> that the larger RAID 5 array drives can be spun down for most of the day,
> perhaps only brought up during main telly watching hours or when anyone is
> about. I'm expecting the machine to record all the daily kid's programs
> with the main RAID array shut off to save on power and heat.
> 
> I'd like to copy (rsync/whatever) those recent recordings from SSD to RAID
> only when the RAID is spun up. I will be able to clear down sufficient free
> space on the SSD for the next days recordings so as to not need to expire
> anything straight way, at least at first but I'm struggling to work out how
> myth will be able to expire recordings from the RAID array once that gets
> full, as it will be available only part time.
> 
> I think I can obtain a list of future expirable recordings from the backend
> but I don't really want to copy those recording back to the ssd where they
> can be expired by the backend during the next day's recordings as it seems
> a waste of bandwidth while the RAID is up.
> 
> How does anyone else deal with 'part time' disks or arrays and autoexpire?
> 
> Thinking out loud, I'm wondering if I can obtain the 'expirelist' and
> instruct the backend to 'pre-expire' recordings in the RAID is up to obtain
> sufficient free space before copying the most recent recordings from SSD to
> RAID?
> 
> I'm not really using storage groups in any meaningful way and don't see it
> would help me with this, I don't really want to write to the RAID array
> directly at all. Saying that I fancy playing with a dedicated kids/film
> groups to organize these recordings but that would probably make this
> housekeeping all the more complicated.

I used to use mytharchive (or maybe I wrote it myself?) that moved recording files to another disk and put symlinks in their place. That seems to be what you could use since you don't want to add your RAID disk into a Storage Group. So you could record to your SSD and then mv && ln -s them to your RAID. There is a Myth setting that says to follow symlinks.


https://www.mythtv.org/wiki/DVR_Service#GetExpiringList tells you how to get the Expiring Recordings list.

-- 
A little of Jerome's MythTV World: http://mythtv.bss.ab.ca
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20160420/b7471cd6/attachment.html>


More information about the mythtv-users mailing list