Advertisement
Guest User

Untitled

a guest
Jun 17th, 2019
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.39 KB | None | 0 0
  1. sr05@SR05-1:~$ dd if=/dev/zero of=file.txt count=1048576 bs=1024
  2. 1048576+0 records in
  3. 1048576+0 records out
  4. 1073741824 bytes (1.1 GB, 1.0 GiB) copied, 3.67193 s, 292 MB/s
  5. sr05@SR05-1:~$ ls
  6. ceph-deploy-ceph.log file.txt my-cluster
  7. sr05@SR05-1:~$ sudo ceph -s
  8. cluster:
  9. id: 407124ce-2e7c-45c0-878a-b93116505e1a
  10. health: HEALTH_OK
  11.  
  12. services:
  13. mon: 3 daemons, quorum SR05-1,SR05-2,SR05-3
  14. mgr: SR05-3(active)
  15. mds: inoki-cephfs-1/1/1 up {0=SR05-1=up:active}, 1 up:standby
  16. osd: 3 osds: 3 up, 3 in
  17. rgw: 1 daemon active
  18.  
  19. data:
  20. pools: 6 pools, 36 pgs
  21. objects: 243 objects, 118 KiB
  22. usage: 3.0 GiB used, 197 GiB / 200 GiB avail
  23. pgs: 36 active+clean
  24.  
  25. sr05@SR05-1:~$ cp file.txt /mnt/
  26. ceph/ mycephfs/
  27. sr05@SR05-1:~$ cp file.txt /mnt/mycephfs/
  28. cp: cannot create regular file '/mnt/mycephfs/file.txt': Permission denied
  29. sr05@SR05-1:~$ sudo cp file.txt /mnt/mycephfs/
  30. sr05@SR05-1:~$ sudo ceph -s
  31. cluster:
  32. id: 407124ce-2e7c-45c0-878a-b93116505e1a
  33. health: HEALTH_OK
  34.  
  35. services:
  36. mon: 3 daemons, quorum SR05-1,SR05-2,SR05-3
  37. mgr: SR05-3(active)
  38. mds: inoki-cephfs-1/1/1 up {0=SR05-1=up:active}, 1 up:standby
  39. osd: 3 osds: 3 up, 3 in
  40. rgw: 1 daemon active
  41.  
  42. data:
  43. pools: 6 pools, 36 pgs
  44. objects: 466 objects, 892 MiB
  45. usage: 5.6 GiB used, 194 GiB / 200 GiB avail
  46. pgs: 36 active+clean
  47.  
  48. io:
  49. client: 74 MiB/s wr, 0 op/s rd, 23 op/s wr
  50.  
  51. sr05@SR05-1:~$ sudo ceph -s
  52. cluster:
  53. id: 407124ce-2e7c-45c0-878a-b93116505e1a
  54. health: HEALTH_OK
  55.  
  56. services:
  57. mon: 3 daemons, quorum SR05-1,SR05-2,SR05-3
  58. mgr: SR05-3(active)
  59. mds: inoki-cephfs-1/1/1 up {0=SR05-1=up:active}, 1 up:standby
  60. osd: 3 osds: 3 up, 3 in
  61. rgw: 1 daemon active
  62.  
  63. data:
  64. pools: 6 pools, 36 pgs
  65. objects: 499 objects, 1.0 GiB
  66. usage: 6.0 GiB used, 194 GiB / 200 GiB avail
  67. pgs: 36 active+clean
  68.  
  69. io:
  70. client: 255 B/s wr, 0 op/s rd, 0 op/s wr
  71.  
  72. sr05@SR05-1:~$ sudo ceph -s
  73. cluster:
  74. id: 407124ce-2e7c-45c0-878a-b93116505e1a
  75. health: HEALTH_OK
  76.  
  77. services:
  78. mon: 3 daemons, quorum SR05-1,SR05-2,SR05-3
  79. mgr: SR05-3(active)
  80. mds: inoki-cephfs-1/1/1 up {0=SR05-1=up:active}, 1 up:standby
  81. osd: 3 osds: 3 up, 3 in
  82. rgw: 1 daemon active
  83.  
  84. data:
  85. pools: 6 pools, 36 pgs
  86. objects: 499 objects, 1.0 GiB
  87. usage: 6.0 GiB used, 194 GiB / 200 GiB avail
  88. pgs: 36 active+clean
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement