<div class="gmail_quote">On 14 November 2012 02:41, Josh Rosenberg <span dir="ltr"><<a href="mailto:mythtv@desh.info" target="_blank">mythtv@desh.info</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Months ago, I ruined my mythtv setup. Still had some or all of my<br>
configs, and had a database backup, but lost all actual recording<br>
videos. Made mistakes, live and learn, etc.<br>
<br>
So I restored the database backup (in order to get my preferences<br>
back, if not the videos), and when mythfrontend predictably told me<br>
that all of my recordings had files that could not be found, I went<br>
through and deleted all of them. (Sob.)<br>
<br>
Well, now they're still around in some sense, telling something that<br>
they're deleted. I don't see them anywhere in the "view recordings"<br>
menu, or anywhere else I can find on the frontend, but mythweb is<br>
telling me things like this: (Note that my videos live on a single<br>
partition that's just under 2TB, which is now mostly full with new<br>
recordings.)<br>
<br>
Total Space: 1,812,934 MB [correct]<br>
Space Used: 1,787,865 MB [also correct]<br>
Space Free: 25,068 MB [sure]<br>
Space Available After Auto-expire: 3,221,563 MB [huh?]<br>
Space Used by LiveTV: 27,856 MB [sounds right...]<br>
Space Used by Deleted Recordings: 1,683,820 MB [definitely not!]<br>
Space Used by Auto-expirable Recordings: 1,484,819 MB [yeah,<br>
ok, that sounds right too]<br>
<br>
That's clearly not right; there's something, somewhere, that still has<br>
a list of all 1.5 TB or so recordings from my old setup and considers<br>
them deleted files. I'd like to clear out that list. Any suggestions<br>
on how to do this? Thanks in advance for the help!<br>
<br>
Running a single combined FE/BE, 0.25, via mythbuntu 12.04.<br>
<br>
Josh<br><br></blockquote><div>Sounds like you need to run the "find orphans" script.<br><br>This helps find database entries that have no recording file and recording files that have no database entries:<br><br>
<a href="http://www.mythtv.org/wiki/Find_orphans.py">http://www.mythtv.org/wiki/Find_orphans.py</a><br><br>You get a summary of what it finds before it takes any action, make sure you check it through first and a database backup beforehand wouldn't do any harm! <br>
<br>Martin<br></div></div><br>