[mythtv-users] Storage directory management across SSD/HD

Ram Ramesh rramesh2400 at gmail.com
Fri Mar 10 17:39:20 UTC 2023


All,

   I have about 300G in SSD space and several TBs in spinning disk 
RAID1. Currently, I do not use SSD for recording at all, as it is very 
small compared to HDs. Is it possible to add the SSD to storage 
directory and somehow make mythtv use it like a cache? I can write small 
cron job  to balance the contents overnight so that only recent 
recordings are present in SSD.  The only question is how do I tell 
mythtv to use only SSD for new recordings as much as possible?

It appears that most of the storage management methods in mythtv are 
focused on distributing recordings based available space rather than the 
type of storage or user preferred targets. Can I do something better? I 
put all spinning disks in one storage group and SSD in default storage 
group. I manage moving files overnight (or more frequently) to keep the 
balance. This seems like a possibility.

 1. What happens if SSD fills up? Does mythtv automatically go to
    another storage group to record the new show even if the recording
    rule says "default" is the storage group?
 2. Also, what happens when my script tries to move a file from SSD to
    HD and in the process there are duplicate copies of the same file in
    multiple storage directories when I trigger a lookup/watch from a
    frontend?
 3. Even worse, what happens when a file moves from SSD to HD while I am
    watching a show?

Regards
Ramesh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20230310/7def35b3/attachment.htm>


More information about the mythtv-users mailing list