[mythtv-users] Deleted recordings in mythweb

Jack McGee jack at greendesk.net
Fri Jan 22 23:32:26 UTC 2016


On 01/22/2016 05:10 PM, Jack McGee wrote:
> On 01/22/2016 12:55 PM, Michael T. Dean wrote:
>> On 01/22/2016 01:33 PM, Jack McGee wrote:
>>> My mythtv system is showing significant space used by deleted 
>>> recordings. I have no deleted shows group in mythfrontend.
>>>
>>> optimize_mythdb.pl is in daily cron
>>>
>>> Version of mythbackend:
>>> mythuser at amethi:/etc/cron.daily$ mythbackend --version
>>> Please attach all output as a file in bug reports.
>>> MythTV Version : v0.27.5-71-ga62fc0d
>>> MythTV Branch : fixes/0.27
>>> Network Protocol : 77
>>> Library API : 0.27.20151025-1
>>> QT Version : 4.8.6
>>>
>>>
>>>
>>>
>>> Mythweb shows
>>>
>>>
>>>     Machine Information
>>>
>>> This machine's load average:
>>>
>>>   * 1 Minute: 2.75
>>>   * 5 Minutes: 2.73
>>>   * 15 Minutes: 2.68
>>>
>>> Disk Usage Summary:
>>>
>>>   * Total Disk Space:
>>>       o Total Space: 11,324,355 MB
>>>       o Space Used: 7,895,292 MB
>>>       o Space Free: 3,429,062 MB
>>>       o Space Available After Auto-expire: 9,808,792 MB
>>>           + Space Used by LiveTV: 0 MB
>>>           + Space Used by Deleted Recordings: 1,989,076 MB
>>>           + Space Used by Auto-expirable Recordings: 4,390,654 MB
>>>
>>
>> Your first action should be to run find_orphans.py. 
>> https://www.mythtv.org/wiki/Find_orphans.py
>>
>
> Thanks, I should have done that before posting.
>
> It found orphaned recordings, and could not delete because permissions 
> were wrong.
> I recursively changed owner of recordings to mythtv (most are) and 
> orphaned ones were deleted.
>
> mythuser at amethi:/usr/share/mythtv$ python find_orphans.py
> Database backups
>   amethi: 
> /mnt/media1/recordings/mythconverg-1317-20140121074314.sql.gz 37.8MB
>   amethi: 
> /mnt/media3/backups/mythtv/mythconverg-1317-20160115021401.sql.gz 117.5MB
>   amethi: 
> /mnt/media3/backups/mythtv/mythconverg-1317-20160116021401.sql.gz 116.5MB
>   amethi: 
> /mnt/media3/backups/mythtv/mythconverg-1317-20160117021401.sql.gz 116.2MB
>   amethi: 
> /mnt/media3/backups/mythtv/mythconverg-1317-20160118021401.sql 0.0B
>   amethi: 
> /mnt/media3/backups/mythtv/mythconverg-1317-20160118064730.sql.gz 117.9MB
>   amethi: 
> /mnt/media3/backups/mythtv/mythconverg-1317-20160119021401.sql.gz 117.5MB
>   amethi: 
> /mnt/media3/backups/mythtv/mythconverg-1317-20160120021401.sql.gz 117.6MB
>   amethi: 
> /mnt/media3/backups/mythtv/mythconverg-1317-20160121021401.sql.gz 118.0MB
>   amethi: 
> /mnt/media3/backups/mythtv/mythconverg-1317-20160122021401.sql.gz 117.9MB
> Total:     976.8MB
> Please select from the following
>  1. Refresh list
>
> But mythweb has not changed much:
> Disk Usage Summary:
>
>   * Total Disk Space:
>       o Total Space: 11,324,355 MB
>       o Space Used: 7,843,346 MB
>       o Space Free: 3,481,008 MB
>       o Space Available After Auto-expire: 9,823,550 MB
>           + Space Used by LiveTV: 0 MB
>           + Space Used by Deleted Recordings: 1,951,022 MB
>           + Space Used by Auto-expirable Recordings: 4,391,520 MB
>  *
>
>

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.
This is one of the files in deleted group:

mythuser at amethi:/usr/share/mythtv$ ls -l 
/mnt/media4/myth/recordings/1004_20140125233000.mpg
-rw-r--r-- 1 mythtv ntp 2879944176 Jan 25  2014 
/mnt/media4/myth/recordings/1004_20140125233000.mpg




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20160122/14e384c7/attachment.html>


More information about the mythtv-users mailing list