I don't really understand what you mean with libvirt module.

afaik this how you add add disk

    <disk type='network' device='disk'>
      <driver name='qemu' type='raw'/>
      <auth username='xxxxx.xxx'>
        <secret type='ceph' uuid='b924bdbb-5462-4e9d-8b1e-2ad1cbed7f5b'/>
      </auth>
      <source protocol='rbd' name='rbd/aaaaaa>
        <host name='192.168.x.x' port='6789'/>
        <host name='192.168.x.x' port='6789'/>
        <host name='192.168.x.x' port='6789'/>
      </source>
      <target dev='sda' bus='scsi'/>
      <boot order='2'/>
      <alias name='scsi0-0-0-0'/>
      <address type='drive' controller='0' bus='0' target='0' unit='0'/>
    </disk>

> 
> I need to create manually few VM with KVM. I would like to know if they
> are
> any difference between using a libvirt module and kernel module to
> access a
> ceph cluster.
> 
> Regards
> 
> 
> --
> Albert SHIH 🦫 🐸
> Observatoire de Paris
> France
> Heure locale/Local time:
> mer. 12 févr. 2025 16:14:15 CET
> _______________________________________________
> ceph-users mailing list -- ceph-users@ceph.io
> To unsubscribe send an email to ceph-users-le...@ceph.io
_______________________________________________
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io

Reply via email to