Advertisement
Guest User

Untitled

a guest
Oct 2nd, 2012
26
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.08 KB | None | 0 0
  1. roger@roger-ceph:/etc/ceph$ more ceph.conf
  2. [osd]
  3. osd journal size = 1000
  4. filestore xattr use omap = true
  5.  
  6. # Execute $ hostname to retrieve the name of your host,
  7. # and replace {hostname} with the name of your host.
  8. # For the monitor, replace {ip-address} with the IP
  9. # address of your host.
  10.  
  11. [mon.a]
  12.  
  13. host = roger-ceph
  14. mon addr = 10.1.10.20:6789
  15.  
  16. [osd.0]
  17. host = roger-ceph
  18.  
  19. [osd.1]
  20. host = roger-ceph
  21.  
  22. [mds.a]
  23. host = roger-ceph
  24.  
  25. roger@roger-ceph:/var/lib/ceph/osd$ ls -la
  26. total 16
  27. drwxr-xr-x 4 root root 4096 Oct 2 12:32 .
  28. drwxr-xr-x 6 root root 4096 Oct 2 12:31 ..
  29. drwxr-xr-x 2 root root 4096 Oct 2 12:32 ceph-0
  30. drwxr-xr-x 2 root root 4096 Oct 2 12:32 ceph-1
  31.  
  32. root@roger-ceph:/etc/ceph# mkcephfs -a -c /etc/ceph/ceph.conf -k ceph.keyring
  33. temp dir is /tmp/mkcephfs.dCS0oSukn3
  34. preparing monmap in /tmp/mkcephfs.dCS0oSukn3/monmap
  35. /usr/bin/monmaptool --create --clobber --add a 10.1.10.20:6789 --print /tmp/mkcephfs.dCS0oSukn3/monmap
  36. /usr/bin/monmaptool: monmap file /tmp/mkcephfs.dCS0oSukn3/monmap
  37. /usr/bin/monmaptool: generated fsid 4df0e2b2-3960-4bd8-b224-86f5cd880ff3
  38. epoch 0
  39. fsid 4df0e2b2-3960-4bd8-b224-86f5cd880ff3
  40. last_changed 2012-10-02 12:53:42.567799
  41. created 2012-10-02 12:53:42.567799
  42. 0: 10.1.10.20:6789/0 mon.a
  43. /usr/bin/monmaptool: writing epoch 0 to /tmp/mkcephfs.dCS0oSukn3/monmap (1 monitors)
  44. === osd.0 ===
  45. 2012-10-02 12:53:42.614942 7f467f611780 must specify '--osd-data=foo' data path
  46. 2012-10-02 12:53:42.615334 7f467f611780 usage: ceph-osd -i osdid [--osd-data=path] [--osd-journal=path] [--mkfs] [--mkjournal] [--convert-filestore]
  47. 2012-10-02 12:53:42.615724 7f467f611780 --debug_osd N set debug level (e.g. 10)
  48. --conf/-c Read configuration from the given configuration file
  49. -d Run in foreground, log to stderr.
  50. -f Run in foreground, log to usual location.
  51. --id/-i set ID portion of my name
  52. --name/-n set name (TYPE.ID)
  53. --version show version and quit
  54.  
  55. --debug_ms N
  56. set message debug level (e.g. 1)
  57. failed: '/sbin/mkcephfs -d /tmp/mkcephfs.dCS0oSukn3 --init-daemon osd.0'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement