偶遇MySQL/Writing file error (Errcode 28)

注意:本文出自 “阿飞”的博客 ,如果要转载本文章,请与作者联系!
并注明来源: http://blog.csdn.net/faye0412/article/details/8817021


今天安装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,接下来就是增容什么的了,问题解决。


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




你可能感兴趣的:(偶遇MySQL/Writing file error (Errcode 28))