[mythtv-users] Recordings stay in database and on disk for some time after delete?

John Drescher drescherjm at gmail.com
Thu Feb 25 19:46:25 UTC 2010


On Thu, Feb 25, 2010 at 2:41 PM, Tom Dexter <digitalaudiorock at gmail.com> wrote:
> On Thu, Feb 25, 2010 at 1:41 PM, John Drescher <drescherjm at gmail.com> wrote:
>> On Thu, Feb 25, 2010 at 1:21 PM, Tom Dexter <digitalaudiorock at gmail.com> wrote:
>>> On Thu, Feb 25, 2010 at 12:37 PM, Greg Oliver <oliver.greg at gmail.com> wrote:
>>>> On Thu, Feb 25, 2010 at 11:33 AM, John Drescher <drescherjm at gmail.com> wrote:
>>>>> I have not used ext3 for my recordings for at least 4 years so I have
>>>>> not had to use the slow deletes option. Since sometime in 2008 I had
>>>>> begun moving my recordings from xfs to ext4 and now the datastorage
>>>>> that I use daily is all ext4. I do not have any problems with ext4 and
>>>>> it does not need the slow delete option.
>>>>
>>>> Hmmm, does that mean on a low power machine, turning off slow deletes
>>>> on a disk with ext4 does not send the disk IO bound?  I have not dared
>>>> try it, but it would be nice!
>>>
>>> I was thinking the same thing, but here's something that I'm a little
>>> concerned with:
>>>
>>> I was just reading the Gentoo wiki about converting ext3 to ext4 where
>>> the suggest unmounting the filesystem and doing:
>>>
>>> tune2fs -O extents,uninit_bg,dir_index /dev/device
>>> ...and...
>>> fsck -pf /dev/device
>>> ...to make sure everything's ok.  However, they also mention this:
>>> "Note: Using this method, new files will be created using the
>>> "extents" method, but old files will not be automatically converted"
>>>
>>> If I understand correctly, the exents feature is what makes deletes
>>> fast, so that tells me that deleting my older recordings would still
>>> be a problem.
>>>
>>> I've yet to read anything about actually converting existing files to extents.
>>>
>>> Anyone know more about any of that?
>>>
>>
>> I am not sure. I did not convert. I just created new filesystems and
>> moved my files between my storage groups.
>>
>> John
>
> Ahh...are you saying you created new empty file systems and moved the
> recordings there?  If so, that would in fact create the files with
> extents.
>
Yes. That is what I did.

I actually added a new 2TB drive and created ext4 filesystems (I
divided the disk in 3 parts) on that new volume and added these to my
storage groups and moved my files with

rsync -ax --remove-source-files   sourcepath destpath

John


More information about the mythtv-users mailing list