map rbd to multi vm

tim taler

New Member
Mar 8, 2018
17
0
1
20
Hi all,
how can I map one ceph rbd to a bunch of different VMs in proxmox.
I would need a shared storage and would like to use ocfs2 for that, once I got the rbd mapped.
cephfs from the proxmox host is not an option, neither is glusterfs between the vms nor drbd.
TIA!
 

dietmar

Proxmox Staff Member
Staff member
Apr 28, 2005
16,502
320
83
Austria
www.proxmox.com
Simply use the same disk config for the other VM (you need to edit the VM config manually).
 

dietmar

Proxmox Staff Member
Staff member
Apr 28, 2005
16,502
320
83
Austria
www.proxmox.com
There is one thing you should be aware of: Each disk is "owned" by a single VM (the vmid is in the disk name). So If you delete the owner VM, the disk will be removed.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE and Proxmox Mail Gateway. We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get your own in 60 seconds.

Buy now!