Advertisement
Guest User

cosd segfault

a guest
Jan 14th, 2011
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.58 KB | None | 0 0
  1. $ sudo mkcephfs -c /etc/ceph/ceph.conf --allhosts -v -k /etc/ceph/keyring.bin
  2. /usr/bin/cconf -c /etc/ceph/ceph.conf -i 0 -t mon "mon addr" ""
  3. /usr/bin/cconf -c /etc/ceph/ceph.conf -i 1 -t mon "mon addr" ""
  4. /usr/bin/monmaptool --create --clobber --add 0 128.174.246.113:6789 --add 1 128.174.246.112:6789 --print /tmp/monmap.18667
  5. /usr/bin/monmaptool: monmap file /tmp/monmap.18667
  6. /usr/bin/monmaptool: generated fsid 39cc205f-495f-649d-1c71-2ad835e91728
  7. epoch 1
  8. fsid 39cc205f-495f-649d-1c71-2ad835e91728
  9. last_changed 2011-01-14 15:27:52.671360
  10. created 2011-01-14 15:27:52.671360
  11. 0: 128.174.246.113:6789/0 mon.0
  12. 1: 128.174.246.112:6789/0 mon.1
  13. /usr/bin/monmaptool: writing epoch 1 to /tmp/monmap.18667 (2 monitors)
  14. max osd in /etc/ceph/ceph.conf is 1, num osd is 2
  15. /usr/bin/osdmaptool: osdmap file '/tmp/osdmap.18667'
  16. /usr/bin/osdmaptool: writing epoch 1 to /tmp/osdmap.18667
  17. /usr/bin/cconf -c /etc/ceph/ceph.conf -i 1 -t mon "crush map src" ""
  18. /usr/bin/cconf -c /etc/ceph/ceph.conf -i 1 -t mon "crush map" ""
  19. Building admin keyring at /etc/ceph/keyring.bin
  20. creating /etc/ceph/keyring.bin
  21. Building monitor keyring with all service keys
  22. creating /tmp/monkeyring.18667
  23. importing contents of /etc/ceph/keyring.bin into /tmp/monkeyring.18667
  24. creating /tmp/keyring.mds.0
  25. importing contents of /tmp/keyring.mds.0 into /tmp/monkeyring.18667
  26. creating /tmp/keyring.mds.1
  27. importing contents of /tmp/keyring.mds.1 into /tmp/monkeyring.18667
  28. creating /tmp/keyring.osd.0
  29. importing contents of /tmp/keyring.osd.0 into /tmp/monkeyring.18667
  30. creating /tmp/keyring.osd.1
  31. importing contents of /tmp/keyring.osd.1 into /tmp/monkeyring.18667
  32. /usr/bin/cconf -c /etc/ceph/ceph.conf -i 0 -t mon "user" ""
  33. === mon.0 ===
  34. /usr/bin/cconf -c /etc/ceph/ceph.conf -i 0 -t mon "mon data" ""
  35. --- poise# /usr/bin/cmon -c /etc/ceph/ceph.conf --mkfs -i 0 --monmap /tmp/monmap.18667 --osdmap /tmp/osdmap.18667 -k /tmp/keyring.18667 ; rm -f /tmp/keyring.18667
  36. ** WARNING: Ceph is still under heavy development, and is only suitable for **
  37. ** testing and review. Do not trust it with important data. **
  38. /usr/bin/cmon: created monfs at /cephdata/mon0 for mon.0
  39. `/etc/ceph/keyring.bin' -> `/cephdata/mon0/admin_keyring.bin'
  40. /usr/bin/cconf -c /etc/ceph/ceph.conf -i 1 -t mon "user" ""
  41. /usr/bin/cconf -c /etc/ceph/ceph.conf -i 1 -t mon "ssh path" "/expand/home/phil"
  42. === mon.1 ===
  43. /usr/bin/cconf -c /etc/ceph/ceph.conf -i 1 -t mon "mon data" ""
  44. --- ssh tact "cd /expand/home/phil ; ulimit -c unlimited ; /usr/bin/cmon -c /etc/ceph/ceph.conf --mkfs -i 1 --monmap /tmp/monmap.18667 --osdmap /tmp/osdmap.18667 -k /tmp/keyring.18667 ; rm -f /tmp/keyring.18667"
  45. bash: /usr/bin/cmon: No such file or directory
  46. scp: /cephdata/mon1/admin_keyring.bin: No such file or directory
  47. /usr/bin/cconf -c /etc/ceph/ceph.conf -i 0 -t mds "user" ""
  48. === mds.0 ===
  49. /usr/bin/cconf -c /etc/ceph/ceph.conf -i 0 -t mds "keyring" ""
  50. WARNING: no keyring specified for mds0
  51. /usr/bin/cconf -c /etc/ceph/ceph.conf -i 1 -t mds "user" ""
  52. /usr/bin/cconf -c /etc/ceph/ceph.conf -i 1 -t mds "ssh path" "/expand/home/phil"
  53. === mds.1 ===
  54. /usr/bin/cconf -c /etc/ceph/ceph.conf -i 1 -t mds "keyring" ""
  55. WARNING: no keyring specified for mds1
  56. /usr/bin/cconf -c /etc/ceph/ceph.conf -i 0 -t osd "user" ""
  57. === osd.0 ===
  58. /usr/bin/cconf -c /etc/ceph/ceph.conf -i 0 -t osd "osd data" ""
  59. /usr/bin/cconf -c /etc/ceph/ceph.conf -i 0 -t osd "osd journal" ""
  60. /usr/bin/cconf -c /etc/ceph/ceph.conf -i 0 -t osd "keyring" ""
  61. /usr/bin/cconf -c /etc/ceph/ceph.conf -i 0 -t osd "btrfs path" "/cephdata/osd0"
  62. /usr/bin/cconf -c /etc/ceph/ceph.conf -i 0 -t osd "btrfs devs" ""
  63. /usr/bin/cconf -c /etc/ceph/ceph.conf -i 0 -t osd "btrfs options" "noatime"
  64. --- poise# test -d /cephdata/osd0 || mkdir -p /cephdata/osd0
  65. --- poise# /usr/bin/cosd -c /etc/ceph/ceph.conf --monmap /tmp/monmap.18667 -i 0 --mkfs --osd-data /cephdata/osd0
  66. ** WARNING: Ceph is still under heavy development, and is only suitable for **
  67. ** testing and review. Do not trust it with important data. **
  68. ** WARNING: 'filestore btrfs snap' is enabled (for safe transactions,
  69. rollback), but btrfs does not support the SNAP_CREATE_V2 ioctl
  70. (added in Linux 2.6.37). Expect slow btrfs sync/commit
  71. performance.
  72. ** WARNING: No osd journal is configured: write latency may be high.
  73. If you will not be using an osd journal, write latency may be
  74. relatively high. It can be reduced somewhat by lowering
  75. filestore_max_sync_interval, but lower values mean lower write
  76. throughput, especially with spinning disks.
  77. Segmentation fault (core dumped)
  78. failed: '/usr/bin/cosd -c /etc/ceph/ceph.conf --monmap /tmp/monmap.18667 -i 0 --mkfs --osd-data /cephdata/osd0'
  79.  
  80.  
  81. $ sudo gdb /usr/bin/cosd
  82. GNU gdb (GDB) 7.1-ubuntu
  83. Copyright (C) 2010 Free Software Foundation, Inc.
  84. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
  85. This is free software: you are free to change and redistribute it.
  86. There is NO WARRANTY, to the extent permitted by law. Type "show copying"
  87. and "show warranty" for details.
  88. This GDB was configured as "x86_64-linux-gnu".
  89. For bug reporting instructions, please see:
  90. <http://www.gnu.org/software/gdb/bugs/>...
  91. Reading symbols from /usr/bin/cosd...Reading symbols from /usr/lib/debug/usr/bin/cosd...done.
  92. done.
  93. (gdb) r -c /etc/ceph/ceph.conf --monmap /tmp/monmap.18667 -i 0 --mkfs --osd-data /cephdata/osd0
  94. Starting program: /usr/bin/cosd -c /etc/ceph/ceph.conf --monmap /tmp/monmap.18667 -i 0 --mkfs --osd-data /cephdata/osd0
  95. [Thread debugging using libthread_db enabled]
  96. ** WARNING: Ceph is still under heavy development, and is only suitable for **
  97. ** testing and review. Do not trust it with important data. **
  98. [New Thread 0x7ffff632b700 (LWP 18888)]
  99. [Thread 0x7ffff632b700 (LWP 18888) exited]
  100. ** WARNING: 'filestore btrfs snap' is enabled (for safe transactions,
  101. rollback), but btrfs does not support the SNAP_CREATE_V2 ioctl
  102. (added in Linux 2.6.37). Expect slow btrfs sync/commit
  103. performance.
  104. ** WARNING: No osd journal is configured: write latency may be high.
  105. If you will not be using an osd journal, write latency may be
  106. relatively high. It can be reduced somewhat by lowering
  107. filestore_max_sync_interval, but lower values mean lower write
  108. throughput, especially with spinning disks.
  109. [New Thread 0x7ffff632b700 (LWP 18889)]
  110. [New Thread 0x7ffff5b2a700 (LWP 18890)]
  111. [New Thread 0x7ffff5329700 (LWP 18891)]
  112. [New Thread 0x7ffff4b28700 (LWP 18892)]
  113. [New Thread 0x7ffff4327700 (LWP 18893)]
  114. [New Thread 0x7ffff3b26700 (LWP 18894)]
  115. [New Thread 0x7ffff3325700 (LWP 18895)]
  116. [Thread 0x7ffff4327700 (LWP 18893) exited]
  117.  
  118. Program received signal SIGSEGV, Segmentation fault.
  119. [Switching to Thread 0x7ffff5b2a700 (LWP 18890)]
  120. 0x00000000005801cf in JournalingObjectStore::commit_start (this=0xb0c200) at os/JournalingObjectStore.cc:197
  121. 197 os/JournalingObjectStore.cc: No such file or directory.
  122. in os/JournalingObjectStore.cc
  123. (gdb) bt
  124. #0 0x00000000005801cf in JournalingObjectStore::commit_start (this=0xb0c200) at os/JournalingObjectStore.cc:197
  125. #1 0x00000000005725bf in FileStore::sync_entry (this=0xb0c200) at os/FileStore.cc:2281
  126. #2 0x000000000050795d in FileStore::SyncThread::entry() ()
  127. #3 0x000000000047953a in Thread::_entry_func (arg=0x0) at ./common/Thread.h:39
  128. #4 0x00007ffff79c29ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
  129. #5 0x00007ffff661470d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
  130. #6 0x0000000000000000 in ?? ()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement