码迷,mamicode.com
首页 > 其他好文 > 详细

启动mfs 提示error occured during initialization - exiting

时间:2014-12-17 19:01:50      阅读:392      评论:0      收藏:0      [点我收藏+]

标签:linux

[root@varnish mfs]# /usr/local/mfs/sbin/mfsmaster restart    启动出现下面错误
working directory: /usr/local/mfs/var/mfs
lockfile created and locked
initializing mfsmaster modules ...
loading sessions ... ok
sessions file has been loaded
exports file has been loaded
mfstopology configuration file (/usr/local/mfs/etc/mfstopology.cfg) not found - using defaults
loading metadata ...
can‘t open metadata file
if this is new instalation then rename /usr/local/mfs/var/mfs/metadata.mfs.empty as /usr/local/mfs/var/mfs/metadata.mfs
init: file system manager failed !!!
error occured during initialization - exiting

解决方法:

[root@varnish mfs]# cd /usr/local/mfs/var/mfs/

[root@varnish mfs]# mv metadata.mfs.empty metadata.mfs

启动成功:

[root@varnish mfs]# /usr/local/mfs/sbin/mfsmaster restart
working directory: /usr/local/mfs/var/mfs
lockfile created and locked
initializing mfsmaster modules ...
loading sessions ... ok
sessions file has been loaded
exports file has been loaded
mfstopology configuration file (/usr/local/mfs/etc/mfstopology.cfg) not found - using defaults
loading metadata ...
create new empty filesystemmetadata file has been loaded
no charts data file - initializing empty charts
master <-> metaloggers module: listen on *:9419
master <-> chunkservers module: listen on *:9420
main master server module: listen on *:9421
mfsmaster daemon initialized properly

启动mfs 提示error occured during initialization - exiting

标签:linux

原文地址:http://vqiao.blog.51cto.com/9368913/1590982

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!