[mythtv-users] Moving recordings to a different physical drive
d-ulrick at comcast.net
Fri May 20 13:54:20 UTC 2022
On 5/19/22 6:31 PM, Dave Ulrick wrote:
> I've finished moving my recordings to the two new SSD drives. Your
> temporary storage group suggestion worked out well. I moved all the
> recordings while mythbackend was running. I didn't have any issues
> with new recordings, I'd previously added one SSD drive which had
> priority over the iSCSI LUN so no new recordings have been saved to
> the LUN in over six months.
> Although the iSCSI LUN worked without issue, I feel better about
> storing the recordings right on the backend's own storage.
I've discovered an "oops!" issue related to my moving the recordings
from a 2 TB iSCSI LUN to two 1 TB SSDs.
Back when I had all of my MythTV recordings on a disk that was shared
for other purposes, I set
Setup / Video / General / Auto-Expire / Extra Disk Space
to 200 GB and forgot about it. When I moved the recording files, I
filled the new SSDs so that < 200 GB was free. I think this is why some
older recordings seem to have gone away since I moved them.
I think the Extra Disk Space setting is per file system as opposed to
per storage group. So, after I finished moving the files, the backend
removed the oldest auto-expire recordings from each file system until
the free space reached or exceeded 200 GB. Thankfully, I didn't lose any
recordings that I really wanted to keep!
All of my new MythTV storage drives are dedicated for MythTV--no need to
keep space free for other uses--so just now I dialed this setting back
to 10 GB.
Summary: if you intend to set up new storage devices for MythTV, make
sure you revisit the Extra Disk Space setting, and as you copy files to
a new device make sure to leave the Extra Disk Space free.
More information about the mythtv-users