[mythtvnz] Deleting files
Worik Stanton
worik.stanton at gmail.com
Tue Sep 17 08:52:22 BST 2013
Is there no way I can kick mythtv into deleting files? Other than the
failed methods that I have tried? Clearly it is confused.
W
On 17/09/13 19:04, Stephen Worthington wrote:
> On Tue, 17 Sep 2013 18:49:45 +1200, you wrote:
>
>> On 17/09/13 11:23, Worik Stanton wrote:
>>> Having run out of disk space I am trying to recover some room.
>>>
>>> I delete files using mythweb but I get no improvement in my disc.
>>> Deleting an 8GB file does not free up *GB.
>>>
>>> Is myth queuing up my deletes in some way? Can I tell it to
>>> hurry up?
>>>
>>> cheers W
>>>
>>
>> Looking at log, grepping for 'del'...
>>
>> 2013-09-17T11:34:46.917538+12:00 bruce mythbackend[2720]: E
>> DeleteThread mainserver.cpp:2224 (OpenAndUnlink) Error deleting
>> '/media/Recordings/2002_20130912040400.mpg' could not unlink
>> #012#011#011#011eno: Text file busy (26)
>> 2013-09-17T11:34:46.917597+12:00 bruce mythbackend[2720]: E
>> DeleteThread mainserver.cpp:2196 (DeleteFile) Delete Error
>> '/media/Recordings/2002_20130912040400.mpg'#012#011#011#011eno:
>> Text file busy (26) 2013-09-17T11:34:46.917613+12:00 bruce
>> mythbackend[2720]: E DeleteThread mainserver.cpp:1974
>> (DoDeleteThread) Error deleting file:
>> /media/Recordings/2002_20130912040400.mpg. Keeping metadata in
>> database.
>>
>>
>> That was when was trying to to do forced deletes
>>
>> W
>
> So this is a network drive? If so, please provide some more details
> about it. Is it a SAMBA drive? NFS? What sort of server is the
> drive on? What permissions does the other end allow the mythtv user
> and group? Does its log have any relevant messages?
>
> You might like to try manually deleting one of the recording files
> that fails to delete. Just pick one from the mythbackend log. Log
> in as a user in the mythtv group - the one that runs mythfrontend is
> a good one to pick, as the mythtv user itself is not normally set up
> with the ability to login. Then use the rm command and see if the
> delete works. For example:
>
> rm /media/Recordings/2002_20130912040400.mpg
>
> _______________________________________________ mythtvnz mailing
> list mythtvnz at lists.linuxnut.co.nz
> http://lists.ourshack.com/mailman/listinfo/mythtvnz Archives
> http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
>
--
"As I went walking I saw a sign there And on the sign it said 'No
Trespassing' But on the other side it didn't say nothing, That side
was made for you and me" – Woody
worik.stanton at gmail.com 021-1680650, (03) 4821804
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 555 bytes
Desc: OpenPGP digital signature
URL: <http://lists.ourshack.com/pipermail/mythtvnz/attachments/20130917/321790ff/attachment.pgp>
More information about the mythtvnz
mailing list