r/openstack • u/ventura120257 • Feb 16 '25
Question about cinder backend
It's a conceptual question.
When I use LVM backend, the connection to VM running in compute node is iSCSI but using NFS I couldn't create a successful configuration. How cinder assign a volume to a VM running in a remote compute node? I was reading that cinder will create a file to assign as a volume but I don't know how this file will become a block device to the VM in the compute node.
1
Upvotes
View all comments
Show parent comment
2
u/OverjoyedBanana Feb 17 '25
With NFS you provide a list of NFS mount points via nfs_shares = .... Shares must me mountable on the host running cinder volumes and the compute nodes. Each volume is then a file on the nfs share. When a volume is created cinder volume instructs the nova service on how to mount the share and which file to map (through volume attachement info and os-brick).