>>Does it work with virtio-blk if you attach the RBD as a LUN? virtio-blk don't support discard and triming >> Supposedly, SCSI pass-through works in this mode, e.g. SCSI pass-through works only with virtio-scsi, not virtio-blk >>However, it seems that virtio-scsi is slowly becoming preferred over >>virtio-blk. Are there any disadvantages to using virtio-scsi now? It's a little bit slower sometimes. (but I can be faster than virtio-blk with multiqueues and iscsi passtrough). With librbd, I see a little slowdown vs virtio-blk (maybe 20% slower). >>Does it support live migration? yes of course ----- Mail original ----- De: "Daniel Swarbrick" <daniel.swarbrick@xxxxxxxxxxxxxxxx> À: ceph-users@xxxxxxxxxxxxxx Envoyé: Lundi 1 Décembre 2014 13:32:15 Objet: Re: Fastest way to shrink/rewrite rbd image ? On 01/12/14 10:22, Alexandre DERUMIER wrote: > > Yes, it's working fine. > > (you need to use virtio-scsi and enable discard option) > Does it work with virtio-blk if you attach the RBD as a LUN? Supposedly, SCSI pass-through works in this mode, e.g. <disk type='block' device='lun'> <target dev='vda' bus='virtio'/> ... </disk> However, it seems that virtio-scsi is slowly becoming preferred over virtio-blk. Are there any disadvantages to using virtio-scsi now? Does it support live migration? _______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com _______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com