I started a REPAIR TABLE about 4 days ago:
Query | 351804 | Repair by sorting | REPAIR TABLE
It's used all the space on the disk:
/dev/md0 9.2G 8.8G 0 100% /
and as soon as I delete something the space gets used up quickly. I've now run out of things I can delete. Also, I can't work out where all the space has gone:
dispus v2.4 - Reading usage in /
Ignoring mount points: proc sys home
9,133,044 KB used of 9,621,752 KB available (100%)
1. 1,859,308 KB usr
2. 1,142,836 KB var
3. 274,692 KB lib
4. 35,924 KB root
5. 25,308 KB boot
6. 19,756 KB sbin
7. 18,400 KB lib64
8. 15,936 KB etc
9. 6,732 KB bin
etc
The mysql data dir is on a different partition.
Anyone got any ideas how I can get this REPAIR to complete?
*UPDATE**
lsof | grep deleted
mysqld 20862 mysql 189u REG 9,0 4724886042 81629 /tmp/STqCaElP (deleted)
mysqld 20862 mysql 201u REG 9,0 1107226624 81633 /tmp/STWfcUNu (deleted)
Seems to be the problem. Now to work out what to do. I'm reluctant to KILL the repair query, but may have to...