[mythtv-users] find_orphans.py

Raymond Wagner raymond at wagnerrp.com
Wed May 14 02:33:43 UTC 2014


On 5/13/2014 10:24 PM, Jack McGee wrote:
> On 05/13/2014 07:59 PM, Mark Perkins wrote:
>> Remember that with MythTV slow delete the delete can take minutes /
>> hours / days depending on volume to be deleted. And I think
>> mythbackend needs to be running while deleting. Perhaps you may have
>> queued files to be deleted multiple times?
>>
>
> Thanks. I think that was it.  Took more than a day to delete recording
> entries, but they are gone now.  Still waiting on the other orphans, but
> will wait longer....

Slow deletes only happen when actually deleting something. With a hard 
drive failure, you have no files to delete, fast or slow. All you have 
are orphaned entries in the database, which should get taken out within 
a few seconds of issuing the delete. Since the command queries the 
database directly, those entries may remain for one refresh, but should 
not remain for a second. The script tells the backend to force the 
delete, so even though it cannot find the file, it should delete the 
entry anyway.

 >>> pvr1: /mnt/myth/1111_20100516093000.mpg.png 6.5GB

That don't look right....


More information about the mythtv-users mailing list