Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Users

Mysql problems

 

 

MythTV users RSS feed   Index | Next | Previous | View Threaded


chris at czar

Aug 4, 2012, 6:43 PM

Post #1 of 3 (345 views)
Permalink
Mysql problems

Morning everyone,

I have a problem that I'm after advise. Short version, one HD died,
caused problems, now removed, corrupted DB. Running myth_optimize_db
rapidy fills the harddisk to 100% and stops. It looks like logging.MYD
and logging.TMD now fill the disk. Total size for mythconverg is 5.3G.
Is this correct and what can I do?

Thanks
Chris
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


mtdean at thirdcontact

Aug 4, 2012, 8:57 PM

Post #2 of 3 (335 views)
Permalink
Re: Mysql problems [In reply to]

On 08/04/2012 09:43 PM, Chris Nicholls wrote:
> Morning everyone,
>
> I have a problem that I'm after advise. Short version, one HD died,
> caused problems, now removed, corrupted DB. Running myth_optimize_db
> rapidy fills the harddisk to 100% and stops. It looks like logging.MYD
> and logging.TMD now fill the disk. Total size for mythconverg is 5.3G.
> Is this correct and what can I do?

A TMD file is a temporary MySQL data file that's used when rebuilding
indices or repairing tables. It sounds like (and makes sense that) your
logging table was corrupted, so it's trying to repair it, but you don't
have enough space for it to complete the repair.

As a workaround, try:

mysql -umythtv -p mythconverg -e 'TRUNCATE TABLE logging;'

and if it completes successfully, delete any orphaned TMD file, then
re-try the repair.

Mike
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


chris at czar

Aug 4, 2012, 9:18 PM

Post #3 of 3 (335 views)
Permalink
Re: Mysql problems [In reply to]

On 5/08/2012 1:57 PM, Michael T. Dean wrote:
> On 08/04/2012 09:43 PM, Chris Nicholls wrote:
>> Morning everyone,
>>
>> I have a problem that I'm after advise. Short version, one HD died,
>> caused problems, now removed, corrupted DB. Running myth_optimize_db
>> rapidy fills the harddisk to 100% and stops. It looks like
>> logging.MYD and logging.TMD now fill the disk. Total size for
>> mythconverg is 5.3G. Is this correct and what can I do?
>
> A TMD file is a temporary MySQL data file that's used when rebuilding
> indices or repairing tables. It sounds like (and makes sense that)
> your logging table was corrupted, so it's trying to repair it, but you
> don't have enough space for it to complete the repair.
>
> As a workaround, try:
>
> mysql -umythtv -p mythconverg -e 'TRUNCATE TABLE logging;'
>
> and if it completes successfully, delete any orphaned TMD file, then
> re-try the repair.
>
> Mike
> _______________________________________________
> mythtv-users mailing list
> mythtv-users [at] mythtv
> http://www.mythtv.org/mailman/listinfo/mythtv-users
Mike,
Thankyou work a treat, first time.

Thanks
Chris
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users

MythTV users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.