博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
MySQL服务器异常关闭,重启后,无法启动----因为磁盘空间满
阅读量:7114 次
发布时间:2019-06-28

本文共 2912 字,大约阅读时间需要 9 分钟。

记一次测试环境MySQL无法启动的案例。


欢迎转载,请注明作者、出处。

作者:张正
blog:http://space.itpub.net/26355921 
QQ:176036317
如有疑问,欢迎联系。

问题描述:MySQL服务器重启后,数据库实例无法启动,日志信息如下:
InnoDB: Transaction 91AE18A was in the XA prepar140805 13:51:18 mysqld_safe mysqld from pid file /data/mysql6015/mysqld.pid ended
140805 13:52:16 mysqld_safe Starting mysqld daemon with databases from /data/mysql6015/data/
140805 13:52:16 InnoDB: The InnoDB memory heap is disabled
140805 13:52:16 InnoDB: Mutexes and rw_locks use GCC atomic builtins
140805 13:52:16 InnoDB: Compressed tables use zlib 1.2.3
140805 13:52:17 InnoDB: Initializing buffer pool, size = 1.0G
140805 13:52:18 InnoDB: Completed initialization of buffer pool
140805 13:52:18 InnoDB: highest supported file format is Barracuda.
InnoDB: The log sequence number in ibdata files does not match
InnoDB: the log sequence number in the ib_logfiles!
140805 13:52:18  InnoDB: Database was not shut down normally!
InnoDB: Starting crash recovery.
InnoDB: Reading tablespace information from the .ibd files...
InnoDB: Restoring possible half-written data pages from the doublewrite
InnoDB: buffer...
InnoDB: Transaction 91ABFEE was in the XA prepared state.
InnoDB: Transaction 91B0DD3 was in the XA prepared state.
InnoDB: Transaction 91ABFF1 was in the XA prepared state.
InnoDB: Transaction 91ACADF was in the XA prepared state.
InnoDB: Transaction 91AC56B was in the XA prepared state.
InnoDB: Transaction 91AC175 was in the XA prepared state.
InnoDB: Transaction 91AE2B4 was in the XA prepared state.
InnoDB: Transaction 91AD1D8 was in the XA prepared state.
InnoDB: Transaction 91AC7ED was in the XA prepared state.
InnoDB: Transaction 91B0D62 was in the XA prepared state.
InnoDB: Transaction 91AC37B was in the XA prepared state.
InnoDB: Transaction 91AF11F was in the XA prepared state.
InnoDB: Transaction 91AC774 was in the XA prepared state.
InnoDB: Transaction 91AE2BE was in the XA prepared state.
InnoDB: Transaction 91AC006 was in the XA prepared state.
InnoDB: Transaction 91ACAF1 was in the XA prepared state.
...............................................................
InnoDB: Transaction 91AE275 was in the XA prepared state.
InnoDB: Transaction 91AD70D was in the XA prepared state.
InnoDB: Transaction 91ACB28 was in the XA prepared state.
InnoDB: Transaction 91AE37D was in the XA prepared state.
InnoDB: Transaction 91AE204 was in the XA prepared state.
InnoDB: Transaction 91AF2E5 was in the XA prepared state.
InnoDB: Transaction 91AD4A2 was in the XA prepared state.
InnoDB: Transaction 91AE18A was in the XA prepar140805 13:53:09 mysqld_safe mysqld from pid file /data/mysql6015/mysqld.pid ended
排查了10分钟之后,看了一下磁盘,才发现磁盘已满:
[root@localhost log]# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda2              40G  6.5G   31G  18% /
tmpfs                 4.9G     0  4.9G   0% /dev/shm
/dev/sda1             504M   58M  421M  13% /boot
/dev/sdb1             197G  187G     0 100% /data
清理掉磁盘空间后,再次启动,OK。
本文转自ITPUB博客84223932的博客,原文链接:,如需转载请自行联系原博主。
你可能感兴趣的文章
Information Storage Management 认证题库题解系列 题21
查看>>
ExtJs3.3升级4.2
查看>>
列表上下滚动效果JS示例
查看>>
如何设计一门语言(一)——什么是坑(a)
查看>>
输入样例NYOJ 514 数字 1的个数
查看>>
博客属性10个非常不错的CSS技巧
查看>>
Windows 剪贴板的预定义格式
查看>>
Android网络类型判断(2g、3g、wifi)
查看>>
Jquery.KinSlideshow图片滚动
查看>>
实现多个jetty实例开机后自动启动
查看>>
hdu 4160(最小路径覆盖)
查看>>
从WindowsXP到Mac OS
查看>>
POJ 2253 Frogger (求每条路径中最大值的最小值,Dijkstra变形)
查看>>
linux网络编程之System V 信号量(三):基于生产者-消费者模型实现先进先出的共享内存段...
查看>>
Spring Data JPA教程, 第七部分: Pagination(未翻译)
查看>>
Mnesia基本用法
查看>>
VS2012下基于Glut OpenGL glEdgeFlag示例程序:
查看>>
【电子基础】单片机定时器实用方法总结
查看>>
设置tableViewCell背景颜色
查看>>
urses.ascii.ispunct(ch):
查看>>