免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2547 | 回复: 1
打印 上一主题 下一主题

[GlusterFS] mongodb 使用glusterfs无法rename数据文件 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2015-02-27 13:00 |只看该作者 |倒序浏览
请教个问题,我是用glusterfs作为mongodb的数据文件的存储,但是在启动的时候报错,如下:

2015-02-25T19:05:30.464+0800 [FileAllocator] Assertion: 13653:error: couldn't rename /gfs/mongodb/data/_tmp/1424862329023160 to /gfs/mongodb/data/local.0 errno:16 Device or resource busy
2015-02-25T19:05:30.469+0800 [FileAllocator] 0x11fca91 0x119e889 0x1183436 0x118398c 0x119aaa9 0x1241429 0x7fd8750f89d1 0x7fd87449d8fd
mongod(_ZN5mongo15printStackTraceERSo+0x21) [0x11fca91]
mongod(_ZN5mongo10logContextEPKc+0x159) [0x119e889]
mongod(_ZN5mongo11msgassertedEiPKc+0xe6) [0x1183436]
mongod() [0x118398c]
mongod(_ZN5mongo13FileAllocator3runEPS0_+0x849) [0x119aaa9]
mongod() [0x1241429]
/lib64/libpthread.so.0(+0x79d1) [0x7fd8750f89d1]
/lib64/libc.so.6(clone+0x6d) [0x7fd87449d8fd]
2015-02-25T19:05:30.469+0800 [FileAllocator] error: failed to allocate new file: /gfs/mongodb/data/local.0 size: 67108864 error: couldn't rename /gfs/mongodb/data/_tmp/1424862329023160 to /gfs/mongodb/data/local.0 errno:16 Device or resource busy.  will try again in 10 seconds
2015-02-25T19:05:40.474+0800 [initandlisten] Assertion: 12520:new file allocation failure
2015-02-25T19:05:40.475+0800 [FileAllocator] allocating new datafile /gfs/mongodb/data/local.0, filling with zeroes...
2015-02-25T19:05:40.475+0800 [initandlisten] command local.$cmd command: create { create: "startup_log", size: 10485760, capped: true } ntoreturn:1 keyUpdates:0 numYields:0  reslen:98 11017ms
2015-02-25T19:05:40.478+0800 [initandlisten] exception in initAndListen: 14031 Can't take a write lock while out of disk space, terminating
2015-02-25T19:05:40.479+0800 [initandlisten] dbexit:

大家有碰到的没?或者可以说说解决思路

论坛徽章:
0
2 [报告]
发表于 2015-03-09 13:55 |只看该作者
我是过来结束帖子的,经过很长时间的查找,发现glusterfs3.6.2版本中的条带式,不稳定,所以我更改了卷的类型。改为分布式复制方式,经过这两个case测试,没有出现类似问题
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP