专栏首页磨磨谈Ceph用户邮件列表Vol45-Issue3

Ceph用户邮件列表Vol45-Issue3

ceph Vol 45 Issue 3

1.Crash in ceph_readdir.

Hello, I’ve been investigating the following crash with cephfs: ··· According to the state of the ceph_inoide_info this means that ceph_dir_is_complete_ordered would return true and the second condition should also be true since ptr_pos is held in r12 and the dir size is 26496. So the dentry being passed should be the 2953 % 512 = 393 in the cache_ctl.dentries array. Unfortunately my crashdump excldues the page cache pages and I cannot really see what are the contents of the dentries array.

Could you provide any info on how to further debug this

作者在使用cephfs的时候遇上了崩溃的情况,readdir的操作

Yan, Zheng已经对这个bug进行了修复

https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=af5e5eb574776cdf1b756a27cc437bff257e22fe https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=a3d714c33632ef6bfdfaacc74ae6ba297b4c5820

但是这个是提交到Linux kernel的4.6的分支里面去了的,所以目前从官方版本来说是4.6或者更新的版本才会解决

这个问题只能是说遇到了再升级内核了

2.Can’t activate OSD

Hello all, Over the past few weeks I’ve been trying to go through the Quick Ceph Deploy tutorial at: ceph-deploy osd activate ceph02:/dev/sdc ceph03:/dev/sdc part. It never actually seems to activate the OSD and eventually times out: [ceph03][INFO ] Running command: sudo /usr/sbin/ceph-disk -v activate —mark-init systemd —mount /dev/sdc [ceph03][WARNIN] main_activate: path = /dev/sdc [ceph03][WARNIN] No data was received after 300 seconds, disconnecting…

作者在部署osd的时候出现无法激活osd的问题,最后在别人的帮助下发现了问题,在交换机上创建了 VLAN ,但没允许jumbo packets,所以出现了问题

另外一个人也出现了类似的问题,通过升级了parted解决问题(from 3.1 from the CentOS7 base)

rpm -Uhv ftp://195.220.108.108/linux/fedora/linux/updates/22/x86_64/p/parted-3.2-16.fc22.x86_64.rpm

这个一般没什么问题,确实定位到这里再升级了,一般情况下很少出现不能activate osd的情况

本文分享自微信公众号 - 磨磨谈(momotan1987),作者:张鹏

原文出处及转载信息见文内详细说明,如有侵权,请联系 yunjia_community@tencent.com 删除。

原始发表时间:2016-11-11

本文参与腾讯云自媒体分享计划,欢迎正在阅读的你也加入,一起分享。

我来说两句

0 条评论
登录 后参与评论

相关文章

  • Ceph用户邮件列表Vol45-Issue1

    这个问题是作者一个集群中(ceph 0.94.5)出现了一个磁盘损坏以后造成了一些对象的丢失,然后在做了一定的处理以后,集群状态已经正常了,但是还是新的请求会出...

    用户2772802
  • yum安装Ceph指定Jewel版本

    通过yum安装指定的rpm包,这个一般是 yum --showduplicates list ceph | expand,然后去通过yum安装指定的版本即可,这...

    用户2772802
  • Cephfs的快照功能

    Cephfs的快照功能在官网都很少提及,因为即使开发了很多年,但是由于cephfs的复杂性,功能一直没能达到稳定,这里,只是介绍一下这个功能,怎么使用,并且建议...

    用户2772802
  • 【CodeForces 602C】H - Approximating a Constant Range(dijk)

    In Absurdistan, there are n towns (numbered 1 through n) and m bidirectional rai...

    饶文津
  • IOS5开发-控件位置适应屏幕旋转代码

    - (void)willRotateToInterfaceOrientation:(UIInterfaceOrientation)toOrientation  ...

    阿新
  • Playrix Codescapes Cup (Codeforces Round #413, rated, Div. 1 + Div. 2)(A.暴力,B.优先队列,C.dp乱搞)

    A. Carrot Cakes time limit per test:1 second memory limit per test:256 megabytes...

    Angel_Kitty
  • POJ 2188 Cow Laundry

    Cow Laundry Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 1376 Ac...

    风骨散人Chiam
  • 机器人控制器编程课程-教案02-基础

    版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。

    zhangrelay
  • CodeForces 157A Game Outcome

    A. Game Outcome time limit per test 2 seconds memory limit per test 256 me...

    ShenduCC
  • 【神器】vimum在浏览器中键盘操作选择、复制、粘贴,键盘党的最爱

    阿炬

扫码关注云+社区

领取腾讯云代金券