Quantcast
Channel: CSDN博客推荐文章
Viewing all articles
Browse latest Browse all 35570

偶遇MySQL/Writing file error (Errcode 28)

$
0
0

注意:本文出自 “阿飞”的博客 ,如果要转载本文章,请与作者联系!


今天安装verboice时偶遇MySQL/Writing file error (Errcode 28),详细异常信息如下:

[root@bogon verboice]# rake db:schema:load RAILS_ENV=production
-- create_table("accounts", {:force=>true})
rake aborted!
Mysql2::Error: Error writing file './verboice/accounts.frm' (Errcode: 28): CREATE TABLE `accounts` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `email` varchar(255) DEFAULT '' NOT NULL, `encrypted_password` varchar(128) DEFAULT '' NOT NULL, `reset_password_token` varchar(255), `remember_token` varchar(255), `remember_created_at` datetime, `sign_in_count` int(11) DEFAULT 0, `current_sign_in_at` datetime, `last_sign_in_at` datetime, `current_sign_in_ip` varchar(255), `last_sign_in_ip` varchar(255), `password_salt` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL, `confirmation_token` varchar(255), `confirmed_at` datetime, `confirmation_sent_at` datetime) ENGINE=InnoDB

Tasks: TOP => db:schema:load
(See full trace by running task with --trace)

异常:Mysql2::Error: Error writing file './verboice/accounts.frm' (Errcode: 28)

看到Errcode: 28,我查了一下:

# perror 28
OS error code  28:  No space left on device


看日志就很清楚了,磁盘空间不足。ok,接下来就是增容什么的了,问题解决。


在此记下过程,以便于其他遇到同样问题的人有所帮助。




作者:faye0412 发表于2013-4-18 8:41:43 原文链接
阅读:41 评论:0 查看评论

Viewing all articles
Browse latest Browse all 35570

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>