Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- When upstart starts it, you get this log /var/log/ceph/ceph-osd.0.log
- 2013-10-03 17:28:30.382047 7f5f721bb780 0 ceph version 0.67.3 (408cd61584c72c0d97b774b3d8f95c6b1b06341a), process ceph-osd, pid 1754
- 2013-10-03 17:28:30.475139 7f5f721bb780 0 filestore(/var/lib/ceph/osd/ceph-0) limited size xattrs -- filestore_xattr_use_omap already enabled
- 2013-10-03 17:28:30.524026 7f5f721bb780 0 filestore(/var/lib/ceph/osd/ceph-0) mount FIEMAP ioctl is supported and appears to work
- 2013-10-03 17:28:30.524088 7f5f721bb780 0 filestore(/var/lib/ceph/osd/ceph-0) mount FIEMAP ioctl is disabled via 'filestore fiemap' config option
- 2013-10-03 17:28:30.524240 7f5f721bb780 0 filestore(/var/lib/ceph/osd/ceph-0) mount did NOT detect btrfs
- 2013-10-03 17:28:30.609967 7f5f721bb780 0 filestore(/var/lib/ceph/osd/ceph-0) mount syncfs(2) syscall fully supported (by glibc and kernel)
- 2013-10-03 17:28:30.610170 7f5f721bb780 0 filestore(/var/lib/ceph/osd/ceph-0) mount found snaps <>
- 2013-10-03 17:28:30.661234 7f5f721bb780 0 filestore(/var/lib/ceph/osd/ceph-0) mount: enabling WRITEAHEAD journal mode: btrfs not detected
- 2013-10-03 17:28:30.661581 7f5f721bb780 -1 journal FileJournal::_open: disabling aio for non-block journal. Use journal_force_aio to force use of aio anyway
- 2013-10-03 17:28:30.661912 7f5f721bb780 1 journal _open /var/lib/ceph/osd/ceph-0/journal fd 20: 1073741824 bytes, block size 4096 bytes, directio = 1, aio = 0
- 2013-10-03 17:28:30.662167 7f5f721bb780 1 journal _open /var/lib/ceph/osd/ceph-0/journal fd 20: 1073741824 bytes, block size 4096 bytes, directio = 1, aio = 0
- 2013-10-03 17:28:30.673300 7f5f721bb780 1 journal close /var/lib/ceph/osd/ceph-0/journal
- 2013-10-03 17:28:30.804510 7f5f721bb780 0 filestore(/var/lib/ceph/osd/ceph-0) limited size xattrs -- filestore_xattr_use_omap already enabled
- 2013-10-03 17:28:30.852570 7f5f721bb780 0 filestore(/var/lib/ceph/osd/ceph-0) mount FIEMAP ioctl is supported and appears to work
- 2013-10-03 17:28:30.852613 7f5f721bb780 0 filestore(/var/lib/ceph/osd/ceph-0) mount FIEMAP ioctl is disabled via 'filestore fiemap' config option
- 2013-10-03 17:28:30.852781 7f5f721bb780 0 filestore(/var/lib/ceph/osd/ceph-0) mount did NOT detect btrfs
- 2013-10-03 17:28:30.968813 7f5f721bb780 0 filestore(/var/lib/ceph/osd/ceph-0) mount syncfs(2) syscall fully supported (by glibc and kernel)
- 2013-10-03 17:28:30.969024 7f5f721bb780 0 filestore(/var/lib/ceph/osd/ceph-0) mount found snaps <>
- 2013-10-03 17:28:31.024217 7f5f721bb780 0 filestore(/var/lib/ceph/osd/ceph-0) mount: enabling WRITEAHEAD journal mode: btrfs not detected
- 2013-10-03 17:28:31.024457 7f5f721bb780 -1 journal FileJournal::_open: disabling aio for non-block journal. Use journal_force_aio to force use of aio anyway
- 2013-10-03 17:28:31.024498 7f5f721bb780 1 journal _open /var/lib/ceph/osd/ceph-0/journal fd 20: 1073741824 bytes, block size 4096 bytes, directio = 1, aio = 0
- 2013-10-03 17:28:31.024707 7f5f721bb780 1 journal _open /var/lib/ceph/osd/ceph-0/journal fd 20: 1073741824 bytes, block size 4096 bytes, directio = 1, aio = 0
- 2013-10-03 17:28:31.108396 7f5f721bb780 1 journal close /var/lib/ceph/osd/ceph-0/journal
- 2013-10-03 17:28:31.109821 7f5f721bb780 -1 ESC[0;31m ** ERROR: osd init failed: (1) Operation not permittedESC[0m
- When started manually, you get this instead:
- ceph@ceph1-test:~$ sudo ceph-osd --cluster=ceph -i 0 -d --debug_ms 2222
- 2013-10-03 17:57:28.127852 7f95da00e780 0 ceph version 0.67.3 (408cd61584c72c0d97b774b3d8f95c6b1b06341a), process ceph-osd, pid 2092starting osd.0 at :/0 osd_data /var/lib/ceph/osd/ceph-0 /var/lib/ceph/osd/ceph-0/journal
- 2013-10-03 17:57:28.128516 7f95da00e780 10 -- :/0 rank.bind :/0
- 2013-10-03 17:57:28.128549 7f95da00e780 10 accepter.accepter.bind
- 2013-10-03 17:57:28.128571 7f95da00e780 10 accepter.accepter.bind bound on random port 0.0.0.0:6800/0
- 2013-10-03 17:57:28.128586 7f95da00e780 10 accepter.accepter.bind bound to 0.0.0.0:6800/0
- 2013-10-03 17:57:28.128611 7f95da00e780 1 accepter.accepter.bind my_inst.addr is 0.0.0.0:6800/2092 need_addr=1
- 2013-10-03 17:57:28.128620 7f95da00e780 10 -- :/0 rank.bind :/0
- 2013-10-03 17:57:28.128623 7f95da00e780 10 accepter.accepter.bind
- 2013-10-03 17:57:28.128651 7f95da00e780 10 accepter.accepter.bind bound on random port 0.0.0.0:6801/0
- 2013-10-03 17:57:28.128656 7f95da00e780 10 accepter.accepter.bind bound to 0.0.0.0:6801/0
- 2013-10-03 17:57:28.128666 7f95da00e780 1 accepter.accepter.bind my_inst.addr is 0.0.0.0:6801/2092 need_addr=1
- 2013-10-03 17:57:28.128671 7f95da00e780 10 -- :/0 rank.bind :/0
- 2013-10-03 17:57:28.128672 7f95da00e780 10 accepter.accepter.bind
- 2013-10-03 17:57:28.128683 7f95da00e780 10 accepter.accepter.bind bound on random port 0.0.0.0:6802/0
- 2013-10-03 17:57:28.128687 7f95da00e780 10 accepter.accepter.bind bound to 0.0.0.0:6802/0
- 2013-10-03 17:57:28.128706 7f95da00e780 1 accepter.accepter.bind my_inst.addr is 0.0.0.0:6802/2092 need_addr=1
- 2013-10-03 17:57:28.128716 7f95da00e780 10 -- :/0 rank.bind :/0
- 2013-10-03 17:57:28.128721 7f95da00e780 10 accepter.accepter.bind
- 2013-10-03 17:57:28.128747 7f95da00e780 10 accepter.accepter.bind bound on random port 0.0.0.0:6803/0
- 2013-10-03 17:57:28.128757 7f95da00e780 10 accepter.accepter.bind bound to 0.0.0.0:6803/0
- 2013-10-03 17:57:28.128766 7f95da00e780 1 accepter.accepter.bind my_inst.addr is 0.0.0.0:6803/2092 need_addr=1
- 2013-10-03 17:57:28.212487 7f95da00e780 0 filestore(/var/lib/ceph/osd/ceph-0) limited size xattrs -- filestore_xattr_use_omap already enabled
- 2013-10-03 17:57:28.261181 7f95da00e780 0 filestore(/var/lib/ceph/osd/ceph-0) mount FIEMAP ioctl is supported and appears to work
- 2013-10-03 17:57:28.261227 7f95da00e780 0 filestore(/var/lib/ceph/osd/ceph-0) mount FIEMAP ioctl is disabled via 'filestore fiemap' config option
- 2013-10-03 17:57:28.261380 7f95da00e780 0 filestore(/var/lib/ceph/osd/ceph-0) mount did NOT detect btrfs
- 2013-10-03 17:57:28.356959 7f95da00e780 0 filestore(/var/lib/ceph/osd/ceph-0) mount syncfs(2) syscall fully supported (by glibc and kernel)
- 2013-10-03 17:57:28.357137 7f95da00e780 0 filestore(/var/lib/ceph/osd/ceph-0) mount found snaps <>
- 2013-10-03 17:57:28.407546 7f95da00e780 0 filestore(/var/lib/ceph/osd/ceph-0) mount: enabling WRITEAHEAD journal mode: btrfs not detected
- 2013-10-03 17:57:28.407786 7f95da00e780 -1 journal FileJournal::_open: disabling aio for non-block journal. Use journal_force_aio to force use of aio anyway
- 2013-10-03 17:57:28.407812 7f95da00e780 1 journal _open /var/lib/ceph/osd/ceph-0/journal fd 19: 1073741824 bytes, block size 4096 bytes, directio = 1, aio = 0
- 2013-10-03 17:57:28.407947 7f95da00e780 1 journal _open /var/lib/ceph/osd/ceph-0/journal fd 19: 1073741824 bytes, block size 4096 bytes, directio = 1, aio = 0
- 2013-10-03 17:57:28.419053 7f95da00e780 1 journal close /var/lib/ceph/osd/ceph-0/journal
- ceph@ceph1-test:~$ echo $?
- 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement