[mythtv] [mythtv-commits] mythtv commit: r23435 - in trunk/mythtv by mdean

Michael T. Dean mtdean at thirdcontact.com
Tue Feb 2 16:38:45 UTC 2010


On 02/02/2010 09:13 AM, Daniel Kristjansson wrote:
> On Tue, 2010-02-02 at 08:45 +0000, Simon Kenyon wrote:
>> i was wondering if slowly deleting a file was a good idea?
>>
>> i'm thinking of the situation of another recording being in progress?
>> depending on the file system being used, the end result could be a lot 
>> of disk fragmentation
>>     
> The way to avoid that is to set the reserved size to a larger value. By
> default it is 1GB, but if you want to use ext3 or another file system
> which requires slow deletes you should set it at 20-30 GB. XFS is still
> the best choice for MythTV media storage as it is fast, doesn't require
> slow deletes and has an online defragmenter you can run nightly. VFS
> is still good, and when properly configured, so is ext4.
>   

Or don't enable the setting you have to set to cause slow deletes:

Delete files slowly
Some filesystems use a lot of resources when deleting large recording
files.  This option makes Myth delete the file slowly on this backend to
lessen the impact.

which is disabled by default.

Mike


More information about the mythtv-dev mailing list