[ceph-users] bluestore db & wal use spdk device how to ?

2019-08-05 Thread Chris Hsiang
Hi All, I have multiple nvme ssd and I wish to use two of them for spdk as bluestore db & wal my assumption would be in ceph.conf under osd.conf put following bluestore_block_db_path = "spdk::01:00.0"bluestore_block_db_size = 40 * 1024 * 1024 * 1024 (40G) Then how to prepare osd? ceph-volu

Re: [ceph-users] ceph plugin balancer error

2018-07-05 Thread Chris Hsiang
I have tried to modify /usr/lib64/ceph/mgr/balancer/module.py replace iteritems () with items(), but I still got following error g1:/usr/lib64/ceph/mgr/balancer # ceph balancer status Error EINVAL: Traceback (most recent call last): File "/usr/lib64/ceph/mgr/balancer/module.py", line 297, in

Re: [ceph-users] ceph plugin balancer error

2018-07-05 Thread Chris Hsiang
weird thing is that, g1:~ # locate /bin/python /usr/bin/python /usr/bin/python2 /usr/bin/python2.7 /usr/bin/python3 /usr/bin/python3.6 /usr/bin/python3.6m g1:~ # ls /usr/bin/python* -al lrwxrwxrwx 1 root root 9 May 13 07:41 /usr/bin/python -> python2.7 lrwxrwxrwx 1 root root 9 May 13 07:4

[ceph-users] ceph plugin balancer error

2018-07-05 Thread Chris Hsiang
Hi, I am running test on ceph mimic 13.0.2.1874+ge31585919b-lp150.1.2 using openSUSE-Leap-15.0 when I ran "ceph balancer status", it errors out. g1:/var/log/ceph # ceph balancer status Error EIO: Module 'balancer' has experienced an error and cannot handle commands: 'dict' object has no attribu