Advertisement
Guest User

Untitled

a guest
Aug 7th, 2019
460
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.76 KB | None | 0 0
  1. ceph osd erasure-code-profile set cephfs k=5 m=2 crush-failure-domain=host crush-root=hdd crush-device-class=hdd --force
  2. ceph osd pool create cephfs.data 1024 1024 erasure cephfs
  3. ceph osd pool create cephfs.metadata 64 64 replicated ssd
  4. ceph osd pool create cephfs.cache 64 64 replicated ssd
  5.  
  6. ceph osd pool set cephfs.data allow_ec_overwrites true
  7.  
  8. ceph fs new cephfs cephfs.metadata cephfs.data
  9. ceph fs ls
  10.  
  11. ceph osd tier add cephfs.data cephfs.cache
  12. ceph osd tier cache-mode cephfs.cache writeback
  13. ceph osd tier set-overlay cephfs.data cephfs.cache
  14.  
  15. ceph osd pool set cephfs.cache hit_set_type bloom
  16. ceph osd pool set cephfs.cache hit_set_count 12
  17. ceph osd pool set cephfs.cache hit_set_period 14400
  18. ceph osd pool set cephfs.cache target_max_bytes 100000000000
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement