Advertisement
Guest User

Untitled

a guest
Dec 24th, 2012
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.83 KB | None | 0 0
  1. ceph.conf
  2.  
  3. ########### METADATA ###########
  4. [mds]
  5. mds data = /data/$name
  6.  
  7. [mds.a]
  8. host = ceph-mds-1
  9. ########### MONITOR ###########
  10. [mon]
  11. mon data = /data/mon.$id
  12.  
  13. [mon.a]
  14. host = ceph-mon-1
  15. mon addr = 172.17.200.102:6789
  16.  
  17. ########### OSD ###########
  18. [osd]
  19. osd data = /data/$name
  20. osd journal = /home/journal.$id
  21. osd journal size = 4096
  22. public network = 172.17.200.0/24
  23. cluster network = 172.17.243.32/28
  24.  
  25. [osd.0]
  26. host = ceph-osd-7
  27. public addr = 172.17.200.111
  28. cluster addr = 172.17.243.39
  29. [osd.1]
  30. host = ceph-osd-7
  31. public addr = 172.17.200.111
  32. cluster addr = 172.17.243.39
  33. etc.
  34.  
  35. And on the client (wich is 10G), which IP is on 172.17.200.0/24 network :
  36.  
  37. mount -t ceph 172.17.200.102:/ /mnt/cephfs/
  38. dd if=/dev/zero of=/mnt/cephfs/50M bs=4k count=50M ; sync
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement