[PVE-User] Shared same rbd disk on 2 Vms

Hervé Ballans herve.ballans at ias.u-psud.fr
Wed Jul 3 14:20:09 CEST 2019


Le 02/07/2019 à 15:50, Tobias Kropf a écrit :
> With any Network connection between the vms ... you can use DRBD on top of the rbd volumes?

Thanks Tobias for your reply.

 From what I understood in the past on drbd, it requires 2 disks to be 
synchronized between them (sort of network RAID 1 ?). Now I want exactly 
the opposite, a single disk that I can use on 2 machines...

rv

>
> On 7/2/19 3:26 PM, Hervé Ballans wrote:
>> Thanks for your reply Eneko. Indeed, it makes sense that ext4 is not
>> suitable fot this purpose.
>> I think NFS is a good alternative!
>>
>> Cheers,
>> Hervé
>>
>> Le 02/07/2019 à 14:46, Eneko Lacunza a écrit :
>>> You need a cluster file system to be able to do this (gfs for
>>> example). ext4 can't be mounted by two systems at the same time.
>>>
>>> https://en.wikipedia.org/wiki/GFS2
>>>
>>> Maybe you can consider using NFS instead...
>>>
>>> Cheers
>>>
>>> El 2/7/19 a las 14:43, Hervé Ballans escribió:
>>>> Dear list,
>>>>
>>>> Sorry if the question has already been asked...
>>>>
>>>> Context: ProxmoxVE 5.4-6 / Ceph Luminous 12.2.12
>>>>
>>>> On a Debian VM, I have two disks : a rbd system disk and an
>>>> additional rbd data disk. Both disks are formated on ext4.
>>>>
>>>> I would like to know if I can use the data disk on another VM (with
>>>> rw rights) ?
>>>>
>>>> I'm pretty sure that Ceph RBD is compliant with this scenario but I
>>>> have a doubt with the usage of ext4 partition ?
>>>>
>>>> Thanks in advance for your feedback,
>>>>
>>>> Hervé





More information about the pve-user mailing list