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 <k0...@k0ste.ru> wrote: > 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 was able to change the device class for the Optane drives to > "nvme", and leave the SATA SSDs as "ssd". > > I then created crush rules based on device classes. > > However, what if I don't want to overload device classes to achieve this, > or have more than two models of disks? > > Is there an easy way to assign specific drives of a model/type/capacity to > different pools? > > It's already simple way to do that - device classes. > > It's like 8021q in networks. > > > > k >
_______________________________________________ ceph-users mailing list ceph-users@lists.ceph.com http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com