dokcer中挂载cephfs到第5个之后就存在的 问题

发布于 2021-11-23 00:34:40 字数 5878 浏览 921 评论 4

@oscfox 你好,想跟你请教个问题:我在dokcer容器里安装了cephfs客户端,然后利用ceph-fuse进行挂载cephfs.当启动到第5个容器的时候(每启动一个容器就挂载了一个cephfs),老是挂载不上去,报错如下:

2015-04-22 07:20:44.813799 7f872fab37c0 -1 did not load config file, using default settings.
ceph-fuse[8]: starting ceph client
2015-04-22 07:20:44.825061 7f872fab37c0 -1 init, newargv = 0x32f0390 newargc=11
msg/Pipe.cc: In function 'int Pipe::connect()' thread 7f87247f8700 time 2015-04-22 07:20:53.715003
msg/Pipe.cc: 1125: FAILED assert(m)
 ceph version 0.87.1 (283c2e7cfa2457799f534744d7d549f83ea1335e)
 1: (ceph::__ceph_assert_fail(char const*, char const*, int, char const*)+0x8b) [0x6dad6b]
 2: (Pipe::connect()+0x37f7) [0x7f29d7]
 3: (Pipe::writer()+0x4d1) [0x7f3e41]
 4: (Pipe::Writer::entry()+0xd) [0x7f781d]
 5: (()+0x8182) [0x7f872f23a182]
 6: (clone()+0x6d) [0x7f872ddc700d]
 NOTE: a copy of the executable, or `objdump -rdS <executable>` is needed to interpret this.
2015-04-22 07:20:53.728331 7f87247f8700 -1 msg/Pipe.cc: In function 'int Pipe::connect()' thread 7f87247f8700 time 2015-04-22 07:20:53.715003
msg/Pipe.cc: 1125: FAILED assert(m)

 ceph version 0.87.1 (283c2e7cfa2457799f534744d7d549f83ea1335e)
 1: (ceph::__ceph_assert_fail(char const*, char const*, int, char const*)+0x8b) [0x6dad6b]
 2: (Pipe::connect()+0x37f7) [0x7f29d7]
 3: (Pipe::writer()+0x4d1) [0x7f3e41]
 4: (Pipe::Writer::entry()+0xd) [0x7f781d]
 5: (()+0x8182) [0x7f872f23a182]
 6: (clone()+0x6d) [0x7f872ddc700d]
 NOTE: a copy of the executable, or `objdump -rdS <executable>` is needed to interpret this.

  -608> 2015-04-22 07:20:44.813799 7f872fab37c0 -1 did not load config file, using default settings.
  -597> 2015-04-22 07:20:44.825061 7f872fab37c0 -1 init, newargv = 0x32f0390 newargc=11
     0> 2015-04-22 07:20:53.728331 7f87247f8700 -1 msg/Pipe.cc: In function 'int Pipe::connect()' thread 7f87247f8700 time 2015-04-22 07:20:53.715003
msg/Pipe.cc: 1125: FAILED assert(m)

 ceph version 0.87.1 (283c2e7cfa2457799f534744d7d549f83ea1335e)
 1: (ceph::__ceph_assert_fail(char const*, char const*, int, char const*)+0x8b) [0x6dad6b]
 2: (Pipe::connect()+0x37f7) [0x7f29d7]
 3: (Pipe::writer()+0x4d1) [0x7f3e41]
 4: (Pipe::Writer::entry()+0xd) [0x7f781d]
 5: (()+0x8182) [0x7f872f23a182]
 6: (clone()+0x6d) [0x7f872ddc700d]
 NOTE: a copy of the executable, or `objdump -rdS <executable>` is needed to interpret this.

terminate called after throwing an instance of 'ceph::FailedAssertion'
*** Caught signal (Aborted) **
 in thread 7f87247f8700
 ceph version 0.87.1 (283c2e7cfa2457799f534744d7d549f83ea1335e)
 1: /usr/bin/ceph-fuse() [0x5f4e6a]
 2: (()+0x10340) [0x7f872f242340]
 3: (gsignal()+0x39) [0x7f872dd02cc9]
 4: (abort()+0x148) [0x7f872dd060d8]
 5: (__gnu_cxx::__verbose_terminate_handler()+0x155) [0x7f872e60e6b5]
 6: (()+0x5e836) [0x7f872e60c836]
 7: (()+0x5e863) [0x7f872e60c863]
 8: (()+0x5eaa2) [0x7f872e60caa2]
 9: (ceph::__ceph_assert_fail(char const*, char const*, int, char const*)+0x278) [0x6daf58]
 10: (Pipe::connect()+0x37f7) [0x7f29d7]
 11: (Pipe::writer()+0x4d1) [0x7f3e41]
 12: (Pipe::Writer::entry()+0xd) [0x7f781d]
 13: (()+0x8182) [0x7f872f23a182]
 14: (clone()+0x6d) [0x7f872ddc700d]
2015-04-22 07:20:53.740884 7f87247f8700 -1 *** Caught signal (Aborted) **
 in thread 7f87247f8700

 ceph version 0.87.1 (283c2e7cfa2457799f534744d7d549f83ea1335e)
 1: /usr/bin/ceph-fuse() [0x5f4e6a]
 2: (()+0x10340) [0x7f872f242340]
 3: (gsignal()+0x39) [0x7f872dd02cc9]
 4: (abort()+0x148) [0x7f872dd060d8]
 5: (__gnu_cxx::__verbose_terminate_handler()+0x155) [0x7f872e60e6b5]
 6: (()+0x5e836) [0x7f872e60c836]
 7: (()+0x5e863) [0x7f872e60c863]
 8: (()+0x5eaa2) [0x7f872e60caa2]
 9: (ceph::__ceph_assert_fail(char const*, char const*, int, char const*)+0x278) [0x6daf58]
 10: (Pipe::connect()+0x37f7) [0x7f29d7]
 11: (Pipe::writer()+0x4d1) [0x7f3e41]
 12: (Pipe::Writer::entry()+0xd) [0x7f781d]
 13: (()+0x8182) [0x7f872f23a182]
 14: (clone()+0x6d) [0x7f872ddc700d]
 NOTE: a copy of the executable, or `objdump -rdS <executable>` is needed to interpret this.

     0> 2015-04-22 07:20:53.740884 7f87247f8700 -1 *** Caught signal (Aborted) **
 in thread 7f87247f8700

 ceph version 0.87.1 (283c2e7cfa2457799f534744d7d549f83ea1335e)
 1: /usr/bin/ceph-fuse() [0x5f4e6a]
 2: (()+0x10340) [0x7f872f242340]
 3: (gsignal()+0x39) [0x7f872dd02cc9]
 4: (abort()+0x148) [0x7f872dd060d8]
 5: (__gnu_cxx::__verbose_terminate_handler()+0x155) [0x7f872e60e6b5]
 6: (()+0x5e836) [0x7f872e60c836]
 7: (()+0x5e863) [0x7f872e60c863]
 8: (()+0x5eaa2) [0x7f872e60caa2]
 9: (ceph::__ceph_assert_fail(char const*, char const*, int, char const*)+0x278) [0x6daf58]
 10: (Pipe::connect()+0x37f7) [0x7f29d7]
 11: (Pipe::writer()+0x4d1) [0x7f3e41]
 12: (Pipe::Writer::entry()+0xd) [0x7f781d]
 13: (()+0x8182) [0x7f872f23a182]
 14: (clone()+0x6d) [0x7f872ddc700d]
 NOTE: a copy of the executable, or `objdump -rdS <executable>` is needed to interpret this.

ceph-fuse[6]: mount failed: (33) Numerical argument out of domain

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

奈何桥上唱咆哮 2021-11-29 17:35:46

引用来自“oscfox”的评论

到第五个才挂载不上?容器里的ceph.conf 和密钥 都没问题吗?

眼眸里的那抹悲凉 2021-11-29 17:03:43

cephfs应该不会限制多重挂载才是,可以查一下文档看看是否有配置的参数。这个问题我没遇到过,抱歉帮不上忙了

清晨说ぺ晚安 2021-11-29 09:44:39

引用来自“oscfox”的评论

到第五个才挂载不上?容器里的ceph.conf 和密钥 都没问题吗?

半世蒼涼 2021-11-26 12:17:24

到第五个才挂载不上?容器里的ceph.conf 和密钥 都没问题吗?

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文