Le 12/02/2025 à 15:35:53+0000, Marc a écrit
Hi, 

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

It's exactly that. 

> 
> 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>

but I also can mount the disk directly with 

  /etc/ceph/rbdmap

at the boot the disk will appear somewhere in /dev/sd* on the kvm server
and then use it in kvm as a «normal» disk. 

Don't know if they are any difference or just a preference.

Regards.


-- 
Albert SHIH 🦫 🐸
Observatoire de Paris
France
Heure locale/Local time:
mer. 12 févr. 2025 16:47:37 CET
_______________________________________________
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io

Reply via email to