Re: [ceph-users] How to create multiple Ceph pools, based on drive type/size/model etc?

2019-09-11 Thread Konstantin Shalygin
Right - but what is you have two types of NVMe drives? I thought that there's only a fixed enum of device classes - hdd, ssd, or nvme. You can't add your own ones, right? Indeed you can: `ceph osd crush set-device-class nvme2 osd.0`. k ___

Re: [ceph-users] How to create multiple Ceph pools, based on drive type/size/model etc?

2019-09-11 Thread Konstantin Shalygin
Right - but what is you have two types of NVMe drives? I thought that there's only a fixed enum of device classes - hdd, ssd, or nvme. You can't add your own ones, right? Indeed you can: `ceph set-device-class nvme2 osd.0`. k ___ ceph-users

Re: [ceph-users] How to create multiple Ceph pools, based on drive type/size/model etc?

2019-09-11 Thread Victor Hooi
Hi, Right - but what is you have two types of NVMe drives? I thought that there's only a fixed enum of device classes - hdd, ssd, or nvme. You can't add your own ones, right? Thanks, Victor On Thu, Sep 12, 2019 at 12:54 PM Konstantin Shalygin wrote: > I have a 3-node Ceph cluster, with a

Re: [ceph-users] How to create multiple Ceph pools, based on drive type/size/model etc?

2019-09-11 Thread Konstantin Shalygin
I have a 3-node Ceph cluster, with a mixture of Intel Optane 905P PCIe disks, and normal SATA SSD drives. I want to create two Ceph pools, one with only the Optane disks, and the other with only the SATA SSDs. When I checked "ceph osd tree", all the drives had device class "ssd". As a hack - I

[ceph-users] How to create multiple Ceph pools, based on drive type/size/model etc?

2019-09-11 Thread Victor Hooi
Hi, I have a 3-node Ceph cluster, with a mixture of Intel Optane 905P PCIe disks, and normal SATA SSD drives. I want to create two Ceph pools, one with only the Optane disks, and the other with only the SATA SSDs. When I checked "ceph osd tree", all the drives had device class "ssd". As a hack