<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 01/22/2016 05:10 PM, Jack McGee
wrote:<br>
</div>
<blockquote cite="mid:56A2B6CE.8000507@greendesk.net" type="cite">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<div class="moz-cite-prefix">On 01/22/2016 12:55 PM, Michael T.
Dean wrote:<br>
</div>
<blockquote cite="mid:56A27B33.4060707@thirdcontact.com"
type="cite">On 01/22/2016 01:33 PM, Jack McGee wrote: <br>
<blockquote type="cite">My mythtv system is showing significant
space used by deleted recordings. I have no deleted shows
group in mythfrontend. <br>
<br>
optimize_mythdb.pl is in daily cron <br>
<br>
Version of mythbackend: <br>
<a moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:mythuser@amethi:/etc/cron.daily$">mythuser@amethi:/etc/cron.daily$</a>
mythbackend --version <br>
Please attach all output as a file in bug reports. <br>
MythTV Version : v0.27.5-71-ga62fc0d <br>
MythTV Branch : fixes/0.27 <br>
Network Protocol : 77 <br>
Library API : 0.27.20151025-1 <br>
QT Version : 4.8.6 <br>
<br>
<br>
<br>
<br>
Mythweb shows <br>
<br>
<br>
Machine Information <br>
<br>
This machine's load average: <br>
<br>
* 1 Minute: 2.75 <br>
* 5 Minutes: 2.73 <br>
* 15 Minutes: 2.68 <br>
<br>
Disk Usage Summary: <br>
<br>
* Total Disk Space: <br>
o Total Space: 11,324,355 MB <br>
o Space Used: 7,895,292 MB <br>
o Space Free: 3,429,062 MB <br>
o Space Available After Auto-expire: 9,808,792 MB <br>
+ Space Used by LiveTV: 0 MB <br>
+ Space Used by Deleted Recordings: 1,989,076 MB <br>
+ Space Used by Auto-expirable Recordings: 4,390,654
MB <br>
<br>
</blockquote>
<br>
Your first action should be to run find_orphans.py. <a
moz-do-not-send="true" class="moz-txt-link-freetext"
href="https://www.mythtv.org/wiki/Find_orphans.py"><a class="moz-txt-link-freetext" href="https://www.mythtv.org/wiki/Find_orphans.py">https://www.mythtv.org/wiki/Find_orphans.py</a></a>
<br>
<br>
</blockquote>
<br>
Thanks, I should have done that before posting.<br>
<br>
It found orphaned recordings, and could not delete because
permissions were wrong.<br>
I recursively changed owner of recordings to mythtv (most are) and
orphaned ones were deleted.<br>
<br>
mythuser@amethi:/usr/share/mythtv$ python find_orphans.py <br>
Database backups<br>
amethi:
/mnt/media1/recordings/mythconverg-1317-20140121074314.sql.gz
37.8MB<br>
amethi:
/mnt/media3/backups/mythtv/mythconverg-1317-20160115021401.sql.gz
117.5MB<br>
amethi:
/mnt/media3/backups/mythtv/mythconverg-1317-20160116021401.sql.gz
116.5MB<br>
amethi:
/mnt/media3/backups/mythtv/mythconverg-1317-20160117021401.sql.gz
116.2MB<br>
amethi:
/mnt/media3/backups/mythtv/mythconverg-1317-20160118021401.sql
0.0B <br>
amethi:
/mnt/media3/backups/mythtv/mythconverg-1317-20160118064730.sql.gz
117.9MB<br>
amethi:
/mnt/media3/backups/mythtv/mythconverg-1317-20160119021401.sql.gz
117.5MB<br>
amethi:
/mnt/media3/backups/mythtv/mythconverg-1317-20160120021401.sql.gz
117.6MB<br>
amethi:
/mnt/media3/backups/mythtv/mythconverg-1317-20160121021401.sql.gz
118.0MB<br>
amethi:
/mnt/media3/backups/mythtv/mythconverg-1317-20160122021401.sql.gz
117.9MB<br>
Total: 976.8MB<br>
Please select from the following<br>
1. Refresh list<br>
<br>
But mythweb has not changed much:<br>
Disk Usage Summary:<br>
<ul>
<li>Total Disk Space:
<ul>
<li>Total Space: 11,324,355 MB</li>
<li>Space Used: 7,843,346 MB</li>
<li>Space Free: 3,481,008 MB</li>
<li>Space Available After Auto-expire: 9,823,550 MB
<ul>
<li>Space Used by LiveTV: 0 MB</li>
<li>Space Used by Deleted Recordings: 1,951,022 MB</li>
<li>Space Used by Auto-expirable Recordings: 4,391,520
MB</li>
</ul>
</li>
</ul>
</li>
<li><br>
</li>
</ul>
<br>
</blockquote>
<br>
I found the Deleted group on Frontend and there are recordings
there. Also many deleted recordings in mythweb. I assume I can
manually delete them, have deleted a few, but have seen no
difference in the mythweb report on deleted space. My question, is
why? I am thinking a permissions issue.<br>
This is one of the files in deleted group:<br>
<br>
mythuser@amethi:/usr/share/mythtv$ ls -l
/mnt/media4/myth/recordings/1004_20140125233000.mpg<br>
-rw-r--r-- 1 mythtv ntp 2879944176 Jan 25 2014
/mnt/media4/myth/recordings/1004_20140125233000.mpg<br>
<br>
<br>
<br>
<br>
</body>
</html>