corrupt innodb database
am 02.08.2011 00:06:49 von supr_star--0-25225918-1312236409=:55266
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
I'm not sure if this is the correct way to post, my apologies if it's not..=
=A0 Anyway, I have a zabbix system on a mysql database where the ibdata1 f=
ile grew to 93GB and filled up the disk. =A0Restarting mysql results in:=0A=
=0A/etc/init.d/mysql: ERROR: The partition with /var/lib/mysql is too full!=
=0AThis db is on its own partition, so I can't delete logs or anythin=
g else to clear up space. =A0So I moved=A0ib_logfile0 and=A0ib_logfile1 to =
/tmp to clear 10 megs, and restart. =A0mysql started but everything is out =
of sync now. =A0ERROR 1033 (HY000): Incorrect information in file: './zabbi=
x/users.frm' and similar for any tables I try to desc, select, etc.
I =
put
=0A[mysqld]=0Ainnodb_force_recovery =3D 4
and tried every num=
ber from 1-8 in /etc/mysql/my.cnf. =A0I just took this job and there is no =
backup of this database. =A0Any command I issue in mysql results in:
E=
RROR 1033 (HY000): Incorrect information in file: './zabbix/users.frm'=0A=
=0Afor any table in zabbix.
mysql> repair table users;=0A+------------=
--+--------+----------+------------------------------------- ---------------=
-+=0A| Table =A0 =A0 =A0 =A0| Op =A0 =A0 | Msg_type | Msg_text =A0 =A0 =A0 =
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=
|=0A+--------------+--------+----------+-------------------- ---------------=
------------------+=0A| zabbix.users | repair | Error =A0 =A0| Incorrect in=
formation in file: './zabbix/users.frm' |=0A| zabbix.users | repair | error=
=A0 =A0| Corrupt =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 |=0A+--------------+--------+----------+---=
--------------------------------------------------+=0A2 rows in set (0.01 s=
ec)
mysql>
Is this 'game over' or can this data be recovered in a=
ny way?
Thanks,
--0-25225918-1312236409=:55266--